Critical error when creating post with image
-
Using WordPress 6.8.1. Using theme 2025. Using USP Free Version 20250329
Using USP with image upload. Form fill out & image selection work properly with image visible in form. I have it set to return to the same page upon submission. When I submit the form, it processes for a moment after which a word press critical error page comes up. I can back out to the page, and the image is uploaded and the post is created.
The following error messages are reported in the debug log:
- “PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
remove_dashboard_accessdomain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.)” - “[05-Jun-2025 22:07:15 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_generate_attachment_metadata()”
#2 referred to the following file: “…wp-content/plugins/user-submitted-posts/user-submitted-posts.php:1241”
The critical error does not occur when I submit a post without an image.
The page I need help with: [log in to see the link]
- “PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the
You must be logged in to reply to this topic.