Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.3.3, fatal error
- This topic has 1 reply, 2 voices, and was last updated 5 years, 6 months ago by
Steven Zahm.
-
AuthorPosts
-
08/11/2015 at 3:46 am #342674
Dani Weymouth
ParticipantAll of a sudden I started getting the following fatal error:
Fatal error: Call to a member function get() on a non-object in /home/content/87/9913787/html/C-Clients/DDDjs/wp-includes/query.php on line 30
I had no way of going in and deactivating plugins or anything so I went in via Godaddy’s File Manager and commented out that area. It now looks like this:/** * Retrieve variable in the WP_Query class. * * @see WP_Query::get() * @since 1.5.0 * @uses $wp_query * * @param string $var The variable key to retrieve. * @param mixed $default Value to return if the query variable is not set. Default ''. * @return mixed * function get_query_var( $var, $default = '' ) { * global $wp_query; * * return $wp_query->get( $var, $default ); * } */
I saved it and now am getting:
Fatal error: Call to undefined function get_query_var() in /home/content/87/9913787/html/C-Clients/DDDjs/wp-content/plugins/connections/includes/image/class.image.php on line 193
I don’t know what to do or even what happened. I wasn’t messing with Connections at all when it happened (the only thing I was working on a Bulk Password Reset plugin but that has been deleted now.) Any suggestions? I’m desperate now; can’t get into WordPress at all now and it’s a client’s site.
-
This topic was modified 5 years, 6 months ago by
Dani Weymouth.
08/11/2015 at 9:33 am #342726Steven Zahm
Keymaster@ Dani
The first thing you should do uncomment the code in the
../wp-includes/query.php
file. That is very critical code.The source of your trouble is a theme or plugin improperly using the
$wp_query
global var. Generally, from my experience, unset or set the value of the$wp_query
global var which bad, very bad, because other plugins that might need to access it and plugin that due will generate this error.Known plugins and themes to cause this are, theme’s based on the Cherry Framework (Template Monster) and there was a version of Yoast SEO that caused this. Both have been fixed. So make sure Yoast SEO is the most current version. The theme is much more difficult because even though the Cherry Framework has been fixed there are still a lot themes still in use and being sold that still include an old version of that framework.
That said… have you installed any new plugin or change the theme or applied and update to any of those very recently?
Maybe the quickest way to deal with this is to move all (not delete) plugin from within the
plugins
folder to atemp
folder. With the plugins in the temp folder, the error may or may not go away. If it does not, then the error is being caused by the theme. If the error does go away the error could still be theme but you should gain access to the site.You can then move plugins one by one back to the
plugins
folder and activate them again. Until you get the error again. The last plugin moved may not be the source or cause of the error but it is triggering the error. Move that plugin back to the temp folder and continue moving the rest.This should at least get you back up and running. Rutting out the source and cause of the error is much more difficult. I can do this for you for a fee of $60 (payable via PayPal). It should take me only about an hour or so to track down and fix. I will require access to the site via FTP (real FTP not the GoDaddy file manager) and admin access to the site. The login info can be sent via the Contact link at the bottom of the page. Pleaser paste a link to this support forum thread in the message so I can relate the two. Thanks!
Hope that helps!
-
This topic was modified 5 years, 6 months ago by
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.