• Fatal error: Uncaught Error: Call to undefined method wpdb::check_safe_collation() in /home/xyzcom/public_html/wp-includes/wp-db.php:2668 Stack trace: #0 /home/xyzcom/public_html/wp-includes/option.php(237): wpdb->get_results(‘SELECT option_n…’) #1 /home/xyzcom/public_html/wp-includes/functions.php(1717): wp_load_alloptions() #2 /home/xyzcom/public_html/wp-includes/load.php(664): is_blog_installed() #3 /home/xyzcom/public_html/wp-settings.php(159): wp_not_installed() #4 /home/xyzcom/public_html/wp-config.php(94): require_once(‘/home/xyz…’) #5 /home/xyzcom/public_html/wp-load.php(37): require_once(‘/home/xyz…’) #6 /home/xyzcom/public_html/wp-admin/admin.php(34): require_once(‘/home/xyz…’) #7 /home/xyzcom/public_html/wp-admin/index.php(10): require_once(‘/home/xyz…’) #8 {main} thrown in /home/xyzcom/public_html/wp-includes/wp-db.php on line 2668

    Fatal error: Uncaught Error: Call to undefined method wpdb::check_safe_collation() in /home/xyzcom/public_html/wp-includes/wp-db.php:2668 Stack trace: #0 /home/xyzcom/public_html/wp-includes/option.php(237): wpdb->get_results(‘SELECT option_n…’) #1 /home/xyzcom/public_html/wp-includes/option.php(116): wp_load_alloptions() #2 /home/xyzcom/public_html/wp-includes/l10n.php(69): get_option(‘WPLANG’) #3 /home/xyzcom/public_html/wp-includes/l10n.php(137): get_locale() #4 /home/xyzcom/public_html/wp-includes/l10n.php(828): determine_locale() #5 /home/xyzcom/public_html/wp-includes/class-wp-fatal-error-handler.php(46): load_default_textdomain() #6 [internal function]: WP_Fatal_Error_Handler->handle() #7 {main} thrown in /home/xyzcom/public_html/wp-includes/wp-db.php on line 2668`

    Getting above error after installing and activating shortcoder plugin. This happens when I try to access wp-admin page. Tried removing the plugin logging in via FPT and still it is not working. Can someone please check the error?

    • This topic was modified 4 years, 4 months ago by albertsfo1. Reason: formatting
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    Yes it’s definitely related to plugin or theme conflict. Please disable all plugins, and then check the admin dashboard. If the problem goes away, enable them one by one to identify the source of the issues.

    Switch default themes ( Twenty Twenty ) to one compatible with the latest version of WP. Never, ever run old versions of WordPress.

    If you can install plugins, install Health Check plugin. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site. Hope this helps.

    Thanks.

    Thread Starter albertsfo1

    (@albertsfo1)

    Thank you for the quick reply Sundar. I do not have access to admin dashboard anymore. It is giving above error message. But I have FTP access, how can I disable all plugins through FTP?. Is there a short cut other than deleting everything in wp-content/plugins folder?

    Yes, You can rename plugins folder to “plugins-old” via FTP access. It will automatically disable all plugins from the plugins directory.

    Thanks.

    Thread Starter albertsfo1

    (@albertsfo1)

    Thank you Sundar. It will be better if I pull all the files from FTP to a local instance and test locally correct?

    Yes, Please take a complete backup and setup script in your local environment and then make the updates. It would be good.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not able to access admin console after Installing and activating a plugin’ is closed to new replies.