UPDATE: Concrete22.214.171.124 fixes the issue mentioned below – if you’re running Concrete5.5.2, you should just upgrade to 126.96.36.199 to fix this problem (and several other bugs).
A rather nasty bug was introduced in Concrete 5.5.2 that affects many image gallery addons (Simple Image Gallery, Sortable Fancybox Gallery, Deluxe Image Gallery, etc.) as well as the File Manager’s “File Sets” page.
The error looks like this:
Fatal error: func_get_args(): Can't be used as a function parameter in [...]/updates/concrete5.5.2/concrete/libraries/item_list.php on line 515
(or it may look like this, if your site started out with 5.5.2 as opposed to being upgraded):
Fatal error: func_get_args(): Can't be used as a function parameter in [...]/concrete/libraries/item_list.php on line 515
It appears that this bug will be addressed in the next release of the system, but who knows when that will happen. In the meantime, you can fix this on your site by making a small modification to the file mentioned in the error message (look for
SITEROOT/updates/concrete5.5.2/concrete/libraries/item_list.php first, but if that file doesn’t exist then look for
Find this line of code (should be around line #515):
$this->sortByString = implode(', ', func_get_args());
…and replace that 1 line with these 2 lines:
$args = func_get_args(); $this->sortByString = implode(', ', $args);
As soon as you save that file, your image galleries and file manager should immediately start working again.