No Code Attached Yet
avatar ceford
ceford
5 Apr 2024

Steps to reproduce the issue

Just installed 5.1RC1 and an extension i am working on. The Global Configuration screen has three red Notifications.

Expected result

Four green notifications.

Actual result

On green (Joola is up to date) and three red. Two work but the Unknown extensions button gives an error:

An error has occurred.

    0 Attempt to assign property "name" on null 

Call Stack
# 	Function 	Location
1 	() 	JROOT/libraries/src/Updater/Adapter/ExtensionAdapter.php:73
2 	Joomla\CMS\Updater\Adapter\ExtensionAdapter->_startElement() 	 
3 	xml_parse() 	JROOT/libraries/src/Updater/Adapter/ExtensionAdapter.php:287
4 	Joomla\CMS\Updater\Adapter\ExtensionAdapter->findUpdate() 	JROOT/libraries/src/Updater/Updater.php:263
5 	Joomla\CMS\Updater\Updater->getUpdateObjectsForSite() 	JROOT/libraries/src/Updater/Updater.php:164
6 	Joomla\CMS\Updater\Updater->findUpdates() 	JROOT/administrator/components/com_installer/src/Model/UpdateModel.php:275
7 	Joomla\Component\Installer\Administrator\Model\UpdateModel->findUpdates() 	JROOT/administrator/components/com_installer/src/Controller/UpdateController.php:113
8 	Joomla\Component\Installer\Administrator\Controller\UpdateController->find() 	JROOT/libraries/src/MVC/Controller/BaseController.php:730
9 	Joomla\CMS\MVC\Controller\BaseController->execute() 	JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
10 	Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() 	JROOT/libraries/src/Component/ComponentHelper.php:361
11 	Joomla\CMS\Component\ComponentHelper::renderComponent() 	JROOT/libraries/src/Application/AdministratorApplication.php:150
12 	Joomla\CMS\Application\AdministratorApplication->dispatch() 	JROOT/libraries/src/Application/AdministratorApplication.php:195
13 	Joomla\CMS\Application\AdministratorApplication->doExecute() 	JROOT/libraries/src/Application/CMSApplication.php:306
14 	Joomla\CMS\Application\CMSApplication->execute() 	JROOT/administrator/includes/app.php:58
15 	require_once() 	JROOT/administrator/index.php:32 

System information (as much as possible)

MacOS (intel), Apache, MySQL 8.0.33, PHP 8.3.1

Additional comments

avatar ceford ceford - open - 5 Apr 2024
avatar ceford ceford - change - 5 Apr 2024
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 5 Apr 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Apr 2024
avatar ceford
ceford - comment - 5 Apr 2024

Ah! Seems the Red notifications are related to my own plugin. I uninstalled it an the buttons went green.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43218.

avatar ceford ceford - close - 5 Apr 2024
avatar ceford
ceford - comment - 5 Apr 2024

Seems I defined an update server but did not provide one. Mea Culpa!

avatar ceford ceford - change - 5 Apr 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-04-05 17:46:20
Closed_By ceford
avatar brianteeman
brianteeman - comment - 5 Apr 2024

@ceford so it was actually a good thing to do as testing should always include testing for when things go wrong as well as for when they are correct

avatar roppit
roppit - comment - 17 Apr 2024

I having the same outcome with 3 red buttons and same arror: An error has occurred.
0 Attempt to assign property "name" on null
which plugin was it about?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43218.

Add a Comment

Login with GitHub to post a comment