Resolved: WordPress Notice: Trying to get property ‘ID’ of non-object

Solution: Disable the debug in WordPress config file (wp-config.php) as follows define(‘WP_DEBUG’, false);

Add Comment