Fix error in script when upgrade from JG3 to JG4#161
Fix error in script when upgrade from JG3 to JG4#161Elfangor93 merged 10 commits intoJoomGalleryfriends:mainfrom
Conversation
|
I have tried the upgrate with this PR. OS: Windows |
Yes, I have excluded this, because i didn't know how I want to solve this with the upgrade script. But now I know and we can include it. |
The two missing use stamenets are now in and the errror should be solved. |
Thanks. |
Yes, Now I make a test upgrade from Joomla 3.10.12 to Joomla 4.4.0
Installation now overall successful, but |
|
Question: |
No, first you have to migrate to Joomla 4.4, See https://docs.joomla.org/Joomla_4.4.x_to_5.x_Planning_and_Upgrade_Step_by_Step |
|
With Joomla 5 (or better PHP 8.2) there are still some issues everywhere in the code. Therefore up until now please use the JG4 only up until Joomla 4.4 and up until PHP 8.1. |
|
Found the problem to this error: Since Joomla 4.4 and Joomla 5.x there is a change in the behavior of File::delete() depending if you use it as |
|
It has to be discussed how to solve this issue... |
|
@MrMusic Can you give this a last check? |
|
Error is fixed! After upgrade from Joomla 3.10.12/JoomGallery 3.6.2 this PR is installable and the default category was created correctly. |
Upgrade from JG3 to JG4 creates an error, when script tries to uninstall modules.
51538c1 to
a84971e
Compare






Upgrade from JG3 to JG4 created an error, when script tries to uninstall modules during the upgrading process. Line 180 of script.php
$this->uninstallModules(array('mod_joomgithub'));throws an error because it tries to call methodchildren()on variable type array.Thanks @csoscd for reporting this issue.