PHP8 fixes
-
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 10About
function the_champ_prepare_sharing_htmlThe 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_htmlrequiredCan you provide an update? thanks
The topic ‘PHP8 fixes’ is closed to new replies.