Title: Script errors when debug set to true
Last modified: March 19, 2017

---

# Script errors when debug set to true

 *  [rarcher30](https://wordpress.org/support/users/rarcher30/)
 * (@rarcher30)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/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)

 *  [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/script-errors-when-debug-set-to-true/#post-9269265)
 * Same here, this has been for quite a while now. I doubt they even test the plugin
   with debug enabled…
 *  [Elvis Morales](https://wordpress.org/support/users/elvismdev/)
 * (@elvismdev)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/script-errors-when-debug-set-to-true/#post-9695811)
 * 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](https://wordpress.org/support/users/addthis_matt/) [@jgrodel](https://wordpress.org/support/users/jgrodel/)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Script errors when debug set to true’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/addthis-follow_1ecaab.svg)
 * [WordPress Follow Buttons Plugin – AddThis](https://wordpress.org/plugins/addthis-follow/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/addthis-follow/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/addthis-follow/)
 * [Active Topics](https://wordpress.org/support/plugin/addthis-follow/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/addthis-follow/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/addthis-follow/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 2 replies
 * 3 participants
 * Last reply from: [Elvis Morales](https://wordpress.org/support/users/elvismdev/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/script-errors-when-debug-set-to-true/#post-9695811)
 * Status: not resolved