Title: Fatal error: wp-includes/query.php on line 45
Last modified: August 31, 2016

---

# Fatal error: wp-includes/query.php on line 45

 *  [Ahmet Kazım Özerten](https://wordpress.org/support/users/ahmetkazimozerten/)
 * (@ahmetkazimozerten)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-wp-includesqueryphp-on-line-45/)
 * Hello
 * I’m always see this page, this error fix when ı’m refresh but today not fix and
   not open any page
 * Fatal error: Call to a member function get_queried_object() on a non-object in/
   wp-includes/query.php on line 45
 * I think this wp super cache error but ı’m delete with ftp and not work still

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-wp-includesqueryphp-on-line-45/#post-7097158)
 * Try [manually resetting your plugins](https://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)(
   no Dashboard access required). If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, access your server via [SFTP or FTP](https://codex.wordpress.org/FTP_Clients),
   or a file manager in your hosting account’s control panel, navigate to `/wp-content/
   themes/` and rename the directory of your currently active theme. This will force
   the default theme to activate and hopefully rule-out a theme-specific issue (
   theme functions can interfere like plugins).
 *  Thread Starter [Ahmet Kazım Özerten](https://wordpress.org/support/users/ahmetkazimozerten/)
 * (@ahmetkazimozerten)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-wp-includesqueryphp-on-line-45/#post-7097159)
 * I was tried buy but work this
 * I open ftp and go to /query.php and delete 45.line. After another error. I go
   to 3000.line and delete and 57. line … and problem fix but admin panel not work
   true .
 * Im wait but there is no reply and backup posts and delete alll host =(
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-wp-includesqueryphp-on-line-45/#post-7097163)
 * Well, of course you got another error, you deleted an entire line of code.
 * Is there any reason why you edited a file rather than doing anything that was
   posted above?
 *  Thread Starter [Ahmet Kazım Özerten](https://wordpress.org/support/users/ahmetkazimozerten/)
 * (@ahmetkazimozerten)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-wp-includesqueryphp-on-line-45/#post-7097164)
 * I cant enter admin panel before but when delete line i can enter admin panel 
   but some plugin not working true for example backup.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-wp-includesqueryphp-on-line-45/#post-7097165)
 * Please follow the links in the reply above, none of it requires access to the
   Dashboard.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fatal error: wp-includes/query.php on line 45’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [query.php](https://wordpress.org/support/topic-tag/query-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-wp-includesqueryphp-on-line-45/#post-7097165)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
