• my website thinkbotanicals.com/wp-admin is experiencing a 500 internal server error. I deactivated all plugins through ftp but still am not able to log in to the admin panel /wp-admin/. I turned on debug mode and see the following messages:

    Fatal error: Uncaught Error: Call to undefined function wp_kses() in /var/www/thinkbotanicalexisting/wp-content/db.php:28 Stack trace: #0 /var/www/thinkbotanicalexisting/wp-includes/load.php(671): require_once() #1 /var/www/thinkbotanicalexisting/wp-settings.php(124): require_wp_db() #2 /var/www/thinkbotanicalexisting/wp-config.php(108): require_once(‘/var/www/thinkb…’) #3 /var/www/thinkbotanicalexisting/wp-load.php(50): require_once(‘/var/www/thinkb…’) #4 /var/www/thinkbotanicalexisting/wp-admin/admin.php(34): require_once(‘/var/www/thinkb…’) #5 /var/www/thinkbotanicalexisting/wp-admin/index.php(10): require_once(‘/var/www/thinkb…’) #6 {main} thrown in /var/www/thinkbotanicalexisting/wp-content/db.php on line 28

    There has been a critical error on this website.

    Learn more about troubleshooting WordPress.

    I’m not sure what to do from here.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The file that triggers the error is a db.php in your wp-content directory. WordPress does not provide such a file. However, it is created by some plugins – presumably incorrectly in your case. Take a look at the file via FTP, you may be able to see which plugin created it. Otherwise, you could also delete it after a backup.

    Simply deleting the db.php file worked for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal error: Uncaught Error: Call to undefined function wp_kses() in’ is closed to new replies.