Project

General

Profile

Actions

Bug #22351

open

New Post not working

Added by Laurie Hurson 9 days ago. Updated 9 days ago.

Status:
New
Priority name:
Normal
Assignee:
-
Category name:
-
Target version:
-
Start date:
2025-03-19
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

HI All,

A professor is teaching with this site: https://espeeuu.commons.gc.cuny.edu/

When students attempt to create a new post they receive an error message "There has been a critical error on this website.

Learn more about troubleshooting WordPress."

This issue happens anytime one attempts to access: https://espeeuu.commons.gc.cuny.edu/wp-admin/post-new.php

I have tried in multiple browsers


Files

Actions #1

Updated by Raymond Hoh 9 days ago

Hi Laurie,

It appears there was a function name change in one of the latest commits to deal with S3 uploads and site privacy changes. Boone, see https://github.com/cuny-academic-commons/cac/commit/00bef2b0583dcb02307af1704106d353c69b2af6. The function name for cac_s3_uploads_swap_attachment_urls() changed to cac_s3_uploads_make_attachment_urls_signed(), but there was still a hook referencing the older function name. I've changed this on production to the new function name and the new post page loads again, but please check to see if that is the correct change as I haven't committed this yet.

Laurie, the New Post page should be working again.

Actions #2

Updated by Laurie Hurson 9 days ago

Great thanks Ray!

Actions #3

Updated by Boone Gorges 9 days ago

Everyone, I'm very sorry for the error. Ray, thanks for catching it.

Actions

Also available in: Atom PDF