eMoneySpace
Welcome, Guest. Please login or register.
Did you miss your activation email?
News: Welcome to eMoneySpace! Mar 30, 2023 08:57 pm




WP Fatal error query.php
Print
Author Topic: WP Fatal error query.php  (Read 3384 times)
donatien
Reputation: (+85)
*

Offline

Posts: 18222
Referrals: 4


I'm not donatien @bitcointalk thank U (¬‿¬)凸

View Profile
Jul 02, 2013 06:28 pm

One of my blog got this strange error that i have never meet    no idea

Code:
Fatal error: Call to a member function get() on a non-object in /home/helloU/public_html/hi/wp-includes/query.php on line 27

All posts have been deleted  Shocked

After deleted the query file,i tried  to re upload a new but got the same s**t
i installed a fresh instalation but got the same s**t....once i uploaded the theme

But i use this theme with some others blogs,and don't have any problem like this


any fix ? and why this happened?

Thanks guys

« Last Edit: Jul 02, 2013 06:38 pm by donatien » Logged
cngohar
Reputation: (+12)
*

Offline

Posts: 10230
Referrals: 0


View Profile
Reply #1: Jul 02, 2013 08:42 pm

i think you should contact theme author Undecided
Logged

UNIQUE PTC Template For Sale -
lynnj
Reputation: (+13)
*

Offline

Gender: Male
Posts: 3215
Referrals: 376

Software Engineer

View Profile WWW
Reply #2: Jul 02, 2013 11:33 pm

Lol paste that line it occurred on.. Your asking for help on something that can only be kinda speculated atm ...  rofl
Logged

PHP/MYSQL developer. Current works in progress Smiley .
donatien
Reputation: (+85)
*

Offline

Posts: 18222
Referrals: 4


I'm not donatien @bitcointalk thank U (¬‿¬)凸

View Profile
Reply #3: Jul 03, 2013 05:44 am

so speculate lol
Logged
buxboost
Reputation: (+1)
*

Offline

Gender: Male
Posts: 393
Referrals: 3

HTML/CSS Pro

View Profile WWW
Reply #4: Jul 03, 2013 05:53 am

Disable all plugins.

If the error disappears you know it's a plugin conflict.

If it still exists change to default theme.

If the error disappears you know it's a theme error.

Google for

call to a member function get() on a non-object in query.php on line 27
Logged

donatien
Reputation: (+85)
*

Offline

Posts: 18222
Referrals: 4


I'm not donatien @bitcointalk thank U (¬‿¬)凸

View Profile
Reply #5: Jul 03, 2013 05:56 am

Disable all plugins.

If the error disappears you know it's a plugin conflict.

If it still exists change to default theme.

If the error disappears you know it's a theme error.

Google for

call to a member function get() on a non-object in query.php on line 27

Even without pluggins i got this so no pluggin conflit
theme error? but i use this theme on others blog and do,'t have this
googled it but didn't find my answer
Logged
buxboost
Reputation: (+1)
*

Offline

Gender: Male
Posts: 393
Referrals: 3

HTML/CSS Pro

View Profile WWW
Reply #6: Jul 03, 2013 02:46 pm

Change theme to default and check if error still exists.

What theme are you talking about?

Even without pluggins i got this so no pluggin conflit
theme error? but i use this theme on others blog and do,'t have this
googled it but didn't find my answer
Logged

nimday
Reputation: (+17)
*

Offline

Gender: Male
Posts: 3072
Referrals: 2

View Profile WWW
Reply #7: Jul 03, 2013 06:19 pm

Try this one :

Code:
if(!is_null($wp_query)){
    return $wp_query->get($var); // original line 27
}
Logged

buxboost
Reputation: (+1)
*

Offline

Gender: Male
Posts: 393
Referrals: 3

HTML/CSS Pro

View Profile WWW
Reply #8: Jul 03, 2013 07:27 pm

This is only a temporary solution...

once you make an update you have to do it again.
Logged

donatien
Reputation: (+85)
*

Offline

Posts: 18222
Referrals: 4


I'm not donatien @bitcointalk thank U (¬‿¬)凸

View Profile
Reply #9: Jul 04, 2013 07:36 pm

i fixed it, don't know exactly how but resolved  laugh
 
thanks guys
Logged
Print
 
Jump to:  
Copyright © 2008-2023 eMoneySpace. All rights reserved.