• Hi, after installing FB Page Publish i’ve an error when i quick edit a post. No problem if i edit a post in “standard” mode, but if a do something in quick edit mode i have this error:

    Warning: Illegal offset type in isset or empty in …/wp-includes/post.php on line 1097

    All changes are correctly saved but this error is displayed in the post list.

    Any idea about solving it?

    Thanks

    https://www.ads-software.com/extend/plugins/facebook-page-publish/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m also getting this error. Does anybody have any thoughts on what it might be?

    Warning: Illegal offset type in isset or empty in /var/sites/h/<DOMAIN>/public_html/wp-includes/post.php on line 1097

    It only happens during quick edit.

    The net result of this is that the TR in the table listing posts breaks down, and all content is in a single cell, along with the error above, repeated TWICE.

    Latest version of WP installed.

    Thoughts anybody?

    This is the function on line 1097:

    /**
    * Retrieve a post type object by name
    *
    * @package WordPress
    * @subpackage Post
    * @since 3.0.0
    * @uses $wp_post_types
    * @see register_post_type
    * @see get_post_types
    *
    * @param string $post_type The name of a registered post type
    * @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];
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘error on line 1097 when saving from QUICK EDIT’ is closed to new replies.