Home › Forums › Calendar Products › Event Aggregator › Error when submitting Community Event.
- This topic has 5 replies, 2 voices, and was last updated 8 years, 5 months ago by
goodbeginnings.
-
AuthorPosts
-
October 2, 2017 at 11:22 am #1357895
goodbeginnings
ParticipantI get this error when trying to submit a Community Event on my site at:
http://www.goodbeginningscentralvt.org/events/community/addFatal error: Uncaught Error: Call to undefined function wp_read_image_metadata() in /wp-admin/includes/media.php:357 Stack trace: #0 /wp-content/plugins/the-events-calendar-community-events/src/Tribe/Submission_Handler.php(175): media_handle_upload(‘event_image’, 12924) #1 //wp-content/plugins/the-events-calendar-community-events/src/Tribe/Submission_Handler.php(111): Tribe__Events__Community__Submission_Handler->insert_attachment(‘event_image’, 12924, true, Object(Tribe__Events__Community__Submission_Handler)) #2 /wp-content/plugins/the-events-calendar-community-events/src/Tribe/Main.php(1635): Tribe__Events__Community__Submission_Handler->save() #3 /wp-content/plugins/the-events-calendar-community-events/src/Tribe/Main.php(851): Tribe__Events__Community__Main->doEventForm() #4 /wp-content/plugins/the-events-calendar-community-events/vendor/wp-router/WP_Route.class.php in /wp-admin/includes/media.php on line 357
October 3, 2017 at 7:04 am #1358270Jaime Marchwinski
KeymasterHi Samuel,
Thanks for reaching out again! I’m sorry to hear that you are seeing this error when you try to submit an event.
Does the event submission still go through when you see this error? It looks like it may have something to do with the images that are submitted. The source of the error is coming from /wp-admin/includes/media.php:357. You may want to investigate that code and see if you have made any changes there. Have you added any images recently or other media?
Let me know what you find and if you have any other questions along the way!
Thanks,
Jaime
October 3, 2017 at 8:40 am #1358319goodbeginnings
ParticipantI had this tested and working when it was just as an ip address. When I switched it over to the domain name it stopped working.
I’ve checked and there are no changes to the core files.
It does create an event in the backend but it doesn’t have any image attached.
For what it is worth when I create an event without an image it works fine.
October 4, 2017 at 5:00 am #1358816Jaime Marchwinski
KeymasterHi Samuel,
Thanks for providing me with that information.
As a first step, let’s try to rule out if there is some type of conflict at play.
This is usually because of:1. A conflict with another plugin
2. A conflict with your WordPress theme
3. A template customization for the Events Calendar that requires updating
When it comes to that type of issue, it is preferable to troubleshoot in a staging environment if you have one.
A first quick test is to simply temporarily revert back to a default WordPress theme such as twenty-sixteen to see if the issue persists.
The next step would be to go through our testing for conflicts procedure and let us know what you find out.
Basically the goal here is to revert back to a bare WordPress installation to see if the problem persists. It also allows us to pinpoint what the cause of the issue is.
But, before you do that, there are 2 things I would advise:
1. Make a backup of your database
2. Consider activating a “Maintenance Page” plugin if you are doing this on your live site (to minimize impact on your visitors)
If this process does not shed light on the issue, please enable WP_DEBUG and WP_DEBUG_LOG and share any debug messages you see while adding community events with images.
Let me know how it goes!
Thanks,
Jaime
October 26, 2017 at 9:35 am #1369275Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Error when submitting Community Event.’ is closed to new replies.
