PHP 8 support?
-
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’, ‘
- The topic ‘PHP 8 support?’ is closed to new replies.