Home › Forum › Wp Gpx Maps › Support › Update GPX Map to 1.7.10 brings a critical PHP error
-
AutorePost
-
manwecke
OspiteWP GPX Maps Error: GPX file not found! /home/mxvysmpn/public_html“/wp-content/uploads/gpx/<filename>.gpx
Warning: Attempt to read property "dt" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 461
Warning: Attempt to read property "lat" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 462
Warning: Attempt to read property "lon" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 463
Warning: Attempt to read property "maxEle" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 465
Warning: Attempt to read property "minEle" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 466
Warning: Attempt to read property "maxTime" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 467
Warning: Attempt to read property "minTime" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 468
Warning: Attempt to read property "totalEleUp" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 469
Warning: Attempt to read property "totalEleDown" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 470
Warning: Attempt to read property "avgSpeed" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 471
Warning: Attempt to read property "avgCad" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 472
Warning: Attempt to read property "avgHr" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 473
Warning: Attempt to read property "avgTemp" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 474
Warning: Attempt to read property "totalLength" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 475
Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 599
Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 600
Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 601
Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 602
Deprecated: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 603
Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 902
I’m using my own wordpress installation with lateste version WP 6.7.1, PHP 8.2.21 on my own hosted server.
I used WP GPX Maps 1.7.08 together with NexGen Gallery.
After plugin upgrade of both today, all pages which includes© OpenStreetMap contributorsare broken.
In PHP error log I see:
[08-Jan-2025 14:46:27 UTC] PHP Fatal error: Uncaught TypeError: ftp_fget(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /share/CACHEDEV1_DATA/Web/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php:146
#0 /share/CACHEDEV1_DATA/Web/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php(146): ftp_fget(NULL, Resource id #126, ‘/share/CACHEDEV…’, 2)
#1 /share/CACHEDEV1_DATA/Web/wordpress/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php(364): WP_Filesystem_FTPext->get_contents(‘/share/CACHEDEV…’)
#2 /share/CACHEDEV1_DATA/Web/wordpress/wp-includes/shortcodes.php(434): wpgpxmaps_handle_shortcodes(Array, ”, ‘sgpx’)
#3 [internal function]: do_shortcode_tag(Array)
#4 /share/CACHEDEV1_DATA/Web/wordpress/wp-includes/shortcodes.php(273):
…..
#16 {main} thrown in /share/CACHEDEV1_DATA/Web/wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php on line 146
[08-Jan-2025 14:46:48 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the photo-gallery domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /share/CACHEDEV1_DATA/Web/wordpress/wp-includes/functions.php on line 6114See also WP Forum:
https://wordpress.org/support/topic/update-gpx-map-to-1-7-10-brings-a-critical-php-error-2/max
Amministratore del forumCan you send me the gpx ? it looks like the file is missing some information
-
AutorePost