Re: Errors when installing WP Hot Destinations theme

Hot WordPress Themes Support Forum WordPress Themes Destinations Errors when installing WP Hot Destinations theme Re: Errors when installing WP Hot Destinations theme

#884
Milos Stankovic
Keymaster

It would appear there is an issue with the array_merge function in header.php. This is what I modified the code to, for testing:

$bcg_images = array($backgrounds_dir.’*.jpg’);
/* $bcg_images = array_merge($bcg_images, glob($backgrounds_dir.’*.jpeg’));
$bcg_images = array_merge($bcg_images, glob($backgrounds_dir.’*.png’));
$bcg_images = array_merge($bcg_images, glob($backgrounds_dir.’*.gif’));
*/

Note, the first line had array_merge, which I changed to simply array. The theme works, but the images don’t cycle in the background. After the first one, the background goes white.

How old is this theme? Which version of PHP and WordPress was it designed for?

I would appreciate assistance with further isolating and correcting any code issues. At least I’ve managed to give the developers a quick start.

Thanks.