Fix Classima wordpress Ad Submission Error

Customer: AI | Published: 11.11.2025

When a user submits a new ad through my Classima-based website, the submission process completes successfully and the ad goes live — but only when the “Auto Approve” setting is enabled (i.e., ads are automatically published). In this mode, everything works as expected. However, when I switch the setting to manual approval, the submission hangs indefinitely on a loading spinner during manual publishing. After this, if I visit the draft ad’s URL directly, WordPress displays the error message: “There has been a critical error on this website.” Despite this, the rest of the website continues to function normally without any apparent issues. Here’s what I have ruled out so far: I disabled every plugin except Classima, switched to a default WordPress theme, and combed through the server error logs—none of that exposed the root cause. I do run a small amount of custom code inside a child theme and I’ve established bespoke user roles for ad posters, so the bug may be hiding in one of those layers or in the way Classima handles the Pending status via AJAX. I need a WordPress/PHP developer who can: • trace the precise failure point (likely an AJAX call or hook conflict), • supply and apply the fix so ads can be saved in Pending/Preview without the spinner or fatal error, and • leave me with a brief summary of what was wrong and which files or settings were touched. Note: my website is totally empty with any ad. (except some static pages)