Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter Marco Pelloni

    (@marcopelloni)

    Hey JC,

    It wouldn’t have to do with another plugin or theme. You’re using ksort on line 71 of functions.php. ksort only takes an array, and on occasion the assoc array was passing through null.

    Since this plugin doesn’t update often, we just made an adjustment to the file to check if the array key exists. If you update your plugin with the following, your users won’t get the fatal error:

    if (array_key_exists($country_request, $newcountry)) {
      ksort($newcountry[$country_request]);
    }
Viewing 1 replies (of 1 total)