BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Having "Fatal Error' issue with Boss theme using Events Manager
Tagged: events manager
- This topic has 5 replies, 4 contibutors, and was last updated 8 years, 8 months ago by Alyssa.
Question
February 27, 2016 at 4:06 pm #60505@grahamI 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
February 27, 2016 at 4:32 pm #60506@grahamRegarding my above post:
Please use the following links instead of what I posted above:
Events page:
Individual event page:
http://dansokol.nyc/events/sunday-cycling-2/February 27, 2016 at 5:09 pm #60510@grahamWe 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!
February 29, 2016 at 3:22 am #60657@
AnonymousHi @graham, Thanks for your input I have notified to our development team to check this issue.
Regards
March 12, 2016 at 4:05 am #62653@redskywalkerI’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?
March 16, 2016 at 7:44 am #63317@alyssa-buddyboss
AlyssaParticipantHello @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!!
- The question ‘Having "Fatal Error' issue with Boss theme using Events Manager’ is closed to new replies.