• Hello, have a good time
    The site’s WordPress was automatically updated to WordPress 6.0.3 and after that, the site did not load and the error “An important error has occurred on this website.”
    We activated the debug, it showed this error:

    Warning: require_once(/home/…/domains/…/public_html/wp-includes/wp-db.php): failed to open stream: No such file or directory in /home/…./domains…./public_html/wp-includes/load.php on line 544

    Fatal error: require_once(): Failed opening required ‘/home/…./domains/…./public_html/wp-includes/wp-db.php’ (include_path=’.:/usr/local/php74/lib/php’) in /home/…/domains/…./public_html/wp-includes/load.php on line 544

    How do I fix this error?

    Thank you so much indeed.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    Try changing PHP from 8.1 to 8.0 or 7.4, found quite a few same issues using 8.1 PHP.

    Thread Starter sogy91

    (@sogy91)

    Thanks for your response.
    When PHP is 7.4 or 8 displays the above error.

    Also, PHP 8.1, shows the following error:
    “Service Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.”

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install and activate “Health Check”: https://www.ads-software.com/plugins/health-check/
    It will add some additional features under the menu item under Tools > Site Health.
    On its troubleshooting tab, you can Enable Troubleshooting Mode. This will disable all plugins, switch to a standard WordPress theme (if available), allow you to turn your plugins on and off and switch between themes, without affecting normal visitors to your site. This allows you to test for various compatibility issues.

    There’s a more detailed description about how to use the Health Check plugin and its Troubleshooting Mode at https://make.www.ads-software.com/support/handbook/appendix/troubleshooting-using-the-health-check/

    Hi @sogy91

    Thanks for providing the error message. It looks like the automatic update of WordPress 6.0.3 has not been properly. Some of the files have not been copied properly.

    I suggest you to reinstall the WordPress and it will solve your problem.

    Download the latest WordPress ZIP and replace the core files without ‘uploads’, ‘plugins’, ‘themes’ and ‘wp-config.php’ file.

    Kindly refer below doc or some other doc before installation,
    https://kinsta.com/blog/reinstall-wordpress/
    https://www.hostinger.in/tutorials/how-to-reinstall-wordpress

    Thread Starter sogy91

    (@sogy91)

    Hello buddies
    Thank you for your reply and help
    I updated WordPress manually and kept the previous wp-content folder and wp-config.php file for theme and plugins and upload files.
    After the update, it shows the following error on the main page of the site and WordPress dashboard:
    : Function add_theme_support( ‘html5’ ) was called
    incorrectly
    . You must pass an array of view types. For more information, please
    Debugging in WordPress
    see that. (This message was added in version 3.6.1.) in
    /home/journal9/domains/journalofcoms.com/public_html/wp-includes/functions.php
    online
    5833

    The site template is also displayed in a mess and the plugins are not displayed in the dashboard.

    On the other hand, other pages of the site also give the following error:
    Not found
    The requested URL was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    How can I fix these problems?
    Thank you very much

    Thread Starter sogy91

    (@sogy91)

    Hello back all, have a nice time
    All the items mentioned above were completely corrected and the problem was solved, but only the following error is shown at the top of the page:
    Notice
    : Function add_theme_support( ‘html5’ ) was called
    incorrectly
    . You must pass an array of view types. For more information, please
    Debugging in WordPress
    see that. (This message was added in version 3.6.1.) in
    /home/journal9/domains/journalofcoms.com/public_html/wp-includes/functions.php
    online
    5833

    How can I fix these problems?
    Thank you very much

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How do I fix this error?’ is closed to new replies.