Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry Issues with an index.php

    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!

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,091
    Thanks
    51
    Thanked 506 Times in 493 Posts
    I would suggest you check out wordpress support. Wordpress is a rather large program and no-one here will know it in-depth enough to be able to help.
    My helpful sig is on vacation trying to loose some weight. It got a bit fat and caused a few problems but it will be back at some point!


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •