undefined function qtrans_getLanguage()
-
After updating to 2.8, we get the following error, and front end doesn’t load.
Fatal error: Call to undefined function qtrans_getLanguage() in /path/public_html/wp-content/themes/theme/header.php on line 37
Here’s the code from that section of header.php
<?php global $post; $slug = get_post( $post )->post_name; if(is_front_page()) { $slug = "home"; } $lang = qtrans_getLanguage(); ?>
We rolled back to 2.7.8, and it works fine. The changelog makes it look like you started on a wrapper for this function in 2.7.9, but didn’t finish. Should we stay on 2.7.8 until further notice?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘undefined function qtrans_getLanguage()’ is closed to new replies.