Hello, I have the following errors showing up on my staging site with WordPress 3.6 and WP Socializer 220.127.116.11. Other than for the error notifications, the floating bar appears to be working as expected.
The following error is displayed on the front end multiple times at the top and at the bottom of all the the site pages.
Notice: Undefined index: mobmode in /home/sfbagsco/public_html/wp-content/plugins/wp-socializer/includes/wpsr-floatingbar.php on line 28
Line 28 of wpsr-floatingbar.php:
$mobmode = ($wpsr_floatbts['mobmode'] == 1) ? ' data-mobmode="0" ' : ' data-mobmode="1" ';
The following error is displayed on the front end at the bottom of all the the site pages.
Notice: Undefined variable: socialbt_processed in /home/sfbagsco/public_html/wp-content/plugins/wp-socializer/includes/wpsr-socialbuttons.php on line 361
Line 361 of wpsr-socialbuttons.php:
Code in context:
case '32px': $socialbt_processed .= wpsr_socialbts_processlist(array( 'pUrl' => $url, 'pTitle' => $title, 'pExcerpt' => $excerpt, 'btType' => 'image', 'pixel' => '32px', 'services' => $services, 'sprites' => $sprites, 'label' => $label, 'target' => $target, 'nofollow' => $nofollow, 'imgpath' => $imgpath32px, 'after' => '', 'before' => '', 'params' => 'class="wp-socializer-single"', )); break;
Update: Disabling and re-enabling the floating sharebar (via the Disable the floating sharebar checkbox) appears to have removed the “Undefined index: mobmode” errors but the “Undefined variable” error remains.
Thanks for the notification. Those are just warnings due to some undefined variables. This is shown when your site is in debug mode.
Disable debug mode by adding
to your wp-config.php file //http://codex.wordpress.org/Debugging_in_WordPress
I’ll fix this issue in the next version.
This issue is addressed and fixed in the upcoming version 18.104.22.168
- The topic ‘Error notifications on site pages with WP Socializer’ is closed to new replies.