We are having an issue (in b10) where numerous user content/pages are no longer being displayed anywhere except the Control Panel content listing. It appears like a problem with the vsite_taxonomy module because the following error is being logged when attempting to load the "missing" pages:
"PHP Fatal error: Call to a member function get_url() on a non-object in WEB_ROOT/sites/all/modules/openscholar_vsite/vsite_taxonomy/vsite_taxonomy.module on line 1100, referer: http://WEBSERVER/USER/cp/content"
It seems to happen regardless of whether tags are entered or not. Does this error seem like something unique to this installation or an issue with the module? I tried to upgrade from b10 to b11, but that failed for an error in update.php. (http://groups.drupal.org/node/162709) Any suggestions on where to look or how to resolve this would be greatly appreciated; thank you.
Comments
in case its of use to anyone
in case its of use to anyone else, further testing on the line in /sites/all/modules/openscholar_vsite/vsite_taxonomy/vsite_taxonomy.module where the PHP fatal error was occurring:
$cache = views_get_view($s_view)->get_url();
showed that pages that were crashing had a value of 'a' for the value of the $s_view variable. Not sure why this might be, but encapsulating this line with:
if ($s_view !== 'a') {
$cache = views_get_view($s_view)->get_url();
}
seems to solve the problem so far. All of the pages that were not loading (b/c of the PHP fatal error) now load fine.