BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › broken code after plugin update
- This topic has 6 replies, 2 contibutors, and was last updated 8 years, 11 months ago by Anonymous.
Question
December 7, 2015 at 12:12 pm #53935@marionathanMy page doesn’t load. Enabling wordpress debug shows the following error:
“Fatal error: Call to undefined function boss_get_option() in /var/www/site/public/wp-content/plugins/boss-learndash/includes/main-class.php on line 1148”
This started to happen after plugin update.
Any idea how to fix it?
Answers
December 7, 2015 at 1:13 pm #53941@
AnonymousHi @marionathan, Please let us know about which version of Boss theme is installed at
If you have old version of the Boss theme,try to update it.
Current Boss theme Version is 2.0.4
Regards
Varun DubeyDecember 7, 2015 at 1:59 pm #53942@marionathanI have Boss 2.04, Social Learner 1.0.6 and Boss for LearnDash 1.0.5
December 8, 2015 at 11:51 am #54002@marionathanI found that it happens when Boss is not the active theme.
The “Boss for LearnDash” plugin is active even if the theme is not used.
This was not the behavior until the last update.
So the plugin is running and processing pages, which it should not.
Can you fix this please?
Thanks,
MarioDecember 8, 2015 at 12:37 pm #54006@
AnonymousHi @marionathan , Boss for Learndash is only for Boss as parent theme
You can comment
boss-learndash/includes/main-class.php
line 1148$theme_layout = boss_get_option( 'boss_layout_style' );
Regards
Varun DubeyDecember 9, 2015 at 2:51 am #54042@marionathanThank you, but my site uses multiple themes, and therefore I must manually disable this call in each update of the plugin, otherwise my site breaks.
Can you address this issue in the next update please?
Thanks for your support,
MarioDecember 10, 2015 at 1:15 pm #54159@
Anonymousyes sure, it will be fixed in next update
- The question ‘broken code after plugin update’ is closed to new replies.