?
avatar pioprzyb
pioprzyb
1 Jan 2021

Steps to reproduce the issue

Installed new extention

Expected result

No error

Actual result

Error on both front and admin page. Unable to navigate in admin:

Error:
Call to undefined method Joomla\CMS\Application\AdministratorApplication::isSite()

System information (as much as possible)

Joomla 4.0 Beta

Additional comments

avatar pioprzyb pioprzyb - open - 1 Jan 2021
avatar joomla-cms-bot joomla-cms-bot - change - 1 Jan 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Jan 2021
avatar brianteeman
brianteeman - comment - 1 Jan 2021

The code in the extension is not compatible with joomla 4.

CMSApplication::isSite and CMSApplication::isAdmin have been removed as with the addition of the ConsoleApplication and ApiApplication can give misleading results. Please use CMSApplication::isClient (available from Joomla 3.7). See the docs

avatar wilsonge wilsonge - close - 2 Jan 2021
avatar wilsonge wilsonge - change - 2 Jan 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-01-02 03:17:49
Closed_By wilsonge

Add a Comment

Login with GitHub to post a comment