Warning: in_array() expects parameter 2 to be array, boolean given in /home2/ab79200/public_html/modules/core/classes/Gallery.class on line 651

Warning: Cannot modify header information - headers already sent by (output started at /home2/ab79200/public_html/modules/core/classes/Gallery.class:651) in /home2/ab79200/public_html/modules/core/classes/GalleryPhpVm.class on line 142
Error!
Warning: in_array() expects parameter 2 to be array, boolean given in /home2/ab79200/public_html/modules/core/classes/Gallery.class on line 651

Debug Output

file_exists(/home2/ab79200/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) file_exists(/home2/ab79200/public_html/modules/rewrite/classes/parsers/modrewrite/ModRewriteUrlGenerator.class) getParameter modrewrite.galleryLocation for rewrite plugin file_exists(/home2/ab79200/g2data/cache/module/rewrite/0/0/0.inc) getParameter shortUrls for rewrite plugin getParameter language.useBrowserPref for core plugin file_exists(/home2/ab79200/g2data/cache/module/core/0/0/0.inc) getParameter default.language for core plugin controller , view Loading plugin core Class not defined, trying to include it. file_exists(/home2/ab79200/public_html/modules/core/module.inc) core plugin successfully instantiated file_exists(/home2/ab79200/g2data/versions.dat) file(/home2/ab79200/g2data/versions.dat, ) getParameter id.rootAlbum for core plugin
(mysqli): SET NAMES "utf8"  

(mysqli): SELECT g2_FileSystemEntity.g_id FROM g2_FileSystemEntity, g2_ChildEntity WHERE g2_ChildEntity.g_parentId = 7 AND g2_ChildEntity.g_id = g2_FileSystemEntity.g_id AND g2_FileSystemEntity.g_pathComponent = 'questionbirds'  

(mysqli): SELECT g2_FileSystemEntity.g_id FROM g2_FileSystemEntity, g2_ChildEntity WHERE g2_ChildEntity.g_parentId = 19661 AND g2_ChildEntity.g_id = g2_FileSystemEntity.g_id AND g2_FileSystemEntity.g_pathComponent = 'Bianco Blu Bird-2.jpg'  
file_exists(/home2/ab79200/public_html/modules/httpauth/classes/HttpAuthPlugin.class) file_exists(/home2/ab79200/g2data/cache/module/httpauth/0/0/0.inc) getParameter id.anonymousUser for core plugin [1732707611] can't guarantee 5 -- extending! file_exists(/home2/ab79200/g2data/cache/entity/0/0/5.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin file_exists(/home2/ab79200/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the core plugin is ok file_exists(/home2/ab79200/public_html/modules/core/ShowItem.inc) getParameter id.adminGroup for core plugin
(mysqli): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId AND g2_Schema.g_type = 'map' AND g2_PluginMap.g_active = 1  

(mysqli): SELECT g_userId FROM g2_UserGroupMap WHERE g_userId=5 AND g_groupId=3 LIMIT 1  
Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok file_exists(/home2/ab79200/public_html/modules/core/MaintenanceMode.inc) file_exists(/home2/ab79200/public_html/modules/httpauth/module.inc) getParameter default.theme for core plugin Loading plugin siriux Class not defined, trying to include it. file_exists(/home2/ab79200/public_html/themes/siriux/theme.inc) siriux plugin successfully instantiated Check the version of the siriux plugin file_exists(/home2/ab79200/g2data/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the siriux plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok getParameter smarty.compile_check for core plugin getParameter id.adminGroup for core plugin realpath(/home2/ab79200/public_html/modules/core/classes/../../../) realpath(/home2/ab79200/public_html/) file_exists(/home2/ab79200/g2data/cache/entity/1/9/19667.inc) file_exists(/home2/ab79200/g2data/cache/entity/1/9/19180.inc)
(mysqli): SELECT g2_Schema.g_info FROM g2_PluginMap, g2_Schema WHERE g2_PluginMap.g_pluginId = g2_Schema.g_pluginId AND g2_Schema.g_type = 'entity' AND g2_PluginMap.g_active = 1  

(mysqli): SELECT g2_Group.g_id, g2_Group.g_groupName FROM g2_UserGroupMap, g2_Group WHERE g2_Group.g_id = g2_UserGroupMap.g_groupId AND g2_UserGroupMap.g_userId = 5 ORDER BY g2_Group.g_groupName LIMIT 18446744073709551615  

(mysqli): SELECT g_module, g_permission, g_description, g_bits, g_flags FROM g2_PermissionSetMap  

(mysqli): SELECT DISTINCT g2_AccessMap.g_accessListId FROM g2_AccessMap WHERE g2_AccessMap.g_userOrGroupId IN (5,4) AND g2_AccessMap.g_permission & 1 = 1  

(mysqli): SELECT g_itemId FROM g2_AccessSubscriberMap WHERE g_itemId=19667 AND g_accessListId IN (10361,19774,20300,20314,20366,20402,20403,20404,20490,20662,20679,20965,20977,21123,21208,21323,21970,21974,23057,23061,23063,23417) LIMIT 1  
file_exists(/home2/ab79200/g2data/cache/entity/1/9/19661.inc) getParameter default.theme for core plugin Loading plugin siriux siriux plugin successfully instantiated Check the version of the siriux plugin The version of the siriux plugin is ok file_exists(/home2/ab79200/g2data/smarty/templates_c/%%3142881071/siriux) is_dir(/home2/ab79200/g2data/smarty/templates_c/%%3142881071/siriux) file_exists(/home2/ab79200/g2data/smarty/templates_c/%%3142881071/siriux) is_writeable(/home2/ab79200/g2data/smarty/templates_c/%%3142881071/siriux) file_exists(/home2/ab79200/g2data/smarty/templates_c/%%3142881071/siriux/v_14) file_exists(/home2/ab79200/g2data/cache/theme/_all/localUrlMap.txt) file_exists(/home2/ab79200/public_html/lib/javascript/local/BlockToggle.js) file_exists(/home2/ab79200/public_html/modules/core/../../themes/siriux/local/theme.css) file_exists(/home2/ab79200/public_html/themes/siriux/local/theme.css)