It took me a quick minute, but I finally found that this error was being generated by the NewsMag theme itself. I’ve disabled all of my plugins (didn’t work), cleared MySQL cache (didn’t work), reset Apache & MySQL (didn’t work)… then, I changed my theme to a default WordPress theme… WORKED!
Anyone else seeing/having this error pop up in their error logs? Anyone know how to fix it?
[03-Aug-2018 20:11:48 UTC] PHP Notice: Trying to get property ‘slug’ of non-object in > /public_html/blog/wp-includes/taxonomy.php on line 3994
[03-Aug-2018 20:11:50 UTC] PHP Notice: Trying to get property ‘slug’ of non-object in > /public_html/blog/wp-includes/taxonomy.php on line 3994
[03-Aug-2018 20:11:50 UTC] PHP Notice: Trying to get property ‘slug’ of non-object in > /public_html/blog/wp-includes/taxonomy.php on line 3994
[03-Aug-2018 20:11:52 UTC] PHP Notice: Trying to get property ‘slug’ of non-object in > /public_html/blog/wp-includes/taxonomy.php on line 3994
[03-Aug-2018 20:11:53 UTC] PHP Notice: Trying to get property ‘slug’ of non-object in > /public_html/blog/wp-includes/taxonomy.php on line 3994
[03-Aug-2018 20:11:54 UTC] PHP Notice: Trying to get property ‘slug’ of non-object in > /public_html/blog/wp-includes/taxonomy.php on line 3994
[03-Aug-2018 20:11:57 UTC] PHP Notice: Trying to get property ‘slug’ of non-object in > /public_html/blog/wp-includes/taxonomy.php on line 3994
[03-Aug-2018 20:11:59 UTC] PHP Notice: Trying to get property ‘slug’ of non-object in > /public_html/blog/wp-includes/taxonomy.php on line 3994
[03-Aug-2018 20:12:00 UTC] PHP Notice: Trying to get property ‘slug’ of non-object in > /public_html/blog/wp-includes/taxonomy.php on line 3994
[03-Aug-2018 20:12:02 UTC] PHP Notice: Trying to get property ‘slug’ of non-object in > /public_html/blog/wp-includes/taxonomy.php on line 3994
Hi,
All those notices seem to refer to a WordPress file, did you make any modifications to that file maybe? Are there any actual problems or only these notices?
Do you use any custom post types and taxonomies?
These might not cause any real problems, check if Wp-debug is set to false
– https://forum.tagdiv.com/newsmag-requirements-for-newsmag/
yeah, i agree that it references a WordPress file… but, the only way that I can make it go away is by disabling NewsMag theme.
I’ve disabled all plugins & changed to parent theme. The only way I can make it stop is by changing to a different theme all together. After submitting to some forums, the thought was a conflict in the NewsMag theme & a WordPress file. …thus, why I posted in this forum, looking for some help 🙂
-
This reply was modified 8 years by
splaquet.
Hello splaquet,
If the problem is still there and if you need more assistance in this case, please send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can take a closer look at it. Please disable all of the untested plugins before sending us an email, because this is the first step for WordPress debugging, make a full back up to your database. Also, provide there the link of this conversation so we can quickly identify you.
Thanks for the message!