• There are errors relative to PHP 8.0

    Required parameter $displayCount follows optional parameter $sharingType in /var/www/html/wp-content/plugins/super-socializer/inc/social_sharing.php on line 10

    About function the_champ_prepare_sharing_html

    The signature is

    function the_champ_prepare_sharing_html($postUrl, $shareCountUrl, $sharingType = 'horizontal', $displayCount, $totalShares, $shareCountTransientId, $standardWidget = false)

    There is no calls of it wihout 3rd paramter so it can be painless fixed to

    function the_champ_prepare_sharing_html($postUrl, $shareCountUrl, $sharingType, $displayCount, $totalShares, $shareCountTransientId, $standardWidget = false)

    Or

    function the_champ_prepare_sharing_html($postUrl, $shareCountUrl, $sharingType, $displayCount, $totalShares, $shareCountTransientId, $standardWidget = false){
     $sharingType = $sharingType || 'horizontal';
     // ... other
    }

    The same fix at function the_champ_prepare_counter_html required

    Can you provide an update? thanks

    • This topic was modified 1 month, 3 weeks ago by azrieil.
    • This topic was modified 1 month, 3 weeks ago by azrieil.
    • This topic was modified 1 month, 3 weeks ago by azrieil.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.