• Hi, every time when i update this plugin i get same error

    Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /var/www/vhosts/DOMAIN/httpdocs/wp-content/plugins/woo-locations/src/Loader.php:57

    then I need to go and edit LN57 changing it to
    $states[$bucket[‘country’]] = array_merge((array)@$states[$bucket[‘country’]], (array)$bucket[‘items’]);
    Maybe that cleint website has odd configuration what causing it, but can you add that extra (array) before 2nd argument, to reduce debuggin for others 😉

Viewing 1 replies (of 1 total)
  • Plugin Author Dan

    (@dangoodman)

    Hi @beneris,

    Thank you for the report. Please check if the 1.13.0 update helps with this issue.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.