Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!
Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.
Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is most likely no translated for the post!
WordPress - Multi Language Switcher crashes website (v2.0.3)
December 20, 2018 5:31 AM
Not sure if I'm the only one ... but I just upgraded Multi Language Switcher to the latest version (2.0.3) and found my page no longer loading.
I did figure out a fix though.
It seems that the function "get_the_msls" is crashing when not passing any parameters - a specific API call I used in my theme - which never used to be a problem.
Thank goodness the fix is easy;
Go into your functions.php, and find the line with "get_the_msls()" in it.
Now update this to "get_the_msls()" (passing an empty array).
That's all ...