I can’t get the MslsBlogCollection class with 2.0.3 release
-
I just updated from MSLS 1.1 to 2.0.3. After this update the whole website down.
It seems that I can’t get the MslsBlogCollection class now.
debug.log :
[16-Dec-2018 11:59:40 Europe/Paris] PHP Fatal error: Class ‘MslsBlogCollection’ not found in /home/xxxxxxx/wp-content/themes/cte/header.php on line 53Here is the code (from header.php – lines 52 to 56) that runs with the 1.1 version and breaks now with 2.0.3 :
<div class="language"> <?php $blog = MslsBlogCollection::instance()->get_current_blog(); $language = $blog->get_language();?> <div id="langswitcher" class="bfh-selectbox bfh-languages" data-language="<?php echo $language;?>" data-available="fr_FR,en_GB,de_DE,es_ES" data-flags="true" data-blank="false"> </div> </div>
Any idea to solve this issue ?
Thanks a lot
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘I can’t get the MslsBlogCollection class with 2.0.3 release’ is closed to new replies.