I have tried to move a couple Joomla 5.1 sites to 5.2 under PHP 8.2.
I waited for the pre-update checker to finish its job of checking extensions.
Pre-update checks ends.
They never do.
5.1 to 5.2 update
PHP 8.2.19
MySQL 8.0.32
This is the error I get when looking at the data before the json info is parsed:
<br />
<b>Deprecated</b>: Creation of dynamic property Joomla\CMS\Updater\Update::$length is deprecated in <b>E:\bearsampp\www\MyWork_5_latest_free\libraries\src\Updater\Update.php</b> on line <b>486</b><br />
<br />
<b>Deprecated</b>: Creation of dynamic property Joomla\CMS\Updater\Update::$length is deprecated in <b>E:\bearsampp\www\MyWork_5_latest_free\libraries\src\Updater\Update.php</b> on line <b>486</b><br />
{"success":true,"message":null,"messages":null,"data":{"compatibility": ...
Having the warning in the response forces the json parsing to fail.
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
PHP 8.x
Removed: No Code Attached Yet |
can you check adding declaration of $length
in the Joomla\CMS\Updater\Update class , should solve
You can set the errror reporting to none, then you can continue with the update
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-10-19 15:43:19 |
Closed_By | ⇒ | richard67 |
I had the same issue on one site - initially I tried doing so as a test from an iPhone 15 Pro (via Safari) and also then when I got home from a laptop running Safari 18 same result/issue as above