WordPress.org

Support

Support » Themes and Templates » Upgrade to 3.5.2 child theme no longer connects to parent theme?

Upgrade to 3.5.2 child theme no longer connects to parent theme?

  • Hello,

    I recently was hired to help out on a site I did not create. Apparently it was created on an older version of WP (I have to assume 3.0 but not sure), but the client upgraded to 3.5 and did not back anything up. When this happened the website started giving errors throughout the site. They a follow the same pattern it does not like the foreach function for elements like Slides or Newsposts etc. It like any dynamic functionality provided by the parent theme no longer is recognized by the child.

    Example

    Warning: Invalid argument supplied for foreach() in /home/peersnet/public_html/wp-content/themes/peersnetwork/page-home.php on line 63

    the line 63 referred to is this:

    <?php
    	if ($cta1_group) {
    		foreach($cta1_group as $cta) :
       ?>

    Things I’ve tried:

    I activated another theme and tried re-activating the child theme.

    Double check the css code in the style.css sheet seems to work fine.

    The Parent theme works without error, but doesn’t have the vast change the child theme has.

    Tried uploading an updated version of the purchased parent theme but hte same problem exisits.

    Does anyone know what could be going on here?

    Thanks for your help.

  • The topic ‘Upgrade to 3.5.2 child theme no longer connects to parent theme?’ is closed to new replies.
Skip to toolbar