BuddyBoss Home – Web Support Forums Themes Boss. theme Having "Fatal Error' issue with Boss theme using Events Manager

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

    #60505
    @graham

    I recently bought the Boss theme because we understood it would work well with the Events Manager plugin.

    After creating an event, at first I could not see it listed on the Events page at all. But I searched and found the following css code and now that page works. (http://dansokol.nyc/?page_id=180)

    #em-wrapper {
    display: block !important;
    }

    So that seemed to fix half the problem.

    However, if you click on the event on the above page, you’ll see I get this error:

    Fatal error: Call to undefined function is_plugin_active() in /home/dansokol/public_html/wp-content/themes/boss-child/single-event.php on line 14

    I have tried Event Manager with the same settings on other themes and it works fine.

    Please advise.

    Answers

    #60506
    @graham

    Regarding my above post:

    Please use the following links instead of what I posted above:

    Events page:

    Events

    Individual event page:
    http://dansokol.nyc/events/sunday-cycling-2/

    #60510
    @graham

    We found the answer:

    This line of code needed to be entered just before line 14 in the Boss single-event.php file:

    include_once( ABSPATH . ‘wp-admin/includes/plugin.php’ );

    If the Boss template is updated, please make note of this.

    Thanks!

    #60657

    Anonymous
    @

    Hi @graham, Thanks for your input I have notified to our development team to check this issue.

    Regards

    #62653
    @redskywalker

    I’ve updated to the latest boss 2.1.3. The problem is still there. I guess the development team didn’t find a solution yet.

    ERROR:

    Fatal error: Call to undefined function is_plugin_active() in ../boss/single-event.php on line 14

    Adding the following before line 14 does work:

    include_once( ABSPATH . ‘wp-admin/includes/plugin.php’ );

    But why isn’t this line of code added to the previous updates of the theme? Will my site break again on the next Boss theme update?

    #63317

    Alyssa
    Participant
    @alyssa-buddyboss

    Hello @tuinmarktenadmin, I’m sorry to hear you’ve run into issues. we have added following line in ../boss/single-event.php in our development version and it will shipped in our next update so It won’t break your site again on next Boss theme update. However we strongly recommend to use the child theme for all customization.

    include_once( ABSPATH . ‘wp-admin/includes/plugin.php’ );

    Thanks!!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The question ‘Having "Fatal Error' issue with Boss theme using Events Manager’ is closed to new replies.