• Hi,

    got this error, when trying to access the Plugins page or the Pages overview:

    Fatal error: Call to a member function get_translatable_documents() on a non-object in /PATH/TO/WP/wp-content/plugins/cms-tree-page-view/functions.php on line 811

    if (defined("ICL_SITEPRESS_VERSION")) {
    
    		$wpml_post_types = $sitepress->get_translatable_documents();
    		if (array_key_exists($post_type, $wpml_post_types)) {
    			$wmpl_active_for_post = TRUE;
    			$wpml_current_lang = $sitepress->get_current_language();
    		}
    
    	}

    Quite easy to trace: You should enhance the way how to check for WPML. We do have WPML activated in the whole Multi Site Installation, but disabled it on several sites. This is one of the sites without WPML support.
    I guess your check for the defined version might foul you here. Because the Sitepress Object is not there on this site.

    Brgds

    Jan

    http://wordpress.org/plugins/admin-menu-tree-page-view/

  • The topic ‘Fatal Error with WPML installed in Network Mode but disabled on site’ is closed to new replies.