• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.

call to undefined function

Status
Not open for further replies.

Shadowized

Chevereto Member
Fatal error: Call to undefined function show_language_html_tags() in /content/themes/Peafowl/header.php on line 3

this is with the 2.5.0 zip, I'm guessing you forgot to remove this function since it is no longer in use? its called for 5 times in various theme templates, but the function itself doesn't exit.

I solved it by removing the request from each file individually, bit awkward though.
 
The function exists, make sure that you uploaded the includes/function.php file

PHP:
function get_language_html_tags($lang_iso_code='') {
    $lang_iso_code = (!check_value($lang_iso_code) ? $lang_code : $lang_iso_code);
    return 'xml:lang="'.get_lang_used().'" lang="'.get_lang_used().'" dir="'.get_language_direction($lang_iso_code).'"';
}
register_show_function('get_language_html_tags', '$lang_iso_code=\'\'');
 
Status
Not open for further replies.
Back
Top