• This is the error log:

    [02-Nov-2022 23:08:14 UTC] PHP Warning:  require_once(/srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/blocks/comments.php): failed to open stream: No such file or directory in /srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/blocks/require-dynamic-blocks.php on line 16
    [02-Nov-2022 23:08:14 UTC] PHP Fatal error:  require_once(): Failed opening required '/srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/blocks/comments.php' (include_path='.:/usr/share/php:/srv/data/web/includes') in /srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/blocks/require-dynamic-blocks.php on line 16

    Can’t access anything.

    Help? ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Can you log into the server via FTP or the admin panel? If so try uploading the comments.php file from a fresh WordPress download into the wp-includes/blocks/ directory? If the file was somehow deleted, this should restore it.

    Thread Starter jkolko

    (@jkolko)

    That helped, now I’m getting…

    [02-Nov-2022 23:37:41 UTC] PHP Warning:  require_once(/srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/blocks/comments.php): failed to open stream: No such file or directory in /srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/blocks/require-dynamic-blocks.php on line 16
    [02-Nov-2022 23:37:41 UTC] PHP Fatal error:  require_once(): Failed opening required '/srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/blocks/comments.php' (include_path='.:/usr/share/php:/srv/data/web/includes') in /srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/blocks/require-dynamic-blocks.php on line 16
    [02-Nov-2022 23:38:00 UTC] PHP Fatal error:  Uncaught Error: Call to a member function has() on null in /srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/l10n.php:1268
    Stack trace:
    #0 /srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/l10n.php(1303): _load_textdomain_just_in_time()
    #1 /srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/l10n.php(187): get_translations_for_domain()
    #2 /srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/l10n.php(299): translate()
    #3 /srv/data/web/vhosts/[MY SITE]/htdocs/wp-content/plugins/advanced-custom-fields-pro/acf.php(68): __()
    #4 /srv/data/web/vhosts/[MY SITE]/htdocs/wp-content/plugins/advanced-custom-fields-pro/acf.php(649): ACF->initialize()
    #5 /srv/data/web/vhosts/[MY SITE]/htdocs/wp-content/plugins/advanced-custom-fields-pro/acf.php(655): acf()
    #6 /srv/data/web/vhosts/[MY SITE]/htdocs/wp-settings.php(428): include_once('/srv/data/web/v...')
    #7 /srv/data/web/vhosts/[MY SITE]/htdocs/wp-config.php in /srv/data/web/vhosts/[MY SITE]/htdocs/wp-includes/l10n.php on line 1268
    Moderator t-p

    (@t-p)

    Please review WordPress 6.1 Master List and attempt troubleshooting steps outlined therein.

    Thread Starter jkolko

    (@jkolko)

    I did.

    > `Flushing any caching plugins you might be running, as well as server and/or browser caches.

    Done

    > Flushing Managed host caches.

    Done

    > Resave your Permalink settings.

    Can’t access admin

    > Troubleshooting with your browser.

    Server issue

    > Make sure you have the Visual Editor enabled.

    Can’t access admin

    > Deactivating all plugins (yes, all)

    Can’t access admin; renaming directory didn’t do anything

    > If you can install plugins, install “Health Check”:

    Can’t access admin

    > Switching to the Twenty Twenty One theme

    Can’t access admin

    > Manually upgrading.`

    I would prefer not to, but it’s looking like that’s the next step…

    @jkolko Please were you able to resolve this error? I have the same problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error after update – can’t find blocks/comments.php’ is closed to new replies.