• Resolved azhar845

    (@azhar845)


    Warning: require_once(/home/idrisele/public_html/idris/wp-admin/includes/class-wp-site-health.php): failed to open stream: No such file or directory in /home/idrisele/public_html/idris/wp-settings.php on line 542

    Fatal error: require_once(): Failed opening required ‘/home/idrisele/public_html/idris/wp-admin/includes/class-wp-site-health.php’ (include_path=’.:/opt/cpanel/ea-php73/root/usr/share/pear’) in /home/idrisele/public_html/idris/wp-settings.php on line 542

    There has been a critical error on this website.

    Learn more about troubleshooting WordPress.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator James Huff

    (@macmanx)

    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, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), 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 azhar845

    (@azhar845)

    Thanks @macmanx for the reply.
    I tried both the options but it doesn’t work.
    Please guide.

    Moderator James Huff

    (@macmanx)

    Ok, try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter azhar845

    (@azhar845)

    Thanks a lot @macmanx
    You have solved my problem.
    Website is working now.
    But getting 404 error for the posts.

    Moderator James Huff

    (@macmanx)

    Try re-saving your permalink structure at Settings > Permalinks in your Dashboard. If WordPress cannot automatically edit the .htaccess file, it will provide manual instructions after saving.

    Thread Starter azhar845

    (@azhar845)

    Thanks @macmanx
    with the help of your guidance
    website is working fine.
    Thanks a lot.

    Thread Starter azhar845

    (@azhar845)

    Deprecated: contextual_help is deprecated since version 3.3.0! Use get_current_screen()->add_help_tab(), get_current_screen()->remove_help_tab() instead. in /home/idrisele/public_html/idris/wp-includes/functions.php on line 5236

    getting this error message in my Dashboard.

    • This reply was modified 3 years, 11 months ago by azhar845.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal error: require_once(): Failed opening required’ is closed to new replies.