"Trying to get property of non-object"
-
Hi,
From time to time I get this PHP Notice in the error log:
[STDERR] PHP Notice: Trying to get property of non-object in /public_html/wp-content/plugins/advanced-post-slider/advanced-post-slider.php on line 248
Line 248 is: $current = $post->ID;
I’m running PHP version 5.6 on LiteSpeed server.
Can I ignore it or is it really causing error for some users viewing my site?
- The topic ‘"Trying to get property of non-object"’ is closed to new replies.