{ Dev Farm }

Web & Windows Development

Update to 1.7.05 brings a critical error on my website

Home Forum Support Update to 1.7.05 brings a critical error on my website

  • Il topic è vuoto.
Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
  • Autore
    Post
  • #99175 Rispondi
    Danka
    Ospite

    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!

    #99206 Rispondi
    Draggi
    Ospite

    Dear dev team,
    I have the same issue. It seems that the pluggin not work with > PHP8. I have downgrade the PHP version on my server to keep it working.
    Thanks for your help.
    Draggi

    [Mon Mar 21 11:19:51.524868 2022] [php:error] [pid 22435] [client 172.20.0.1:0]
    PHP Fatal error: Uncaught Error: Attempt to assign property “dt” on null in /home/**********leg-st1/www/wp-content/plugins/wp-gpx-maps/wp-gpx-maps_utils.php:196\n
    Stack trace:\n#0 /home/**********leg-st1/www/wp-content/plugins/wp-gpx-maps/wp-gpx-maps_utils.php(157): wpgpxmaps_parseXml()
    \n#1 /home/**********leg-st1/www/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php(377): wpgpxmaps_getPoints()
    \n#2 /home/**********leg-st1/www/wp-includes/shortcodes.php(356): handle_WP_GPX_Maps_Shortcodes()
    \n#3 [internal function]: do_shortcode_tag()
    \n#4 /home/**********leg-st1/www/wp-includes/shortcodes.php(228): preg_replace_callback()
    \n#5 /home/**********leg-st1/www/wp-includes/class-wp-hook.php(307): do_shortcode()
    \n#6 /home/**********leg-st1/www/wp-includes/plugin.php(189): WP_Hook->apply_filters()
    \n#7 /home/**********leg-st1/www/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1811): apply_filters()
    \n#8 /home/**********leg-st1/www/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(560): WP_REST_Posts_Controller->prepare_item_for_response()
    \n#9 /home/**********leg-st1/www/wp-includes/rest-api/class-wp-rest-server.php(1141): WP_REST_Posts_Controller->get_item()
    \n#10 /home/**********leg-st1/www/wp-includes/rest-api/class-wp-rest-server.php(988): WP_REST_Server->respond_to_request()
    \n#11 /home/**********leg-st1/www/wp-includes/rest-api.php(511): WP_REST_Server->dispatch()
    \n#12 /home/**********leg-st1/www/wp-includes/rest-api.php(2860): rest_do_request()\n#13 [internal function]: rest_preload_api_request()
    \n#14 /home/**********leg-st1/www/wp-includes/block-editor.php(501): array_reduce()
    \n#15 /home/**********leg-st1/www/wp-admin/edit-form-blocks.php(72): block_editor_rest_api_preload()
    \n#16 /home/**********leg-st1/www/wp-admin/post.php(187): require(‘…’)
    \n#17 {main}\n thrown in /home/**********leg-st1/www/wp-content/plugins/wp-gpx-maps/wp-gpx-maps_utils.php on line 196, referer: https://www.**********.org/wp-admin/edit.php

    #100382 Rispondi
    Peter Hart
    Ospite

    I am also getting critical error since upgrading to php 8
    I have decided to get another plugin which works better
    https://www.mapsmarker.com/

Stai visualizzando 3 post - dal 1 a 3 (di 3 totali)
Rispondi a: Risposta #99206 in Update to 1.7.05 brings a critical error on my website

You can use BBCodes to format your content.
Your account can't use Advanced BBCodes, they will be stripped before saving.

Le tue informazioni:




Non è possibile lasciare nuovi commenti.