Notice: Trying to get property 'post_type' of non-object in /app/wp-content/plugins/ivah-gallery/ivah-gallery.php on line 50