Support Forum

Update error

RS robert strode
robert strode
Member

I recently updated the plugin and now the forum wont display the topics if the user is logged in but it displays the topics when you are logged out can anyone help please email me at ramuzic2@yahoo.com here is the error message……

 

Fatal error: Call to undefined function is_plugin_active() in /home3/ramuzic/public_html/twoler.com/wp-content/plugins/simple-press/sp-api/sp-api-common-display.php on line 309

4 Answers

New Answer

IK Ike
Ike
Member

Hey Robert,

I’ve moved your topic, as the ‘Latest News and Developments’ forum is for staff to post news items, not for support. It’s worth noting that this forum is also not for support questions but for pre purchase questions, but it’s the best place for it.

Without you opening up a topic in our support forum and one of us taking a look all I can say is make sure everything is up to date and there are no conflicts on the page.

MP Mr Papa
Mr Papa
Member

That is a standard wp function that should be available…

JS Joshua Segatto
Joshua Segatto
Member

Hey Robert,

I have come across this same problem. It seems to be a check to see if BuddyPress or Mingle profiles are active. I don’t know why that function doesn’t seem to be working, and I don’t have time to track it down at the moment. While not ideal, I’ve gotten around it by commenting out the offending lines in /sp-api/sp-api-common-display.php lines 309-311 and lines 427-429. Then when you go to admin forum profile options, you’ll see the same error in file /admin/panel-profiles/forms/spa-profiles-options-form.php lines 71, 72, 82, 83 as well.

If I find the time to track down the real cause of this (as it was working fine before I did some other things on the site) I’ll let you know.

MP Mr Papa
Mr Papa
Member

actually, this is our problem… though not sure how it affects an update…  but will be fixed in the next release…

temp fix here:  https://simple-press.com/support-forum/sp5-general-topics/is_plugin_active-error/#p156009

though its members only….

prior to being used, just add this line

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