Ondersteuning » Code oplossingen gezocht » Fatal error: Cannot redeclare themify_footer_text_right()

  • Hallo

    Ik heb net een update gedaan van Themify en krijg ineens een fatal error. Mijn website is nu off line en kan niks wijzigen. Blijkbaar staat er iets niet goed in regel 95 onder thememodulus.

    Hoe kan ik het oplossen?

    Dit is de foutcode:

    Fatal error: Cannot redeclare themify_footer_text_right() (previously declared in /public/sites/www.birnstar.com/wordpress/wp-content/themes/itheme2/themify/themify-modules.php:1553) in /public/sites/www.birnstar.com/wordpress/wp-content/themes/itheme2/theme-modules.php on line 95.

    Dit staat er in de lijn 95:

    if(!function_exists(’themify_footer_text_left’)){
    /**
    * Footer Text Left Function
    * @return string
    */
    function themify_footer_text_left(){
    $data = themify_get_data();
    return ‘<p><textarea class=”widthfull” rows=”4″ name=”setting-footer_text_left”>’.$data[‘setting-footer_text_left’].'</textarea></p>’;
    }
    }

    if(!function_exists(’themify_footer_text_right’)){
    /**
    * Footer Text Right Function
    * @param array $data
    * @return string
    */
    function themify_footer_text_right(){
    $data = themify_get_data();
    return ‘<p><textarea class=”widthfull” rows=”4″ name=”setting-footer_text_right”>’.$data[‘setting-footer_text_right’].'</textarea></p>’;
    }
    }

  • Het onderwerp ‘Fatal error: Cannot redeclare themify_footer_text_right()’ is gesloten voor nieuwe reacties.