Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Nota › Mobile language switcher cause fatal error
New Landing › How can we help? › Themeforest Theme Support › Nota › Mobile language switcher cause fatal error
- This topic has 7 replies, 2 voices, and was last updated 6 years by David Martin – Support.
-
Posted in: Nota
-
May 31, 2017 at 7:46 am #326540
Hi guys,
I use WPML to translate a website and when i activated the mobile language switcher my site crashed.
This is the error:
Fatal error: Uncaught Error: Call to undefined function sf_language_flags() in /home/kdz/domains/kdz.com/public_html/wp-content/themes/nota/framework/core/header.php:980 Stack trace: #0 /home/kdz/domains/kdz.com/public_html/wp-includes/class-wp-hook.php(298): nota_mobile_menu(”) #1 /home/kdz/domains/kdz.com/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/kdz/domains/kdz.com/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/kdz/domains/kdz.com/public_html/wp-content/themes/nota/header.php(32): do_action(‘nota_before_pag…’) #4 /home/kdz/domains/kdz.com/public_html/wp-includes/template.php(684): require_once(‘/home/kdz/domai…’) #5 /home/kdz/domains/kdz.com/public_html/wp-includes/template.php(643): load_template(‘/home/kdz/domai…’, true) #6 /home/kdz/domains/kdz.com/public_html/wp-includes/general-template.php(45): locate_template(Array, true) #7 /home/kdz/domains/kdz.com/public_html/wp-content/themes/nota/page.php(11): get_header() #8 /home/kdz/do in /home/kdz/domains/kdz.com/public_html/wp-content/themes/nota/framework/core/header.php on line 980Any idea how to fix this?
– Erik
May 31, 2017 at 7:53 am #326541Are you certainly on 1.0.5+ and not overriding the language switcher via child theme? That was fixed back in 1.0.2/3 I believe.
Thanks
June 7, 2017 at 12:03 pm #327382Hi,
I thought i updated the theme but didn’t. After i updated the problem isn’t solved. I stil get a fatal error:
Fatal error: Uncaught Error: Call to undefined function sf_language_flags() in /home/kdz/domains/kdz.com/public_html/wp-content/themes/nota/framework/core/header.php:979 Stack trace: #0 /home/kdz/domains/kdz.com/public_html/wp-includes/class-wp-hook.php(298): nota_mobile_menu(”) #1 /home/kdz/domains/kdz.com/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #2 /home/kdz/domains/kdz.com/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/kdz/domains/kdz.com/public_html/wp-content/themes/nota/header.php(32): do_action(‘nota_before_pag…’) #4 /home/kdz/domains/kdz.com/public_html/wp-includes/template.php(684): require_once(‘/home/kdz/domai…’) #5 /home/kdz/domains/kdz.com/public_html/wp-includes/template.php(643): load_template(‘/home/kdz/domai…’, true) #6 /home/kdz/domains/kdz.com/public_html/wp-includes/general-template.php(45): locate_template(Array, true) #7 /home/kdz/domains/kdz.com/public_html/wp-content/themes/nota/page.php(11): get_header() #8 /home/kdz/do in /home/kdz/domains/kdz.com/public_html/wp-content/themes/nota/framework/core/header.php on line 979As far as i know i don’t override the language switcher in the child theme.
June 7, 2017 at 12:10 pm #327384Strange it must have been removed during a merge of our git branches. If you add your FTP details, I’ll resolve that now for you.
June 7, 2017 at 12:13 pm #327385This reply has been marked as private.June 7, 2017 at 2:14 pm #327422Great, I have now added that.
Will get that patch added back in.
June 7, 2017 at 2:25 pm #327426Great, thanks a lot
June 7, 2017 at 2:44 pm #327436Glad to help you out!
-
Posted in: Nota
You must be logged in and have valid license to reply to this topic.