Project

General

Profile

Actions

Support #16654

closed

critical error when trying to edit

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

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
WordPress Plugins
Target version:
Start date:
2022-08-24
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Amy Wolfe writes:

"I’m unable to access the “edit” functions on 2 OER sites I’m in the middle of creating for a faculty member.

I’m having issues with these 2 OER:

1. ANTH 3520/ PRLS 3210 Latin America<https://anth3520prls3210latinamerica.commons.gc.cuny.edu/>
2. ANTH 2140 Anthropology of Food<https://anth2140anthropologyoffood.commons.gc.cuny.edu/>

I get this message when I hit the “edit”:

“There has been a critical error on this website.

Learn more about troubleshooting WordPress.<https://wordpress.org/support/article/faq-troubleshooting/&gt;

I’ve tried to access these sites’ on both Firefox, Chrome and Edge browsers and none can access the site. I was able to access these sites yesterday. Can you please assist me?"

I (Marilyn) can replicate the problem

Actions #1

Updated by Laurie Hurson over 1 year ago

From another user on zen desk...

I am running into some critical errors this morning when trying to access some of my sites on the Commons. I suspect it is plugin related as the issue is only on my teaching sites rather than on some of the CUNY project sites and test sites that I've created.

https://f22casd1717.commons.gc.cuny.edu/
https://s22casd1717.commons.gc.cuny.edu/
https://kidlitperf.commons.gc.cuny.edu/

Actions #2

Updated by Boone Gorges over 1 year ago

  • Category name set to WordPress Plugins
  • Status changed from New to Resolved
  • Assignee set to Boone Gorges
  • Target version set to 2.0.7

Thanks for the report.

I've tracked the issue to the accordion-slider-lite plugin, which attempts to perform an update across every site on a Multisite network. We previously discovered this bug in #11235. At that time, I put into place a hotfix, and since the plugin looked abandoned, I didn't think any further action was needed. However, the plugin has since been updated several times.

I reported the issue to the plugin author back in 2019 https://wordpress.org/support/topic/database-update-routine-should-not-run-across-all-sites-on-multisite/ and got a dismissive response. No upstream fix was put in place.

I've done the following:
1. Reapplied my hotfix and deployed to the production site https://github.com/cuny-academic-commons/cac/commit/d986fc2edf2546b7c83c6aac1759187ccd166d06
2. Since the plugin appears to be maintained in such a way that it's incompatible with the Commons, I've blocked it from being viewed or activated from the Plugins page. https://github.com/cuny-academic-commons/cac/commit/5a071d918a608430f0ae40fa55e9583f20e1b47d
3. Added the plugin to the do-not-update list in my automated tool for updating plugins/themes on the Commons https://github.com/cuny-academic-commons/wp-cli-cac/commit/244c1259b146630cb93eeb29dcc315c985e26704

The update applied during yesterday's Commons release (1.5 to 1.5.1; see https://github.com/cuny-academic-commons/cac/commit/14abfb31360e2522445f1f841e11a76d70e5ac3d) introduced
Actions #3

Updated by Laurie Hurson over 1 year ago

Thanks for this info Boone, and re-instating the hot fix. I will report to our users that the issue has been resolved

Can users continue to use this plugin or should we recommend moving to another plugin with similar functionality?

Actions #4

Updated by Boone Gorges over 1 year ago

Thanks, Laurie. I think it's fine for existing users to continue with it, but let's not recommend it for anyone else.

Actions

Also available in: Atom PDF