Support

Admin Tools for WordPress

#38721 Website critical error

Posted in ‘Admin Tools for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
5.9.5
PHP version
7.4.33
Admin Tools version
Admin Tools Pro

Latest post by nicholas on Tuesday, 14 March 2023 10:18 CDT

icewave

Hello,
We are experiencing issues on several websites that appear to be to do with the Admin Pro plugin. When we try to login we get a message saying there has been a critical error on the website and we're locked out.


Here is the email notification we got from Wordpress or one of the affected websites. Unfortunately, the recovery mode link has now expired.

--------------------------------------

Hi!

Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, Admin Tools Professional for WordPress.

First, visit your website (https://www.fullbedsforever.com/) and check for any visible issues. Next, visit the page where the error was caught (https://www.fullbedsforever.com/wp-admin/) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

https://www.fullbedsforever.com/wp-login.php?action=enter_recovery_mode&rm_token=fraZdQoxDtMiX1iJogggeF&rm_key=zj3QDSpuJ66Q7YX35fflj1

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.9.5
Current theme: Luxe (version 1.101.3)
Current plugin: Admin Tools Professional for WordPress (version 1.6.0)
PHP version 7.4.33



Error Details
=============
An error of type E_ERROR was caused in line 340 of the file /home/fbf01/public_html/wp-content/plugins/admintoolswp/helpers/admintoolswp.php. Error message: Uncaught Error: Class 'Akeeba\AdminTools\Admin\Helper\Language' not found in /home/fbf01/public_html/wp-content/plugins/admintoolswp/helpers/admintoolswp.php:340
Stack trace:
#0 /home/fbf01/public_html/wp-includes/class-wp-hook.php(307): AdminToolsWP::registerDashboardWidgets('')
#1 /home/fbf01/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#2 /home/fbf01/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /home/fbf01/public_html/wp-admin/includes/dashboard.php(129): do_action('wp_dashboard_se...')
#4 /home/fbf01/public_html/wp-admin/index.php(15): wp_dashboard_setup()
#5 {main}
  thrown

 ------------------------------------------------

We are not technically minded so we don't know what the error message above means or how to fix it. Can you please help us?
Thanks 




nicholas
Akeeba Staff
Manager

Download the latest version.

Extract the ZIP file.

Upload the extracted admintoolswp directory into your site's wp-content/plugins (there's already an admintoolswp directory in there).

This will overwrite any non-upgraded files and add any files WordPress' plugins updater failed to install.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

icewave

Many thanks Nicholas. We'll try that.

icewave

Hi Nicholas,
We've uploaded the new folder and, unfortunately, it doesn't seem to have worked.

It seemed to be OK, then I logged out and when I tried to log back in again I get the same critical error message warning on the login page and Wordpress has sent a new message saying the same thing as the last one as far as I can tell:

Error Details
=============
An error of type E_ERROR was caused in line 340 of the file /home/fbf01/public_html/wp-content/plugins/admintoolswp/helpers/admintoolswp.php. Error message: Uncaught Error: Class 'Akeeba\AdminTools\Admin\Helper\Language' not found in /home/fbf01/public_html/wp-content/plugins/admintoolswp/helpers/admintoolswp.php:340
Stack trace:
#0 /home/fbf01/public_html/wp-includes/class-wp-hook.php(307): AdminToolsWP::registerDashboardWidgets('')
#1 /home/fbf01/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#2 /home/fbf01/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
#3 /home/fbf01/public_html/wp-admin/includes/dashboard.php(129): do_action('wp_dashboard_se...')
#4 /home/fbf01/public_html/wp-admin/index.php(15): wp_dashboard_setup()
#5 {main}
  thrown

 

What else can we try please?

nicholas
Akeeba Staff
Manager

Can you please tell me if the file wp-content/plugins/admintoolswp/app/helper/language.php exists?

This is most definitely not a new file. It's there ever since we started working on Admin Tools for WordPress back in 2016. If the file has magically disappeared I have an idea about what is going on — but I want to make sure it does disappear before commenting.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!