Support

Admin Tools

#35707 Joomla 3 --> Joomla 4

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 trogladyte on Friday, 27 August 2021 09:40 CDT

trogladyte

I noted elsewhere that a bug in Joomla's update routine is throwing false positives regarding extensions needing an upgrade prior to migration. Just today, I've started to see Admin Tools appearing as extensions requiring upgrade prior to migrating to Joomla 4.

I decided to take this with a grain of salt, and it was the only extension Joomla was complaining about (apart from a few other random ones in the "We couldn't tell" section which I had the latest, and J!4 compatible, installs of). So I went ahead and did the Joomla upgrade. The upgrade for Joomla was fine, but I DID have an Admin Tools issue:

An error has occurred.
0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()
As I can't upgrade to a Joomla 4 version prior to migration, do I need to uninstall Admin Tools, migrate then install the Joomla 4 version.
Apologies if this has already been asked and answered. I did have a look but couldn't find any posts.

 

trogladyte

Sorry, please ignore the error. Just noticed that it has nothing (that I can now tell) to do with Akeeba. Apologies. Still interested in dealing with the migration and Akeeba extensions.

nicholas
Akeeba Staff
Manager

This definitely comes from an older extension. The isSite/isAdmin methods have been replaced by isClient since Joomla 3.6 if I recall correctly. Once we dropped support form Joomla 3.8 we did change our software to use isClient.

This change did catch many developers by surprise because it's not logged as deprecated, while Joomla tells developer to look at the deprecated log to figure out if they need to change something. So much fun.

I actually wrote my own code which trawls through the released Joomla version, finds deprecate stuff and creates Rector configuration files so I can upgrade my code based on the desired minimum Joomla target version. Even that only gets me 80% of the way there but, hey, it's better than “where the funk do I even get started” that most developers have to deal with.

Oh, well :)

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!

trogladyte

Thanks for the explanation Nicholas. As always, your great support matches the quality of your products! I never set up any new site w/o both Backup and Admin Tools installed.

It seems, from reading posts and GitHub reports, that there are often little gotchas - like depracations -  with Joomla upgrades that miss getting though of or reported. Must be highly annoying for developers to suddenly have their creation stop working or work in unexpected ways.

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!