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
Akeeba Staff
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

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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
Akeeba Staff
Woohoo!
Two birds with one stone ;)

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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.