Error Notice: Trying to get property of non-object

I’m not too familiar with PHP and am hoping to get help here.

I’m getting this notice from WordPress:
Trying to get property of non-object in /data/12/1/22/27/1185516/user/1260778/htdocs/wordpress2018/wp-content/plugins/elementor/modules/history/revisions-manager.php on line 71

From the revisions-manager.php file, lines 69-76:
// Add a temporary string in order the $post will not be equal to the $autosave
// in edit-form-advanced.php:210
if ( Plugin::$instance->db->is_built_with_elementor( $post->ID ) ) {
$post_content .= ”;
}

return $post_content;
}

Would hugely appreciate any guidance on how to fix this!

Read more here:: Error Notice: Trying to get property of non-object

Leave a Reply

Your email address will not be published. Required fields are marked *