Title: PHP 8 support?
Last modified: July 14, 2021

---

# PHP 8 support?

 *  [iambeeblebrox](https://wordpress.org/support/users/iambeeblebrox/)
 * (@iambeeblebrox)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/php-8-support-10/)
 * The plugin is not compatible with PHP 8. When I enable PHP 8 I can no longer (
   latest en pre-latest version of the plugin) add a map to a post. When I do add
   the shortcode the post becomes corrupted and can no longer be edited! It works
   again when I downgrade to PHP 7.4.
 * Is an update coming that solves this?
 * Stack trace:
    `#0 /www/wp-content/plugins/wp-gpx-maps/wp-gpx-maps-utils.php(151):
   wpgpxmaps_parseXml(‘/www/wp-content…’, ’10’, ‘0’) #1 /www/wp-content/plugins/
   wp-gpx-maps/wp-gpx-maps.php(391): wpgpxmaps_getPoints(‘/www/wp-content…’, ’10’,
   false, ‘0’) #2 /www/wp-includes/shortcodes.php(343): wpgpxmaps_handle_shortcodes(
   Array, ”, ‘sgpx’) #3 [internal function]: do_shortcode_tag(Array) #4 /www/wp-
   includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(galler…’, ‘do_shortcode_ta…’,‘\
   n82km &#…’) #5 /www/wp-includes/class-wp-hook.php(292): do_shortcode(‘\n82km &#…’)#
   6 /www/wp-includes/plugin.php(212): WP_Hook->apply_filters(‘\n82km &#…’, Array)#
   7 /www/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1768):
   apply_filters(‘the_content’, ‘

Viewing 1 replies (of 1 total)

 *  [hupe13](https://wordpress.org/support/users/hupe13/)
 * (@hupe13)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-8-support-10/#post-14667285)
 * I don’t think the author takes care of his plugin anymore.
    Try these ones:
    - [https://wordpress.org/plugins/leaflet-map/](https://wordpress.org/plugins/leaflet-map/)
    - [https://wordpress.org/plugins/extensions-leaflet-map/](https://wordpress.org/plugins/extensions-leaflet-map/)
 * 😉

Viewing 1 replies (of 1 total)

The topic ‘PHP 8 support?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-gpx-maps_bcbfb3.svg)
 * [WP GPX Maps](https://wordpress.org/plugins/wp-gpx-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-gpx-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gpx-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gpx-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gpx-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gpx-maps/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [hupe13](https://wordpress.org/support/users/hupe13/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/php-8-support-10/#post-14667285)
 * Status: not resolved