Array to string conversion
-
Hi,
since the latest update only one of the two language switchers on my site is working.
I use the function wpm_language_switcher() in the templates header.php and footer.php, but the one in the header doesn’t work anymore. Here’s the error notices and backtrace info.—
Array to string conversion
wp-content/plugins/wp-multilang/includes/wpm-core-functions.php:43
wp-content/plugins/wp-multilang/includes/wpm-core-functions.php:52Backtrace:
- get_header()
wp-content/themes/xxx/single.php:1 - locate_template()
wp-includes/general-template.php:45 - load_template(‘~/wp-content/themes/xxx/header.php’)
wp-includes/template.php:647 - wpm_language_switcher()
wp-content/themes/xxx/header.php:118 - wpm_get_language_switcher()
wp-content/plugins/wp-multilang/includes/wpm-template-functions.php:101 - wpm_get_template()
wp-content/plugins/wp-multilang/includes/wpm-template-functions.php:85
- get_header()
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Array to string conversion’ is closed to new replies.