WordPress.org

Ready to get started?Download WordPress

Forums

WP Document Revisions
Search Documents error (1 post)

  1. L O Lawson
    Member
    Posted 1 year ago #

    Using the search documents feature generates the following error:

    Warning: Illegal offset type in isset or empty in /home/XXX/public_html/wp-includes/post.php on line 840

    (the if empty conditional in the function below)

    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];
    }

    Any ideas on the fix?

    http://wordpress.org/extend/plugins/wp-document-revisions/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.