BuddyBoss Home – Web › Support Forums › Solutions › Social Learner › Sensei issues after update
- This topic has 4 replies, 2 contibutors, and was last updated 8 years, 9 months ago by Anonymous.
Question
February 19, 2016 at 10:27 am #59692@davejayHi Buddyboss,
I just pulled down the new updates for Sensei, and I’m getting the following fatal error running Sensei 1.9.2:
Fatal error: Call to undefined function wcs_user_has_subscription() in /www/wp-content/plugins/woothemes-sensei/includes/class-sensei-wc.php on line 1519
Sensei appears to work fine with WP 2015 theme with all Social Learner plugins deactivated. It also works fine and with Social Learner theme active, but Boss-for-Sensei deactivated. The error only reappears when I reactivate Boss-for-Sensei.
Any ideas what’s happing here?
-David
Answers
February 20, 2016 at 6:32 am #59769@
AnonymousHi @davejay, New updates for Boss for Sensei and Buddypress for Sensei has been launched please update it as there are lots of bugs fixes in the current version.
Regards
February 20, 2016 at 9:16 am #59785@davejayYes, I know, Pallavi. I’m sorry I wasn’t clear. I’m getting the error after updating everything. Sensei, Boss for Sensei, and Buddypress for Sensei are all running with the current version. Whenever I navigate to a course page, I get a white screen and a fatal error:
Fatal error: Call to undefined function wcs_user_has_subscription() in /www/wp-content/plugins/woothemes-sensei/includes/class-sensei-wc.php on line 1519
February 20, 2016 at 9:18 am #59790@davejayActually, scratch that, Pahlavi. I tracked the problem down to my version of Woocommerce Subscriptions, which was out of date. My apologies.
February 23, 2016 at 12:09 pm #59995@
AnonymousHi @davejay, WC code uses the wcs_user_has_subscription() function to determine if the current user has an active subscription as it was outdated that’s why you were getting Fatal Error.
Glad you have solved it..
Regards
- The question ‘Sensei issues after update’ is closed to new replies.