Update to 1.7.05 brings a critical error on my website
-
Hello,
I need your help. After I updated WP GPX Maps to version 1.7.05 I am not able to edit many of the pages with the WP GPX Maps short code. Instead of the editing, it brings me a message:There has been a critical error on this website. Please check your site admin email inbox for instructions. And at the same time, I received a message from my web hosting provider with the following information about the error details:Error Details
=============
An error of type E_ERROR was caused in line 381 of the file /home2/tempdpc6/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps-utils.php. Error message: Uncaught ValueError: max(): Argument #1 ($value) must contain at least one element in /home2/tempdpc6/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps-utils.php:381
Stack trace:
#0 /home2/tempdpc6/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps-utils.php(381): max(Array)
#1 /home2/tempdpc6/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps-utils.php(151): wpgpxmaps_parseXml(‘/home2/tempdpc6…’, ’10’, ‘0’)
#2 /home2/tempdpc6/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php(392): wpgpxmaps_getPoints(‘/home2/tempdpc6…’, ’10’, false, ‘0’)
#3 /home2/tempdpc6/public_html/wp-includes/shortcodes.php(356): wpgpxmaps_handle_shortcodes(Array, ”, ‘sgpx’)
#4 [internal function]: do_shortcode_tag(Array)
#5 /home2/tempdpc6/public_html/wp-includes/shortcodes.php(228): preg_replace_callback(‘/\\[(\\[?)(sgpx)(…’, ‘do_shortcode_ta…’, ‘`Please any advice how I can fix it?
Thanks!The page I need help with: [log in to see the link]
- The topic ‘Update to 1.7.05 brings a critical error on my website’ is closed to new replies.