PHP error in get_flag_by_language
-
After upgrading to version 2.1.1 of MultiLingual Press I’m receiving PHP errors regarding changes in the API:
Warning: strtok() expects parameter 1 to be string, array given in /Users/rtweedie/Sites/bv-2014/wordpress/content/plugins/multilingual-press/inc/core/language-api/Mlp_Language_Api.php on line 286
It looks like the languages are being stored as an array and so the string tokeniser function is having problems.
Should this be added to github as an issue followed by a pull request?
I’m using PHP 5.6 on Mac OS X 10.9.5.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP error in get_flag_by_language’ is closed to new replies.