This is also happening on the main page. its like something is blocking the redirect and I’m not sure what. Please help.
Hi @joeguiney,
I can recreate the issue on your site. This is because of an internal server error. Can you please have a look at the Debug Log. You’ll find it under Settings > Open User Map > Help & Getting Started. Could you please send the debug info to my email?
Best Regards,
Daniel
Hiya,
Here you go:
Plugin: Open User Map | Everybody can add locations (Premium)
Plugin version: 1.2.26
Server: isdemo.limerick.ie
Server Software: Apache
PHP version: 7.4.32
log_errors: 1
output_buffering:
memory_limit: 512M
upload_max_filesize: 512M
max_file_uploads: 20
max_input_vars: 10000
post_max_size: 512M
Last PHP error/warning:
There is nothing else under PHP error/warning. From the console we’re still getting:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
/wp-admin/admin-ajax.php:1
Thanks
Joe
From the Server Log:
[27-Oct-2022 12:22:15 UTC] PHP Fatal error: Uncaught Error: Call to undefined function OpenUserMapPlugin\Base\exif_read_data() in /home/…./public_html/isdemo.limerick.ie/wp-content/plugins/open-user-map-pro/inc/Base/BaseController.php:477
#0 /home/..../public_html/isdemo.limerick.ie/wp-content/plugins/open-user-map-pro/inc/Base/BaseController.php(400): OpenUserMapPlugin\Base\BaseController->correctImageOrientation('/home/..../...', Resource id #854)
#1 /home/.../public_html/isdemo.limerick.ie/wp-includes/class-wp-hook.php(307): OpenUserMapPlugin\Base\BaseController->ajax_add_location_from_frontend('')
#2 /home/..../public_html/isdemo.limerick.ie/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
#3 /home/..../public_html/isdemo.limerick.ie/wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#4 /home/..../public_html/isdemo.limerick.ie/wp-admin/admin-ajax.php(187): do_action('wp_ajax_oum_add...')
#5 {main}
thrown in /home/..../public_html/isdemo.limerick.ie/wp-content/plugins/open-user-map-pro/inc/Base/BaseController.php on line 477
Hey @joeguiney,
Thank you! This is already helping me a lot. I will include a fix with the next update that will catch this error.
Technical background:
The PHP version on your server does not load the EXIF library, which is necessary to rotate uploaded images into the correct orientation.
Quick Solution:
You should check your server if the EXIF library can be activated. Normally this is the default.
Let me know if this works for you.
Best Regards,
Daniel
@daniel, Thanks for this, I’ll revert back after I talk to our hosting.
Hi @joeguiney,
Any news from your hosting on this?
Hi Daniel,
We are going to follow up with them as the map is taking ages to load for some reason. We are getting performance issues on wordpress which is not ideal.
I saw there was an update to the plugin however and that sorted the submit issue. So thank you very much for that.
Okay,
Thanks for your reply. I will mark this thread as solved.
Best Regards,
Daniel