I am getting this fatal error on the admin login page. Seems like it came around once a new version is released.
*I set my admin to find J4 updates from the update stream
Admin login form
Error page
Joomla 4.0 alpha 8
1 | () | JROOT/plugins/system/updatenotification/updatenotification.php:331
2 | PlgSystemUpdatenotification->getSuperUsers() | JROOT/plugins/system/updatenotification/updatenotification.php:210
3 | PlgSystemUpdatenotification->onAfterRender() | JROOT/libraries/src/Plugin/CMSPlugin.php:285
4 | Joomla\CMS\Plugin\CMSPlugin->Joomla\CMS\Plugin{closure}() | JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:412
5 | Joomla\Event\Dispatcher->dispatch() | JROOT/libraries/src/Application/EventAware.php:111
6 | Joomla\CMS\Application\WebApplication->triggerEvent() | JROOT/libraries/src/Application/CMSApplication.php:976
7 | Joomla\CMS\Application\CMSApplication->render() | JROOT/libraries/src/Application/AdministratorApplication.php:450
8 | Joomla\CMS\Application\AdministratorApplication->render() | JROOT/libraries/src/Application/CMSApplication.php:247
9 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/administrator/includes/app.php:63
10 | require_once() | JROOT/administrator/index.php:36
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-07-01 12:36:57 |
Closed_By | ⇒ | franz-wohlkoenig |
Labels |
Added:
J4 Issue
|
Nightly Builds cannot be updated in Alpha. Please install a fresh Build.
Then the Nightly Builds page should be updated as it suggests an update stream for the J4 alphas.
https://developer.joomla.org/nightly-builds.html
Btw. This stream was working perfectly updating all the previous J4 alphas
Status | Closed | ⇒ | New |
Closed_Date | 2019-07-01 12:36:57 | ⇒ | |
Closed_By | franz-wohlkoenig | ⇒ |
The error comes from this code:
Table::getInstance('Asset', 'Table')->getRootId();
Table::getInstance() returns a Table object or false (when it fails).
Trying to call getRootId() from a boolean causes a fatal error.
Possibly some type check should be preceded.
$table=Table::getInstance('Asset', 'Table');
if($table===false) {
return $ret;
}
$rootId=$table->getRootId();
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-07-01 17:28:41 |
Closed_By | ⇒ | Quy |
@sakiss please mark your test as successfully (how to: https://docs.joomla.org/Testing_Joomla!_patches#Recording_test_results)
Nightly Builds cannot be updated in Alpha. Please install a fresh Build.