Steps to reproduce the issue
Update the current version of Joomla from 5.1.0 to 5.1.1 or 5.1.2
Expected result
No errors must be shown
Actual result
An error has occurred.
4 Syntax error
# | Function | Location
-- | -- | --
1 | () | JROOT/libraries/vendor/php-tuf/php-tuf/src/Metadata/MetadataBase.php:90
2 | json_decode() | JROOT/libraries/vendor/php-tuf/php-tuf/src/Metadata/MetadataBase.php:90
3 | Tuf\Metadata\MetadataBase::createFromJson() | JROOT/libraries/vendor/php-tuf/php-tuf/src/Client/Repository.php:67
4 | Tuf\Client\Repository->getTimestamp() | JROOT/libraries/vendor/php-tuf/php-tuf/src/Client/Updater.php:181
5 | Tuf\Client\Updater->updateTimestamp() | JROOT/libraries/vendor/php-tuf/php-tuf/src/Client/Updater.php:148
6 | Tuf\Client\Updater->refresh() | JROOT/libraries/src/TUF/TufFetcher.php:118
7 | Joomla\CMS\TUF\TufFetcher->getValidUpdate() | JROOT/libraries/src/Updater/Adapter/TufAdapter.php:84
8 | Joomla\CMS\Updater\Adapter\TufAdapter->getUpdateTargets() | JROOT/libraries/src/Updater/Adapter/TufAdapter.php:50
9 | Joomla\CMS\Updater\Adapter\TufAdapter->findUpdate() | JROOT/libraries/src/Updater/Updater.php:263
10 | Joomla\CMS\Updater\Updater->getUpdateObjectsForSite() | JROOT/libraries/src/Updater/Updater.php:164
11 | Joomla\CMS\Updater\Updater->findUpdates() | JROOT/administrator/components/com_joomlaupdate/src/Model/UpdateModel.php:181
12 | Joomla\Component\Joomlaupdate\Administrator\Model\UpdateModel->refreshUpdates() | JROOT/administrator/components/com_joomlaupdate/src/Controller/DisplayController.php:81
13 | Joomla\Component\Joomlaupdate\Administrator\Controller\DisplayController->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:730
14 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
15 | Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() | JROOT/libraries/src/Component/ComponentHelper.php:361
16 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/AdministratorApplication.php:150
17 | Joomla\CMS\Application\AdministratorApplication->dispatch() | JROOT/libraries/src/Application/AdministratorApplication.php:195
18 | Joomla\CMS\Application\AdministratorApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:306
19 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/administrator/includes/app.php:58
20 | require_once() | JROOT/administrator/index.php:32
</div>
<p>
</p><!--EndFragment-->
System information (as much as possible)
Additional comments
Hi Colleagues,
I just found what exactly caused the issue. It was due to something, which I don't know. But, when I re-installed Joomla 5.1.2 by downloading it from Joomla.org, the issue was resolved. Sorry for posting this as an issue. I'm closing it here with more happiness.