The library is uninstalled
Call to a member function attributes() on null
D:\www\beta\plugins\actionlog\joomla\joomla.php:428
1 | () | JROOT\plugins\actionlog\joomla\joomla.php:428
2 | PlgActionlogJoomla->onExtensionAfterUninstall() | JROOT\libraries\joomla\event\event.php:70
3 | JEvent->update() | JROOT\libraries\joomla\event\dispatcher.php:160
4 | JEventDispatcher->trigger() | JROOT\libraries\src\Installer\Installer.php:773
5 | Joomla\CMS\Installer\Installer->uninstall() | JROOT\administrator\components\com_installer\models\manage.php:246
6 | InstallerModelManage->remove() | JROOT\administrator\components\com_installer\controllers\manage.php:105
7 | InstallerControllerManage->remove() | JROOT\libraries\src\MVC\Controller\BaseController.php:710
8 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT\administrator\components\com_installer\installer.php:19
9 | require_once() | JROOT\libraries\src\Component\ComponentHelper.php:382
10 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT\libraries\src\Component\ComponentHelper.php:357
11 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT\libraries\src\Application\AdministratorApplication.php:101
12 | Joomla\CMS\Application\AdministratorApplication->dispatch() | JROOT\libraries\src\Application\AdministratorApplication.php:159
13 | Joomla\CMS\Application\AdministratorApplication->doExecute() | JROOT\libraries\src\Application\CMSApplication.php:195
14 | Joomla\CMS\Application\CMSApplication->execute() | JROOT\administrator\index.php:51
Joomla 3.9 beta
For some reasons, this command https://github.com/joomla/joomla-cms/blob/staging/plugins/actionlog/joomla/joomla.php#L425, $manifest is null and it causes the issue
Sometime, I also see that install library gets similar issue, too. Mean $manifest after this command is also null https://github.com/joomla/joomla-cms/blob/staging/plugins/actionlog/joomla/joomla.php#L368
The main question here is when install/uninstall extension, do we have a case which this command return null?
lib_osphpexcel.zip
$manifest = $installer->get('manifest');
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
Category | ⇒ | Libraries |
should happen not only with libraries.... i've experienced something similar with pkg_weblinks maybe a too old one,
surely https://github.com/joomla/joomla-cms/blob/staging/plugins/actionlog/joomla/joomla.php#L408
needs more care
Labels |
Added:
J3 Issue
|
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-09-18 16:22:14 |
Closed_By | ⇒ | Quy |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/22221
See PR #22237
Confirmed for several libraries (with 3.9 nightly of yesterday). I thought that my libraries/packages are buggy somewhere ;-) Main problem was that packages that contain libraries can't be uninstalled completely.