2016-11-14, 22:04:55
(This post was last modified: 2016-11-14, 23:42:51 by vish93.
Edit Reason: Further detail added
)
Hi guys I updated my GMS to 3.3.13 from 3.3.12. Now, when I go to edit my components they have all disappeared and cannot even add new ones. When I create one and save, it says it has been saved but I cannot see it.
What is going on ?
Update:
It looks to occur when I make a change and press save. I went to /data/other/components.xml and it shows empty. Replaced this file with one from back up I had and the components are back. But I cannot make changes as this removes them weirdly.
What could be happening here ?
Update 2:
Doing some digging I see in the error log:
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/gms/admin/components.php on line 46
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/gms/admin/components.php on line 66
foreach ($ids as $id) and foreach ($ids as $comp) are the two respective arguments. Is this a bug ?
What is going on ?
Update:
It looks to occur when I make a change and press save. I went to /data/other/components.xml and it shows empty. Replaced this file with one from back up I had and the components are back. But I cannot make changes as this removes them weirdly.
What could be happening here ?
Update 2:
Doing some digging I see in the error log:
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/gms/admin/components.php on line 46
PHP Warning: Invalid argument supplied for foreach() in /var/www/html/gms/admin/components.php on line 66
foreach ($ids as $id) and foreach ($ids as $comp) are the two respective arguments. Is this a bug ?