Hi
We installed Newspaper as a new theme on our site http://scarypuppysillykitty.com a few weeks ago. We LOVE how it looks and (generally) how it performs. Last weekend the site crashed after being floodede with errors. Once we got it back and turned on the debug log we noticed some recurring errors that we think are coming from the theme (see below). They recur over and over again. Any insight or advice on how to resolve them would be most welcome.
The first error below from: “cluster-10670/scarypuppysill/wp-includes/functions.php on line 3391 repeats on its own over and over”
The second few from “wp-includes/capabilities.php” recur as a sequence 1197, 1198 and 1201 and then the repeat.
[09-Jun-2015 06:34:06 UTC] PHP Notice: sanitize_url is deprecated since version 2.8! Use esc_url_raw() instead. in /nas/wp/www/cluster-10670/scarypuppysill/wp-includes/functions.php on line 3391
[09-Jun-2015 16:42:10 UTC] PHP Notice: Trying to get property of non-object in /nas/wp/www/cluster-10670/scarypuppysill/wp-includes/capabilities.php on line 1197
[09-Jun-2015 16:42:10 UTC] PHP Notice: Trying to get property of non-object in /nas/wp/www/cluster-10670/scarypuppysill/wp-includes/capabilities.php on line 1198
[09-Jun-2015 16:42:10 UTC] PHP Notice: Trying to get property of non-object in /nas/wp/www/cluster-10670/scarypuppysill/wp-includes/capabilities.php on line 1201
[09
Hi,
We don’t use this function sanitize_url in theme’s code, I have asked the developer about this. Maybe you use an old plugin that use this function and that’s why you get these errors.
Thanks!
Hi-
It is possible that its one of our plugins. Did the developer have any thoughts?
Happy to provide a list of the plugins employed to see if one of them has a known conflict before we start the laborious process of testing which one it might be.
Thanks!
Kim
Likely best to simply deactivate plugins except for VC, then check for errors in log as you turn each plugin back on.
You could also use a text application to scan your plugin folder on local PC/Mac to find that function in the text of the offending plugin.
Another way to debug — look for any plugin not updated in 2015, or since WP 4.2 came out.
Thanks for the additional ideas, we will check on the update status of the plugins and then start testing if that doesn’t reveal an obvious plugin or two.