It doesn’t work with php 8.1
-
I have updated the php version to 8.1 and the form that includes the map has stopped working, it shows blank.
All plugins and wordpress are updated to the latest version.
If I go back to version 7.3.33 it does work.The following error appears on the server:
Got error 'PHP message: PHP Fatal error: Uncaught ValueError: Path cannot be empty in /wp-content/plugins/cf7-google-map/public/partials/cf7-googlemap.php:58\nStack trace:\n#0 /wp-content/plugins/cf7-google-map/public/partials/cf7-googlemap.php(58): get_headers()\n#1 /wp-content/plugins/cf7-google-map/public/class-cf7-googleMap-public.php(188): include('...')\n#2 /wp-content/plugins/contact-form-7/includes/form-tags-manager.php(479): Cf7_GoogleMap_Public->googleMap_shortcode_handler()\n#3 /wp-content/plugins/contact-form-7/includes/form-tags-manager.php(395): WPCF7_FormTagsManager->scan_callback()\n#4 [internal function]: WPCF7_FormTagsManager->replace_callback()\n#5 /wp-content/plugins/contact-form-7/includes/form-tags-manager.php(291): preg_replace_callback()\n#6 /wp-content/plug...'
- The topic ‘It doesn’t work with php 8.1’ is closed to new replies.