Little Miss
08-07-2012, 10:43 AM
Hi everyone,
I am going to say the dreaded "I'm a newbie", but any help on this would be appreciated.
I am helping set up a wordpress website for a charitable organisation. The theme seemed to be working fine, then something went wrong! Typically.
We got this message:
Invalid argument supplied for foreach() in /home/cfmnz/public_html/wp-content/themes/multidesign/index.php on line 42
This pertained to the photo slider on the home page of the theme.
Searching through the index.php uncovered the line:
if ( function_exists( 'get_option_tree' ) ) {
$slides = get_option_tree( 'home_slider', $option_tree, false, true, -1 );
foreach( $slides as $slide ) { ?>
Basically something keeps on breaking when we try to upload an image or even as we activated it. As you can see the theme uses Option Tree and we have disabled any additional plug ins that might be the cause.
If anyone might have some answers, it would be dearly appreciated!
I am going to say the dreaded "I'm a newbie", but any help on this would be appreciated.
I am helping set up a wordpress website for a charitable organisation. The theme seemed to be working fine, then something went wrong! Typically.
We got this message:
Invalid argument supplied for foreach() in /home/cfmnz/public_html/wp-content/themes/multidesign/index.php on line 42
This pertained to the photo slider on the home page of the theme.
Searching through the index.php uncovered the line:
if ( function_exists( 'get_option_tree' ) ) {
$slides = get_option_tree( 'home_slider', $option_tree, false, true, -1 );
foreach( $slides as $slide ) { ?>
Basically something keeps on breaking when we try to upload an image or even as we activated it. As you can see the theme uses Option Tree and we have disabled any additional plug ins that might be the cause.
If anyone might have some answers, it would be dearly appreciated!