Trying to get property of non-object
-
I am getting the following php error log message. Any assistance would be appreciated. Thanks in advance.
“[28-Jun-2016 14:10:27 UTC] PHP Notice: Trying to get property of non-object in /home/xx/public_html/sd/xx.com/wp-content/plugins/email-encoder-bundle/includes/class-eeb-site.php on line 177”
public function callback_filter($content) { global $post; if (isset($post) && in_array($post->ID, $this->skip_posts)) { //line 177 return $content; } return $this->encode_email_filter($content, true, $this->options['encode_mailtos'], $this->options['encode_emails'], $this->options['encode_fields']); }
- The topic ‘Trying to get property of non-object’ is closed to new replies.