• Resolved zain9718

    (@zain9718)


    Hi everyone

    I was practicing to develop websites, and to start again from scratch, I reset my site using the wp-reset plugin. And I uninstalled WordPress and then reinstalled it again through my C-panel. After reinstalling it, I can no longer access the wp dashboard becuase the following error ocurs. I had loads of error logs and chache in wp-content in the file-manager so I deleted some files.

    HTTP Error 500: When attempting to access my WordPress site’s dashboard (URL: https://persianpantry.pk/wp-admin/), I encounter an HTTP Error 500. This error persists, preventing access to the backend.

    Wordfence-related Error in Logs: In my error logs, I noticed repeated occurrences of an error related to Wordfence:

    [20-Dec-2023 10:03:10 America/Chicago] PHP Warning: Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 10:03:10 America/Chicago] PHP Fatal error: Failed opening required ‘/home2/curatedh/persianpantry.pk/wordfence-waf.php’ (include_path=’.:/opt/cpanel/ea-php82/root/usr/share/pear’) in Unknown on line 0

    Details:

    • I checked the plugins directory, and there’s no Wordfence plugin present.
    • Additionally, I found a Wordfence-related file in the root directory that I renamed, but the issue persists.

    Request:

    • I seek guidance on resolving the HTTP Error 500, especially regarding the Wordfence-related error in the logs.
    • Any advice on how to troubleshoot or resolve this issue would be greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator t-p

    (@t-p)

    Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins (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, try switching to the default theme for your version of WordPress to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via SFTP or FTP, 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.

    If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your SFTP or FTP client to view invisible files.

    If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message.

    Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, ask your hosting provider to look for you.

    Thread Starter zain9718

    (@zain9718)

    First of all, thank you for getting back! Much appreciated.

    Secondly, I tried all of the methods mentioned above such as renaming plugins, themes, and .htaccess and still the issue persists. By the way, I am not a developer, and I am a total beginner when it comes to website development. I checked my error log in the file manager, and its giving the same error code. Which I am pasting here:

    [20-Dec-2023 09:15:25 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:15:25 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:18:38 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:18:38 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:21:35 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:21:35 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:21:36 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:21:36 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:21:38 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:21:38 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:21:41 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:21:41 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:21:43 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:21:43 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:21:46 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:21:46 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:21:49 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:21:49 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:21:52 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:21:52 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:21:55 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:21:55 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:21:57 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:21:57 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:22:00 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:22:00 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:33:35 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:33:35 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:33:51 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:33:51 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:45:05 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:45:05 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:45:12 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:45:12 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:45:13 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:45:13 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:45:14 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:45:14 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:50:54 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:50:54 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:53:17 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:53:17 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:53:19 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:53:19 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 09:57:09 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 09:57:09 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 10:02:53 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 10:02:53 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 10:03:10 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 10:03:10 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 10:06:27 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 10:06:27 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 10:37:46 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 10:37:46 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 10:38:45 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 10:38:45 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 10:50:49 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 10:50:49 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 11:19:46 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 11:19:46 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 11:26:30 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 11:26:30 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 11:26:32 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 11:26:32 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 11:30:18 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 11:30:18 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 11:35:23 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 11:35:23 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:12:09 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:12:09 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:12:12 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:12:12 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:14:23 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:14:23 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:30:27 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:30:27 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:30:27 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:30:27 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:40:20 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:40:20 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:47:06 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:47:06 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:47:07 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:47:07 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:47:08 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:47:08 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:47:09 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:47:09 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:47:11 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:47:11 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:47:13 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:47:13 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:47:15 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:47:15 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:47:16 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:47:16 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:47:18 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:47:18 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:47:20 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:47:20 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 12:47:22 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 12:47:22 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 13:04:10 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 13:04:10 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 13:04:12 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 13:04:12 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 13:04:14 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 13:04:14 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 13:06:34 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 13:06:34 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 13:07:34 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 13:07:34 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 13:08:35 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 13:08:35 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 13:09:35 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 13:09:35 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 13:21:26 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 13:21:26 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 13:21:26 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 13:21:26 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 14:24:40 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 14:24:40 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 14:24:41 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 14:24:41 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 14:24:44 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 14:24:44 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 14:24:47 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 14:24:47 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 14:24:50 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 14:24:50 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    [20-Dec-2023 14:24:53 America/Chicago] PHP Warning:  Unknown: Failed to open stream: No such file or directory in Unknown on line 0
    [20-Dec-2023 14:24:53 America/Chicago] PHP Fatal error:  Failed opening required '/home2/curatedh/persianpantry.pk/wordfence-waf.php' (include_path='.:/opt/cpanel/ea-php82/root/usr/share/pear') in Unknown on line 0
    Thread Starter zain9718

    (@zain9718)

    So the issue started when I deleted all my plugins, and I re-installed WordPress for my domain “persianpantry.pk”. Then I tried to login to my wp dashboard, the HTTP Error 500 occurred and I am totally clueless because all I wanted was a fresh start. Previous plugin was Wordfence, which seems to be in the error log, and I remember deactivating it and then deleting it before I re-installed WordPress.

    When I try to login through WP manager:
    https://snipboard.io/0eaf23.jpg
    I face this HTTP error 500 issue. And this is the URL when I click login for persianpantry.pk: https://persianpantry.pk/sapp-wp-signon.php?pass=vdeoweplvj70lmq2xkfkepzbuwt0grag

    Which seems quite off because it should simply be https://persianpantry.pk/wp-admin/

    This is my addon domain, and the primary domain curatedhome.pk seems to be working fine with no issues in the WordPress dashboard or anywhere.

    The error message in the log indicates that you have installed WordFence as a plugin. An important file is missing from the root directory, which causes the error message.

    Have a look at the .htaccess file. It may contain an entry that includes the file “wordfence-waf.php”. Remove this line and any lines around it. See also: https://stackoverflow.com/questions/46863705/fatal-error-unknown-failed-opening-required

    Thread Starter zain9718

    (@zain9718)

    Hi, thanks for replying. I can’t seem to see any problem in the .htaccess file. The file “wordfence-waf.php” isn’t present here. Here’s a look at it:

    # BEGIN WordPress
    # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Moreover, I saw the link you mentioned. For my lack of understanding of coding and CSS, I am unable to comprehend the solution mentioned over there. Can you explain the instructions in steps?

    Thread Starter zain9718

    (@zain9718)

    Hi, I have an important update. I looked the solutions in the link you provided. I didn’t understand much of it but I created an empty file in my persianpantry.pk folder called “wordfence-waf.php”. And it is no longer giving me the HTTP Error 500. Now I can access my dashboard.

    However, now there’s a new issue which I don’t know how to solve. Here’s a snapshot of it: https://snipboard.io/IiHfM7.jpg

    These error messages are appearing. Please, guide me on this.

    Thread Starter zain9718

    (@zain9718)

    Here’s is the new Error message in the Error Log:

    [21-Dec-2023 00:41:31 UTC] PHP Deprecated:  Creation of dynamic property NFD_Plugin_Compat_Check::$incompatible_plugins is deprecated in /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php on line 56
    [21-Dec-2023 00:41:31 UTC] PHP Deprecated:  Creation of dynamic property NFD_Plugin_Compat_Check::$incompatible_plugins is deprecated in /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php on line 56
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/rest-api/class-wp-rest-server.php on line 1794
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/rest-api/class-wp-rest-server.php on line 1794
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/rest-api/class-wp-rest-server.php on line 1794
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/rest-api/class-wp-rest-server.php on line 1794
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/rest-api/class-wp-rest-server.php on line 1794
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/rest-api/class-wp-rest-server.php on line 1794
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/rest-api/class-wp-rest-server.php on line 1794
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/rest-api/class-wp-rest-server.php on line 1794
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/rest-api/class-wp-rest-server.php on line 1794
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/rest-api/class-wp-rest-server.php on line 1794
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/rest-api/class-wp-rest-server.php on line 1818
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/pluggable.php on line 1435
    [21-Dec-2023 00:41:31 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php:56) in /home2/curatedh/persianpantry.pk/wp-includes/pluggable.php on line 1438
    [21-Dec-2023 00:42:32 UTC] PHP Deprecated:  Creation of dynamic property NFD_Plugin_Compat_Check::$incompatible_plugins is deprecated in /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php on line 56
    [21-Dec-2023 00:44:33 UTC] PHP Deprecated:  Creation of dynamic property NFD_Plugin_Compat_Check::$incompatible_plugins is deprecated in /home2/curatedh/persianpantry.pk/wp-content/plugins/mojo-marketplace-wp-plugin/mojo-marketplace.php on line 56

    I am really confused, and my brand is suffering. Kindly help. Much appreciated.

    The new error messages refer to a commercial plugin called Mojo Marketplace. Please contact their support for clarification: https://www.mojomarketplace.com/login

    Thread Starter zain9718

    (@zain9718)

    Hi, another important update!
    So I now that I can access my dashboard again, I deleted all of the default plugins, and wordfence was not among those plugins. I installed wordfence again, activated it and deleted it again, so that I can delete the “wordfence-waf.php” empty file that I created and be rid of it once and for all.

    Here’s a snapshot of my dashboard: https://snipboard.io/1en73D.jpg

    However, when I deleted the file I made “wordfence-waf.php”, and I reloaded my dashboard, the Error 500 came back. Here’s a snapshot of the file because I had to recreate it so that I could access my dashboard again: https://snipboard.io/Rsb4TV.jpg

    So, I can access my dashboard again. I created the empty file. However, when I remove it, Error 500 occurs. How to be rid of this issue? What kind of problems it can cause in the future? Should I re-install wordpress again? Will my issue resolve and I will get a fresh start from scratch?

    Thread Starter zain9718

    (@zain9718)

    Hi, I re-installed wordpress just to test. Nonetheless, the issue remains. I couldn’t access the wp dashboard. Not until I created the empty file “wordfence-waf.php” again. And then only I could access the dashboard with the Error 500.
    So is there a solution? I mean, it works fine if the “wordfence-waf.php” file is present even though wordfence is not installed in my plugins. But my question is that, is this the only way?
    Can I not remove the empty file and still use my wp dashboard without Error 500?

    Thread Starter zain9718

    (@zain9718)

    Hi there, the issue is finally resolved. I had to remove the “wordfence-waf.php” code from the “.user.ini” in the file manager. Now I deleted the empty “wordfence-waf.php” file and my website is working flawlessly. No more Error 500. Here’s a snapshot of the explanation:
    https://snipboard.io/mOzpba.jpg

    Thank You to Everyone Who Helped! The link to ” https://stackoverflow.com/questions/46863705/fatal-error-unknown-failed-opening-required ” was the key in finding the answer. I feel relieved and now I can build my website in peace…

    • This reply was modified 1 year, 2 months ago by zain9718.
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘HTTP Error 500 After re-installing WordPress.’ is closed to new replies.