Title: Fatal Error
Last modified: July 8, 2019

---

# Fatal Error

 *  Resolved [knowing8](https://wordpress.org/support/users/knowing8/)
 * (@knowing8)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/)
 * Hello, i cant fix my site. Now it is written like this:
    Warning: require_once(
   lib/wordfenceClass.php): failed to open stream: No such file or directory in /
   home/naliai/domains/laisvivaikai.lt/public_html/wp-content/plugins/wordfence/
   wordfence.php on line 68 Fatal error: require_once(): Failed opening required‘
   lib/wordfenceClass.php’ (include_path=’.:/usr/share/pear’) in /home/naliai/domains/
   laisvivaikai.lt/public_html/wp-content/plugins/wordfence/wordfence.php on line
   68
 * I tried to deactivate from ftp all plugins, tried to delete httacess file, tried
   to insert new file with original file info wordfenceClass – in this case page
   works fine, but admin dashboard not works properly – cant access any link, any
   link i press (plugins, posts, pages) – show Forbiden 403 error, that i cant access
   these links from this server. (from ftp i changed admin folder permisioms to 
   777)
 * Site: [http://www.laisvivaikai.lt](http://www.laisvivaikai.lt)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-3247%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/fatal-error-3247/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-error-3247/page/2/?output_format=md)

 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11712404)
 * Hi [@knowing8](https://wordpress.org/support/users/knowing8/),
 * It seems that when Wordfence updated, some files were not properly updated.
 * Can you try removing the `/wp-content/plugins/wordfence/` folder, and then reinstalling
   Wordfence?
 * Dave
 *  Thread Starter [knowing8](https://wordpress.org/support/users/knowing8/)
 * (@knowing8)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11712447)
 * Reinstalling just place new fresh folder? Because i cant access plugins section
   in dashboard.
    Or after all wordfence folder deletion should be all fine? I will
   try it.
    -  This reply was modified 6 years, 10 months ago by [knowing8](https://wordpress.org/support/users/knowing8/).
 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11712675)
 * Yup! You’ll want to remove the folder first, then when you can access the plugins
   dashboard, you can reinstall Wordfence from there.
 * Dave
 *  Thread Starter [knowing8](https://wordpress.org/support/users/knowing8/)
 * (@knowing8)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11712946)
 * The same:
    page working, but not dashboard and admin panel. When i try to go 
   for example plugins, shows: Forbidden
 * You don’t have permission to access /wp-admin/plugins.php on this server.
 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11713010)
 * Hi again,
 * Can you try this?
 * 1. Rename the Wordfence folder (`plugins/wordfence` -> `plugins/wordfence-old`).
   See if that allows you to view the plugins dashboard.
 * 2. If Wordfence was already disabled / uninstalled, try renaming the `.htaccess`
   file. It’s possible that something in there is preventing you from accessing 
   plugins.
 * 3. If `.htaccess` isn’t responsible, try changing the permissions found within
   your `/wp-admin/*` folder. The permissions for that folder should be set to 744.
 * Dave
 *  Thread Starter [knowing8](https://wordpress.org/support/users/knowing8/)
 * (@knowing8)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11713033)
 * I tried to rename all .htaccess files (in main folder, in admin folder, in content
   folder) – still cant access to plugins page. Maybe here is the problem? why in
   all folders there are .htaccess files? I have looked up in other my sites folders,.
   htaccess file is only in main folder
 * Now shows this:
 * You don’t have permission to access /wp-admin/plugins.php on this server.
    Server
   unable to read htaccess file, denying access to be safe
 * File permissions already done.
    -  This reply was modified 6 years, 10 months ago by [knowing8](https://wordpress.org/support/users/knowing8/).
    -  This reply was modified 6 years, 10 months ago by [knowing8](https://wordpress.org/support/users/knowing8/).
    -  This reply was modified 6 years, 10 months ago by [knowing8](https://wordpress.org/support/users/knowing8/).
 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11713321)
 * Oh it seems you might have something within your `.htaccess` that is preventing
   access to `plugins.php`.
 * Can you try creating a blank `.htaccess` file in the main folder?
 * If you want, you can copy-paste the contents of your current `.htaccess` and 
   I can look at it.
 * Dave
 *  Thread Starter [knowing8](https://wordpress.org/support/users/knowing8/)
 * (@knowing8)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11713360)
 * This is in main public_html folder:
 * <IfModule mod_rewrite.c>
    RewriteEngine On RewriteBase / RewriteRule ^index\.
   php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * This is in wp-admin folder (also in wp-content and wp-includes):
 * <FilesMatch “.*\.(phtml|php)$”>
    Order Allow,Deny Deny from all </FilesMatch>
   <FilesMatch “(index).php$”> Order Allow,Deny Allow from all </FilesMatch>
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11713451)
 * Can you try renaming the .htaccess file in wp-admin and wp-includes? Just take
   the dot off the front of it. See if that restores access to the admin area of
   the site.
 * Tim
 *  Thread Starter [knowing8](https://wordpress.org/support/users/knowing8/)
 * (@knowing8)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11713785)
 * Yes i have tried this way – all same (page working, but admin panel not).
 *  [wfdave](https://wordpress.org/support/users/wfdave/)
 * (@wfdave)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11717065)
 * Hi again,
 * So I noticed this within the `.htaccess` file:
 *     ```
       <FilesMatch “.*\.(phtml|php)$”>
       Order Allow,Deny
       Deny from all
       </FilesMatch>
       ```
   
 * Can you edit that `.htaccess` file and remove those lines? (If you are unsure,
   simply make the entire `.htaccess` file blank)
 * Dave
 *  Thread Starter [knowing8](https://wordpress.org/support/users/knowing8/)
 * (@knowing8)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11717483)
 * Done, but Still same… browser caches cleaned.
 * Forbidden
 * You don’t have permission to access /wp-admin/ on this server.
    Server unable
   to read htaccess file, denying access to be safe
 *  Thread Starter [knowing8](https://wordpress.org/support/users/knowing8/)
 * (@knowing8)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11723808)
 * Maybe someone know how to restore from backup without accessing admin panel? 
   Using UpdraftPlus
    I cannot find the solution to acces admin panel..
    -  This reply was modified 6 years, 10 months ago by [knowing8](https://wordpress.org/support/users/knowing8/).
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11767977)
 * I found this on the UpdraftPlus site. Let us know if this works for you.
    [https://updraftplus.com/faqs/i-want-to-restore-but-have-either-cannot-or-have-failed-to-do-so-from-the-wp-admin-console/](https://updraftplus.com/faqs/i-want-to-restore-but-have-either-cannot-or-have-failed-to-do-so-from-the-wp-admin-console/)
 * Tim
 *  [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * (@wfsupport)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-3247/#post-11835223)
 * Since we haven’t heard back I’m going to close this out. If you still have the
   trouble you can reopen it with more information.
 * Tim

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/fatal-error-3247/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/fatal-error-3247/page/2/?output_format=md)

The topic ‘Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

## Tags

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

 * 18 replies
 * 3 participants
 * Last reply from: [WFSupport](https://wordpress.org/support/users/wfsupport/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-3247/page/2/#post-11835593)
 * Status: resolved