Support

Admin Tools for WordPress

#30095 Fatal error with b2

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
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Sunday, 23 September 2018 17:17 CDT

hkymre
I've just installed beta 2 - by overwriting the files using Filezilla

It appeared to have worked & showed the main but when I select any option the following error is thrown & the site is then broken

Fatal error: Uncaught RuntimeException: Could not connect to MySQL. in /myhosting/wp-content/plugins/admintoolswp/app/library/database/driver/mysqli.php:144 Stack trace: #0 /myhosting/wp-content/plugins/admintoolswp/app/library/database/driver/mysqli.php(188): Akeeba\AdminTools\Library\Database\Driver\Mysqli->connect() #1 /myhosting/wp-content/plugins/admintoolswp/app/library/database/driver.php(1153): Akeeba\AdminTools\Library\Database\Driver\Mysqli->escape('active_plugins') #2 /myhosting/wp-content/plugins/admintoolswp/app/library/database/driver.php(328): Akeeba\AdminTools\Library\Database\Driver->quote('active_plugins', true) #3 /myhosting/wp-content/plugins/admintoolswp/app/helper/wordpress.php(250): Akeeba\AdminTools\Library\Database\Driver->__call('q', Array) #4 /myhosting/wp-content/plugins/admin in /myhosting/wp-content/plugins/admintoolswp/app/library/database/driver/mysqli.php on line 144

I've done exactly the same on another test site & it works fine.

A DB restore & re-upload of beta 1 gets admin tools working again

tampe125
Hello,

thank you very much for your report!
I just fixed the issue, can you please download the latest dev release and try again, to confirm the patch?

Davide Tampellini

hkymre
Thanks Davide.

It's now working again.

hkymre
The Dev release also fixes a problem with the scanner I was about to report as well :)

tampe125
Woohoo!
Two birds with one stone ;)

Davide Tampellini

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!