• Resolved Bessonweb

    (@besky)


    Hi and thanks for your greate plugin !

    I have this error in the settings page of the plugin :

    Fatal error: Uncaught TypeError: array_search(): Argument #2 ($haystack) must be of type array, string given in /home/clients/client-number/sites/my-website.com/wp-content/plugins/simple-address-autocomplete/includes/class-simple-address-autocomplete.php:416 Stack trace: #0 /home/clients/client-number/sites/my-website.com/wp-content/plugins/simple-address-autocomplete/includes/class-simple-address-autocomplete.php(416): array_search(‘biased’, ‘biased’, true) #1 /home/clients/client-number/sites/my-website.com/wp-admin/includes/template.php(1785): Simple_Address_Autocomplete->field_callback(Array) #2 /home/clients/client-number/sites/my-website.com/wp-admin/includes/template.php(1739): do_settings_fields(‘simple_autocomp…’, ‘general_setting…’) #3 /home/clients/client-number/sites/my-website.com/wp-content/plugins/simple-address-autocomplete/includes/class-simple-address-autocomplete.php(59): do_settings_sections(‘simple_autocomp…’) #4 /home/clients/client-number/sites/my-website.com/wp-includes/class-wp-hook.php(308): Simple_Address_Autocomplete->simple_address_autocomplete_settings_page_content(”) #5 /home/clients/client-number/sites/my-website.com/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #6 /home/clients/client-number/sites/my-website.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /home/clients/client-number/sites/my-website.com/wp-admin/admin.php(259): do_action(‘settings_page_s…’) #8 /home/clients/client-number/sites/my-website.com/wp-admin/options-general.php(10): require_once(‘/home/clients/0…’) #9 {main} thrown in /home/clients/client-number/sites/my-website.com/wp-content/plugins/simple-address-autocomplete/includes/class-simple-address-autocomplete.php on line 416

    In my browser console, I have this error :

    Loading the Google Maps JavaScript API without a callback is not supported

    I don’t know if it’s the same origin but it’s certainly possible?

    I have tried to filled the field “Biased Search Coordinates” but impossible to save the setting and when I reload the page, the setting disapear.

    I hope this ticket help you to fix this bug.

    Have a good day!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Raza Khadim

    (@razakhadim)

    @besky thank you. I will look into it and try and replicate it. I will get back to you ASAP.

    I also go the same error message immediately after installing your plugin. Fresh install and haven’t been able to use the plugin yet.

    Plugin Author Raza Khadim

    (@razakhadim)

    @besky and @gcabana this issue is now resolved in version 1.2.1 please install the latest version and let me know if there are any issues. Thanks for your patience.

    Plugin Author Raza Khadim

    (@razakhadim)

    I am marking this as resolved for now but do let me know if the issue persists.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Uncaught TypeError: array_search()’ is closed to new replies.