• Resolved afrigols

    (@afrigols)


    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...'

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    It should not the php version.

    Are you using a custom icon for your maps? It’s failing to find it, and there seems to be a bug in the code as a result.

    Will patch this up in then release.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Looking at the code, it seems that you PHP v8.1 has the cURL extension disabled. This is the preferred way to check for checking for the icon file image on disk… and else falls back on get_heders() fn which I realised has a bug that triggered your error msg.

    If you enable your cURL extension it shuold work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘It doesn’t work with php 8.1’ is closed to new replies.