Project

General

Profile

Actions

Bug #18417

closed

Call to undefined function is_plugin_active()

Added by Marilyn Weber over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
-
Target version:
Start date:
2023-06-27
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Via ZD, Ray Liu reports: Hi, our QCAP website seems to be down or showing an "Error thrown" message (Call to undefined function is_plugin_active()) when we land on the home page. , The website URL is
https://qcap.commons.gc.cuny.edu/

I've asked if they remember if you've activated any plugins recently? Thanks!


Related issues

Related to CUNY Academic Commons - Bug #18016: ml-slider get_plugins() call causes performance issuesHoldBoone Gorges2023-04-12

Actions
Actions #1

Updated by Boone Gorges over 1 year ago

  • Status changed from New to Staged for Production Release
  • Assignee set to Boone Gorges
  • Target version set to 2.1.10

The problem is the ml-slider plugin. See #18016. The fix that I'm forced to put in place for the latter ticket means that a certain WP library isn't loaded. In other places, the plugin has a function_exists() check to ensure that no fatals happen, but not in the one place that's triggering the error in this case. I've added the necessary change here https://github.com/cuny-academic-commons/cac/commit/78fc1e5c3a51d2e7aaf38b7b2e4f7a5b269baba4 and will add it to my growing list of things that I need to check every time that ml-slider is updated.

Actions #2

Updated by Boone Gorges over 1 year ago

  • Related to Bug #18016: ml-slider get_plugins() call causes performance issues added
Actions #3

Updated by Marilyn Weber over 1 year ago

Should I check to see if they're actively using it?

Actions #4

Updated by Boone Gorges over 1 year ago

Doesn't matter too much. The plugin is used fairly widely across the Commons, so it's a problem we have to address broadly in any case.

Actions #5

Updated by Boone Gorges over 1 year ago

  • Status changed from Staged for Production Release to Resolved
Actions

Also available in: Atom PDF