Support » Plugin: WordPress Follow Buttons Plugin – AddThis » Script errors when debug set to true

  • Hi there. I am running latest version of WordPress with the latest version of the Enfold theme. Just when I upgraded, I set the WP debug to ‘true’ and noticed a whole bunch of php errors peaking through:

    Notice: get_bloginfo was called with an argument that is deprecated since version 2.2.0! The siteurl option is deprecated for the family of bloginfo() functions. Use the url option instead. in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-includes/functions.php on line 4021 Notice: Undefined variable: toolObject in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Trying to get property of non-object in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Undefined variable: toolObject in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Trying to get property of non-object in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Undefined variable: toolObject in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Trying to get property of non-object in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Undefined variable: toolObject in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Trying to get property of non-object in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Undefined variable: toolObject in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Trying to get property of non-object in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Undefined variable: toolObject in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Trying to get property of non-object in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Undefined variable: toolObject in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Trying to get property of non-object in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Undefined variable: toolObject in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Trying to get property of non-object in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Undefined variable: toolObject in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Trying to get property of non-object in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Undefined variable: toolObject in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Trying to get property of non-object in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Undefined variable: toolObject in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Trying to get property of non-object in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Undefined variable: toolObject in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433 Notice: Trying to get property of non-object in /DATA/www/ausidentities.com.au/httpdocs/testing/wp-content/plugins/addthis-follow/backend/AddThisPlugin.php on line 1433

    Much of the code is repeated, but you should get the picture. Doesn’t appear to be any ‘showstoppers’ in there but thought I would let the developers know about it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same here, this has been for quite a while now. I doubt they even test the plugin with debug enabled…

    Elvis Morales

    (@elvismdev)

    Same here, seems this is lingering for a while already being reported in several tickets. It seems to only show up when WP_DEBUG is TRUE and when you are in a brand new post type edit backend page. It does not shows up when you edit an existing post item.

    CC @addthis_matt @jgrodel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Script errors when debug set to true’ is closed to new replies.