When using APC or other Datastore caches, vBGallery does not work any longer and generates all sorts of errors like
Quote:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/.../gallery_global.php on line 72
Warning: Invalid argument supplied for foreach() in /var/.../gallery/gallery_global.php on line 236
Warning: Invalid argument supplied for foreach() in /var/.../gallery_global.php on line 236
Warning: Invalid argument supplied for foreach() in /var/.../gallery/gallery_global.php on line 236
Warning: Invalid argument supplied for foreach() in /var/.../gallery/gallery_global.php on line 236
|
To fix this, vBGallery must save datastore items that are arrays this way:
Code:
Content visible to verified customers only.
Also, loaded datastore items
must not be unserialized.