Support

Admin Tools for WordPress

#40405 Admin Tools – Internal Application Error Admin Tools has stopped responding due to an unhandled internal application 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
6.4.3
PHP version
7.4.33
Admin Tools version
1.6.4

Latest post by thenorthernoffice on Thursday, 07 March 2024 05:29 CST

thenorthernoffice

Trying to activate the plugin.

 

We had a previous version (out dated) installed that wasuninstalled and replaced with Bullet Proof Security.  We renewed the Akeeba subscription, removed BPS and installed AdminTools.  When we try to activate or run any part of the plugin we get the error:

 

Admin Tools – Internal Application Error

Admin Tools has stopped responding due to an unhandled internal application error.

If you are a subscriber and need to request support please include all of the following information in your support request. Thank you!

Could not connect to MySQL.
RuntimeException
<WordPress Root>/wp-content/plugins/admintoolswp/app/library/database/driver/mysqli.php (157)
Debug backtrace
#0 /home/akcp/web/akcp.com/public_html/wp-content/plugins/admintoolswp/app/library/database/driver/mysqli.php(240): Akeeba\AdminTools\Library\Database\Driver\Mysqli->connect()
#1 /home/akcp/web/akcp.com/public_html/wp-content/plugins/admintoolswp/app/library/database/driver.php(1153): Akeeba\AdminTools\Library\Database\Driver\Mysqli->escape()
#2 /home/akcp/web/akcp.com/public_html/wp-content/plugins/admintoolswp/app/library/database/driver.php(328): Akeeba\AdminTools\Library\Database\Driver->quote()
#3 /home/akcp/web/akcp.com/public_html/wp-content/plugins/admintoolswp/app/model/stats.php(190): Akeeba\AdminTools\Library\Database\Driver->__call()
#4 /home/akcp/web/akcp.com/public_html/wp-content/plugins/admintoolswp/app/model/stats.php(30): Akeeba\AdminTools\Admin\Model\Stats->getCommonVariable()
#5 /home/akcp/web/akcp.com/public_html/wp-content/plugins/admintoolswp/app/model/stats.php(71): Akeeba\AdminTools\Admin\Model\Stats->getSiteId()
#6 /home/akcp/web/akcp.com/public_html/wp-content/plugins/admintoolswp/app/view/controlpanel/html.php(115): Akeeba\AdminTools\Admin\Model\Stats->collectStatistics()
#7 /home/akcp/web/akcp.com/public_html/wp-content/plugins/admintoolswp/app/library/mvc/view/html.php(150): Akeeba\AdminTools\Admin\View\ControlPanel\Html->onBeforeDisplay()
#8 /home/akcp/web/akcp.com/public_html/wp-content/plugins/admintoolswp/app/library/mvc/controller/controller.php(153): Akeeba\AdminTools\Library\Mvc\View\Html->display()
#9 /home/akcp/web/akcp.com/public_html/wp-content/plugins/admintoolswp/app/controller/controlpanel.php(62): Akeeba\AdminTools\Library\Mvc\Controller\Controller->display()
#10 /home/akcp/web/akcp.com/public_html/wp-content/plugins/admintoolswp/app/dispatcher/dispatcher.php(104): Akeeba\AdminTools\Admin\Controller\ControlPanel->display()
#11 /home/akcp/web/akcp.com/public_html/wp-content/plugins/admintoolswp/helpers/admintoolswp.php(263): Akeeba\AdminTools\Admin\Dispatcher\Dispatcher::route()
#12 /home/akcp/web/akcp.com/public_html/wp-includes/class-wp-hook.php(324): AdminToolsWP::boot()
#13 /home/akcp/web/akcp.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#14 /home/akcp/web/akcp.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#15 /home/akcp/web/akcp.com/public_html/wp-admin/admin.php(259): do_action()
#16 {main}

nicholas
Akeeba Staff
Manager

I have a suspicion. Please edit the file wp-content/plugins/admintoolswp/app/view/controlpanel/html.php and change line 115 from this

$this->statsIframe = $statsModel->collectStatistics(true);

to this:

// $this->statsIframe = $statsModel->collectStatistics(true);

Did that help?

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!

thenorthernoffice

Other devs and dev co's ask why I use Akeeba for over 10 years.  Here's your answer!

 

Cheers Nick.  All fixed.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!