Support

Admin Tools

#21583 site went down, but day after upgrading admintools

Posted in ‘Admin Tools for Joomla! 4 & 5’
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

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by johnniek2 on Saturday, 29 November 2014 08:32 CST

johnniek2
 I am getting this mesage instead of my website:
Warning: uasort() expects parameter 2 to be a valid callback, no array or string given in /home/johnnie/public_html/plugins/system/admintools/admintools/main.php on line 377

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Identifier "template" is not defined.' in /home/johnnie/public_html/templates/yoo_nano3/warp/src/Warp/Warp.php:68 Stack trace: #0 /home/johnnie/public_html/templates/yoo_nano3/error.php(27): Warp\Warp->offsetGet('template') #1 /home/johnnie/public_html/libraries/joomla/document/error/error.php(135): require_once('/home/johnnie/p...') #2 /home/johnnie/public_html/libraries/joomla/document/error/error.php(107): JDocumentError->_loadTemplate('/home/johnnie/p...', 'error.php') #3 /home/johnnie/public_html/libraries/legacy/error/error.php(791): JDocumentError->render(false, Array) #4 /home/johnnie/public_html/plugins/system/redirect/redirect.php(134): JError::customErrorPage(Object(InvalidArgumentException)) #5 [internal function]: PlgSystemRedirect::handleError(Object(InvalidArgumentException)) #6 {main} thrown in /home/johnnie/public_html/templates/yoo_nano3/warp/src/Warp/Warp.php on line 68

is it admintools related?

tampe125
Akeeba Staff
Hello Johnnie,

Admin Tools is throwing a warning, but that's not a big deal, the real error is thrown by your template.
Can you please try to disable Admin Tools plugin? Do you still have the same error?

P.s. The warning you are receiving it's quite strange, can you please try to reinstall Admin Tools? I suspect Joomla forgot to copy some files...

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!

johnniek2
I have contacted my hosting provider and they told me to update the plugin :-)

nicholas
Akeeba Staff
Manager
The Fatal Error you get is a well-known bug in Warp and Gantry templates. It is trivial for an actual PHP developer who understands how Joomla! works to fix that in those frameworks. Unfortunately, these template companies do not seem to employ any real PHP developers, but I digress.

The easy workaround is exactly what Davide told you: reinstall Admin Tools because Joomla! forgot to copy some files. The easy method is:
- Delete the plugins/system/admintools directory using FTP or your host's control panel
- Log in to the back-end of your site
- Go to Extensions, Extensions Manager and install the Admin Tools Professional 3.3.1 ZIP file twice in a row, without uninstalling Admin Tools at any point before or in between.

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!

johnniek2
got it thanks... will do so

FYI (if it helps) when I asked the hosting company what they did to make it work again,
they said they renamed ADMINTOOLS FOLDER cleared page cache and template cache, and renamed the folder back to original

tampe125
Akeeba Staff
Ok, thank you for your feedback.
So I can consider this issue and close the ticket?

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!

johnniek2
yes of course

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!