• rctomcat

    (@rctomcat)


    Hi,

    I am currently having issues accessing my wp-admin panel. There is only a white screen or the message that a critical error has occured. The frontpages are fine and working.
    I tried a manual upgrade to solve it: No luck. (latest Worpress)
    I tried disabling plugins and themes by renaming the currently active theme folder and by renaming the whole plugin folder: No luck.

    Log shows the following:

    2022/11/06 11:49:05 [error] 709#709: *35 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function wp_kses() in /var/www/samartis/wp-content/db.php:22
    Stack trace:
    #0 /var/www/samartis/wp-includes/load.php(550): require_once()
    #1 /var/www/samartis/wp-settings.php(124): require_wp_db()
    #2 /var/www/samartis/wp-config.php(100): require_once('/var/www/samart...')
    #3 /var/www/samartis/wp-load.php(50): require_once('/var/www/samart...')
    #4 /var/www/samartis/wp-admin/admin.php(34): require_once('/var/www/samart...')
    #5 /var/www/samartis/wp-admin/index.php(10): require_once('/var/www/samart...')
    #6 {main}
      thrown in /var/www/samartis/wp-content/db.php on line 22" while reading response header from upstream, client: myip, server: www.samartis.de, request: "GET /wp-admin/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "www.samartis.de", referrer: "https://www.samartis.de/"
    

    Is there anything else I might try? Really at a loss here and would hate do start over.

    server is running nginx, PHP 7.4
    There is also a maintenance mode currently on (via a plugin) which I can’t seem to deactivate.

    • This topic was modified 2 years ago by rctomcat.
    • This topic was modified 2 years ago by rctomcat.
    • This topic was modified 2 years ago by rctomcat.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • threadi

    (@threadi)

    It seems to me that at least one WordPress core file is missing. Download the ZIP package of WordPress from here: https://www.ads-software.com/download/ – unpack it on your computer and then upload the directories wp-admin and wp-includes via FTP to your hosting. If you need help with the FTP transfer, contact the support of your hoster.

    Thread Starter rctomcat

    (@rctomcat)

    @threadi Thank you for the suggestion. I already tried a manual upgrade which includes downloading the latest zip file. All files were transferred.
    Just now I choose to give it another go, using winscp this time.
    Issue persists.

    threadi

    (@threadi)

    That’s really strange then. I would recommend that you contact the support of your hoster. Maybe they see something (like wrong paths) at some point.

    Lo que a mí me funcionó fue eliminar el archivo db.php ubicado en el directorio wp-content.

    I ran into the same error, I had to disable w3tc by renaming /wp-content/db.php

    @feonix83, thank you! That helped me!

    @feonix83 Merci beaucoup ! c’était exactement mon problème ! tout fonctionne maintenant ??

    @feonix83 thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Call to undefined function wp_kses()’ is closed to new replies.