WordPress.org

Support

Support » Plugins and Hacks » post.php error on shop page

post.php error on shop page

  • Stacy (non coder)
    Participant

    @functionmunchkin

    “Illegal offset type in isset or empty line 1097. ” This page is not showing the grid but a list.

    1092-1103

    * @return object A post type object
             */
    function get_post_type_object( $post_type ) {
    	global $wp_post_types;
    
    	if ( empty($wp_post_types[$post_type]) )
    		return null;
    
    	return $wp_post_types[$post_type];
    }
    
    /**

    https://wordpress.org/plugins/woocommerce/

  • The topic ‘post.php error on shop page’ is closed to new replies.