BuddyBoss Home – Web Support Forums Solutions Social Learner broken code after plugin update

Viewing 7 posts - 1 through 7 (of 7 total)
  • Question

    #53935
    @marionathan

    My 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

    #53941

    Anonymous
    @

    Hi @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 Dubey

    #53942
    @marionathan

    I have Boss 2.04, Social Learner 1.0.6 and Boss for LearnDash 1.0.5

    #54002
    @marionathan

    I 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,
    Mario

    #54006

    Anonymous
    @

    Hi @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 Dubey

    #54042
    @marionathan

    Thank 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,
    Mario

    #54159

    Anonymous
    @

    yes sure, it will be fixed in next update

Viewing 7 posts - 1 through 7 (of 7 total)
  • The question ‘broken code after plugin update’ is closed to new replies.