• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Error when clicking "Image Gallery" in Edit mode.

bradm

New Pleskian
Hello,

When in a user's edit section (step 4), clicking on "Image Gallery" gives the following error:

Fatal error: Cannot use string offset as an array in /usr/local/sitebuilder/include/Modules/ImageGallery/Image/List.php on line 39

Then, when clicking back in the browser, the following error is given:

Internal Sitebuilder error.
File: /usr/local/sitebuilder/include/Modules/Eshop/Product/List.php; Line: 28
Message: PHP Warning : Variable passed to each() is not an array or object; Code: 2

Any help on this is appreciated.
 
Did not meet such errors before. If it is possible, try to re-create Image Gallery and check it one more time. As I understand this issue related to only one specific site.
You can also try to check Sitebuilder log files (apache logs in /var/log/httpd/) on the server and Administrator Logs section in Sitebuilder admin CP. Probably you will find any related messages.
 
Back
Top