This File is causing my headaches....
functions_gallery_store.php:
PHP Code:
<?php
// ################### PRE-CACHE TEMPLATES AND DATA ######################
if (PHP_VERSION < '5.0.0') {
// get special phrase groups
$phrasegroups = array_merge($phrasegroups, array(
'adv_gallery'
));
// get special data templates from the datastore
$specialtemplates = array_merge($specialtemplates, array(
'gallery_c_cache',
'adv_gallery_opt',
'gallery_ugroups',
));
}else{
/*
PHP5.x - ONLY
The behavior of array_merge() was modified in PHP 5.
Unlike PHP 4, array_merge() now only accepts parameters of type array.
However, you can use typecasting to merge other types.
*/
// get special phrase groups
$phrasegroups = array_merge((array)$phrasegroups, (array)array(
'adv_gallery'
));
// get special data templates from the datastore
$specialtemplates = array_merge((array)$specialtemplates, (array)array(
'gallery_c_cache',
'adv_gallery_opt',
'gallery_ugroups',
));
}
?>
Possibly the PHP5 Inclusion?
PHP Code:
// get special phrase groups
$phrasegroups = array_merge((array)$phrasegroups, (array)array(
'adv_gallery'
));