careerplan admin page failing to load with "currently unable to handle this request"
Abigail Turner (email@example.com) from the Office of Career Planning and Professional Development reports:
Is there something wrong with the Commons' page editing functions? We have been unable to edit our page on the Commons - https://careerplan.commons.gc.cuny.edu/- since last Friday. I can log in, but when I click "Edit Page" on the top bar, at first there is no response and then an error page says "careerplan.commons.gc.cuny.edu is currently unable to handle this request". I work for the Office of Career Planning at the Grad Center
#1 Updated by Boone Gorges over 2 years ago
- Subject changed from currently unable to handle this request? to careerplan admin page failing to load with "currently unable to handle this request"
- Category name set to WordPress Themes
- Status changed from New to Reporter Feedback
- Target version set to 1.10.19
The Dashboard is failing to load because the Basic theme (parent of the active theme) is attempting to do some background fetching of content from the theme author's website, but those requests are timing out. This is causing the entire page request to time out.
A few things about this. First, it's pretty lousy behavior on Basic's behalf - this functionality should probably happen asynchronously, and it should use more modern WordPress HTTP functions that allow the timeout length to be set.
Second, the theme is throwing a notice that there's a new version of Basic available. It's possible/likely that these issues are addressed in the newer version, but I don't have access to it. It was added to the Commons as part of #4390. I've added Stephen and Jenny as watchers to this ticket, as they were my original contacts, and they'd be the ones most likely to have the necessary license to download an updated copy of the theme. It'd be great if we had a system in place for keeping it up to date - perhaps the license holder could subscribe to email updates from the theme vendor, and could pass along updated files to me periodically.
For the time being, I've manually disabled Basic's remote fetches. The Dashboard should now load as expected. https://github.com/cuny-academic-commons/cac/commit/4fb5d51f89d4dbbfaceb3293b26b8c05e1441d74
#3 Updated by Stephen Klein over 2 years ago
It is a free theme and it is updated approximately about once a month:
Note: i find downloading and then SFTP'ing more reliable than using the dashboad updater (gclibrary=>Update)
reveal each new release
#5 Updated by Boone Gorges over 2 years ago
- Status changed from Reporter Feedback to Resolved
Marilyn - They're using a custom child theme, so suggesting a different theme is probably not going to be a productive suggestion.
Stephen - Thanks for pointing this out. I didn't click through to see that they have a free option for this theme. I'll add a note to my monthly release script that this theme needs to be checked. Note that this means that someone from the Library team should watch https://dev.commons.gc.cuny.edu on the 5th of each month to learn about Basic updates that may take place on the 21st of that month. This should give some time to do any necessary local testing on your end, or to notify me if we need to delay a Basic upgrade for a month or two. See https://dev.commons.gc.cuny.edu/release-schedule-and-procedures/ for more details ("Major Update Releases").
I'm going to mark this resolved based on the above. Thanks for the help, all.
#6 Updated by Stephen Klein over 2 years ago
As updates are released, I run alpha, beta, gold updates on scratch, dev and then production for the library. So maybe, I just continue to run and if I encounter any issues, I will report and tell you not to proceed? If you do not hear from me, assume all is good. Works?
#8 Updated by Stephen Klein over 2 years ago
Absolutely never a problem, because I perform anyway to play it safe. Always assume that I am testing practically the same day that an update is released, unless I am out on holiday/vacation. Approximately about 1 update a month, but sometimes more. Again, if you do not hear from me, assume the newest version works.