Fatal – site now dead
-
Hi,
After 2.5 wks of development on a new site, I was implementing the Global Translator plugin, had adjusted the display to my liking in the sidebar using a dropdown rather than flags, and proceeded to test it.
That’s when the stuff hit the circulating cooling device…
The Error:
Fatal error: Call to a member function get() on a non-object in /hermes/web02/b967/moo.durranilawfirm/wp/wp-includes/query.php on line 27The Backtrace:
#0 get_query_var(cat) called at [/wp/wp-includes/general-template.php:415]
#1 wp_title() called at [/wp/wp-content/plugins/global-translator/header.php:7]
#2 require_once(/wp/wp-content/plugins/global-translator/header.php) called at [/wp/wp-content/plugins/global-translator/translator.php:283]
#3 include_once(/wp/wp-content/plugins/global-translator/translator.php) called at [/wp/wp-settings.php:552]
#4 require_once(/wp/wp-settings.php) called at [/wp/wp-config.php:78]
#5 require_once(/wp/wp-config.php) called at [/wp/wp-load.php:30]
#6 require_once(/wp/wp-load.php) called at [/wp/wp-blog-header.php:11]
#7 require(/wp/wp-blog-header.php) called at [/wp/index.php:17]WP Version:
2.9My Plugins:
adsense-now
akismet
feedburner-plugin
frontpage-manager
global-translator
google-xml-sitemaps-with-qtranslate-support
role-manager
rss-icon-widget
shadowbox-js
wp-db-backup
wp-google-analytics
wp-pagenavi
wp-super-cache
wpaudio-mp3-playerInserting a conditional into the following code in wp-settings to bypass loading of the translator plugin resulted in an identical fatal when the loop hit super-cache. Bypassing super-cache in a similar way did not eliminate the error.
$current_plugins = get_option('active_plugins'); if ( is_array($current_plugins) && !defined('WP_INSTALLING') ) { foreach ( $current_plugins as $plugin ) { // check the $plugin filename // Validate plugin filename if ( validate_file($plugin) // $plugin must validate as file || '.php' != substr($plugin, -4) // $plugin must end with '.php' || !file_exists(WP_PLUGIN_DIR . '/' . $plugin) // $plugin must exist ) continue; include_once(WP_PLUGIN_DIR . '/' . $plugin); } unset($plugin); } unset($current_plugins);Likewise, commenting out the call to get_query_var(cat) resulted in the same error, as did commenting out all other calls to get_query_var() within that block (in wp-includes/general-template):
function wp_title($sep = '»', $display = true, $seplocation = '') { global $wpdb, $wp_locale, $wp_query; $cat = get_query_var('cat'); $tag = get_query_var('tag_id'); $category_name = get_query_var('category_name'); $author = get_query_var('author'); $author_name = get_query_var('author_name'); $m = get_query_var('m'); $year = get_query_var('year'); $monthnum = get_query_var('monthnum'); $day = get_query_var('day'); $search = get_query_var('s');Currently, there is nothing I’ve tried that will let me get to the site at all, and after several hours of trying to debug (I’m a WP/PHP newb), I’ve come to the experts (y’all) for any assistance that might be forthcoming.
Anyone ever run across a similar issue? Any chance my site may rise to fight again? Help??
All input is greatly appreciated, and I’ll try all suggestions.
MANY thanks in advance…
Josephican
The topic ‘Fatal – site now dead’ is closed to new replies.