Load input files into map
-
Hi,
I just downloaded the plugin, and I think it’s great! However, when I try to import a GPX file extracted from Garmin (I also tried with GeoJSON file), it doesn’t load, and it returns errors in the JS console and in the PHP errors.
First, there’s a 500 error on POST https://…/wp-admin/admin-ajax.php.
Then, when I go to PHP error_logs , I got
PHP Fatal error: Uncaught Error: Call to undefined function mime_content_type() in ...\wp-content\plugins\waymark\inc\Helpers\Waymark_Input.php:456 Stack trace: #0 ...\wp-content\plugins\waymark\inc\Admin\Waymark_AJAX.php(167): Waymark_Input::get_file_contents(Array) #1 ...\wp-content\plugins\waymark\inc\Admin\Waymark_AJAX.php(89): Waymark_AJAX->read_file() #2 ...\wp-includes\class-wp-hook.php(324): Waymark_AJAX->handle_read_file('') #3 ...\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #4 ...\wp-includes\plugin.php(517): WP_Hook->do_action(Array) #5 ...\wp-admin\admin-ajax.php(188): do_action('wp_ajax_waymark...') #6 {main} thrown in ...\wp-content\plugins\waymark\inc\Helpers\Waymark_Input.php on line 456
Do you have any idea what the issue might be? Thank you very much for your help,
Maxime
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Load input files into map’ is closed to new replies.