Title: Error Affecting Website
Last modified: February 5, 2022

---

# Error Affecting Website

 *  Resolved [hassanshal](https://wordpress.org/support/users/hassanshal/)
 * (@hassanshal)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-affecting-website/)
 * Hello,
 * My website is showing an error from the Location Picker At Checkout For WooCommerce
   plugin, the following error is showing:
 * `An error of type E_ERROR was caused in line 68 of the file /srv/data/web/vhosts/
   wafergy.com/htdocs/wp-content/plugins/map-location-picker-at-checkout-for-woocommerce/
   includes/Notices/Notice.php. Error message: Uncaught TypeError: in_array(): Argument#
   2 ($haystack) must be of type array, string given in /srv/data/web/vhosts/wafergy.
   com/htdocs/wp-content/plugins/map-location-picker-at-checkout-for-woocommerce/
   includes/Notices/Notice.php:68 Stack trace: #0 /srv/data/web/vhosts/wafergy.com/
   htdocs/wp-content/plugins/map-location-picker-at-checkout-for-woocommerce/includes/
   Notices/Notice.php(68): in_array() #1 /srv/data/web/vhosts/wafergy.com/htdocs/
   wp-content/plugins/map-location-picker-at-checkout-for-woocommerce/includes/Notices/
   Upsells_Notices.php(59): Lpac\Notices\Notice->create_notice_markup() #2 /srv/
   data/web/vhosts/wafergy.com/htdocs/wp-content/plugins/map-location-picker-at-
   checkout-for-woocommerce/includes/Notices/Upsells_Notices.php(37): Lpac\Notices\
   Upsells_Notices->create_pro_released_notice() #3 /srv/data/web/vhosts/wafergy.
   com/htdocs/wp-content/plugins/map-location-picker-at-checkout-for-woocommerce/
   includes/Notices/Loader.php(28): Lpac\Notices\Upsells_Notices->__construct() #
   4 /srv/data/web/vhosts/wafergy.com/htdocs/wp-includes/class-wp-hook.php(307):
   Lpac\Notices\Loader->load_notices() #5 /srv/data/web/vhosts/wafergy.com/htdocs/
   wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #6 /srv/data/web/
   vhosts/wafergy.com/htdocs/wp-includes/plugin.php(474): WP_Hook->do_action() #
   7 /srv/data/web/vhosts/wafergy.com/htdocs/wp-admin/admin-header.php(303): do_action()#
   8 /srv/data/web/vhosts/wafergy.com/htdocs/wp-admin/plugins.php(605): require_once('...')#
   9 {main} thrown`
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-affecting-website%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Uriahs Victor](https://wordpress.org/support/users/uriahs-victor/)
 * (@uriahs-victor)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-affecting-website/#post-15334163)
 * Hi [@hassanshal](https://wordpress.org/support/users/hassanshal/) this should
   be fixed in the latest version of the plugin. Please try installing the latest
   version and try again
 *  Thread Starter [hassanshal](https://wordpress.org/support/users/hassanshal/)
 * (@hassanshal)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-affecting-website/#post-15336127)
 * Thank you [@uriahs-victor](https://wordpress.org/support/users/uriahs-victor/)
 *  Plugin Author [Uriahs Victor](https://wordpress.org/support/users/uriahs-victor/)
 * (@uriahs-victor)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-affecting-website/#post-15337194)
 * [@hassanshal](https://wordpress.org/support/users/hassanshal/) No problem, do
   you mind leaving a review for the plugin? It keeps me motivated to continue working
   on it, you can do so here: [https://wordpress.org/support/plugin/map-location-picker-at-checkout-for-woocommerce/reviews/](https://wordpress.org/support/plugin/map-location-picker-at-checkout-for-woocommerce/reviews/)
 * Thank you
 *  Plugin Author [Uriahs Victor](https://wordpress.org/support/users/uriahs-victor/)
 * (@uriahs-victor)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-affecting-website/#post-15346749)
 * [@hassanshal](https://wordpress.org/support/users/hassanshal/) Just a reminder
   here 🙂
 *  [wasim78](https://wordpress.org/support/users/wasim78/)
 * (@wasim78)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/error-affecting-website/#post-15392060)
 * Location Picker at Checkout: Hi Admin, some websites might have issues with displaying
   or using the Google Map. If you’re having issues then please have a look at your
   browser console for any errors.
    -  This reply was modified 4 years, 1 month ago by [wasim78](https://wordpress.org/support/users/wasim78/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Error Affecting Website’ is closed to new replies.

 * ![](https://ps.w.org/map-location-picker-at-checkout-for-woocommerce/assets/icon-
   256x256.png?rev=2876264)
 * [Kikote - Location Picker at Checkout & Google Address AutoFill Plugin for WooCommerce](https://wordpress.org/plugins/map-location-picker-at-checkout-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/map-location-picker-at-checkout-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/map-location-picker-at-checkout-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/map-location-picker-at-checkout-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/map-location-picker-at-checkout-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/map-location-picker-at-checkout-for-woocommerce/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [wasim78](https://wordpress.org/support/users/wasim78/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/error-affecting-website/#post-15392060)
 * Status: resolved