Title: Parse error, can&#8217;t even access admin panel
Last modified: March 6, 2024

---

# Parse error, can’t even access admin panel

 *  [pooper](https://wordpress.org/support/users/pooper/)
 * (@pooper)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/parse-error-cant-even-access-admin-panel/)
 * Howdy ho!
 * My website was working perfectly until this message started to pop up:
 * **Parse error**: syntax error, unexpected token “as”, expecting “)” in **/var/
   home/chriscom/public_html/wp-content/plugins/wp-pagenavi/core.php** on line **
   126**
 * I can’t even access the admin panel to fix the plugin or whatever. How to fix
   that?
 * thanks a lot
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-cant-even-access-admin-panel%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [surviving404](https://wordpress.org/support/users/surviving404/)
 * (@surviving404)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/parse-error-cant-even-access-admin-panel/#post-17479516)
 * Privet,
 * You can try manually deactivating the plugin ‘WP-pagenavi’ from website backend,
   and see if that solves the issue.
 * [https://wordpress.org/documentation/article/faq-troubleshooting/#how-to-deactivate-all-plugins-when-not-able-to-access-the-administrative-menus](https://wordpress.org/documentation/article/faq-troubleshooting/#how-to-deactivate-all-plugins-when-not-able-to-access-the-administrative-menus)
 * this article above will help you to do so.
 * Additionally, you can ask for support on that plugin page itself, [HERE](https://wordpress.org/support/plugin/wp-pagenavi/).
    -  This reply was modified 2 years, 3 months ago by [surviving404](https://wordpress.org/support/users/surviving404/).

Viewing 1 replies (of 1 total)

The topic ‘Parse error, can’t even access admin panel’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [surviving404](https://wordpress.org/support/users/surviving404/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/parse-error-cant-even-access-admin-panel/#post-17479516)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
