J4 PHP8 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()

NordicJoomla 22 Oct, 2021
Hello, big thanks for ChronoForms, great work! I use this for many years.
Now, after clean (new) installation of Joomla 4.0.3 on Apache/PHP8 i install "chronoforms_v7.0.7.zip" and Joomla is not operational at all :-(
Clicking of any options makes error, it is unable login/logoff.
0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()
Something like
https://github.com/joomla/joomla-cms/issues/24642
https://forum.joomla.org/viewtopic.php?t=988008
GreyHead 23 Oct, 2021
Hi NordicJoomla,

It looks as if the calling code needs to be changed to
AdministratorApplication::isClient('administrator')


Unfortunately I am not familiar with the CFv7 code and at the moment don't have a way to search to see where the change needs to be made :-(

Bob
Elita- 25 Oct, 2021
NordicJoomla, Bob is correct -
there are several places in different files (if I remebmber correctly) you should adjust this. However that will not be the only error.

In Joomla 4 there are many depreciated methods that should be replaced - thats why I created this post -
https://www.chronoengine.com/forums/posts/t109619/chronoforms-with-php8-and-joomla-4

Please, do not hesitate to write there when you find any solution.

Elita
Elita- 25 Oct, 2021
P.S. this code should be adjusted in CF6 and CCv6 also. but - as I said, that won't let the CF run on Joomla 4.
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger