Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter neel26

    (@neel26)

    Always this problem occurs…..

    Thread Starter neel26

    (@neel26)

    Such error is occurring

    PHP Warning: array_keys() expects parameter 1 to be array, boolean given in D:\inetpub\vhosts\nfragrances.com\test.nfragrances.com\wp-content\plugins\woocommerce-currency-switcher\index.php on line 473
    PHP Warning: array_map(): Argument #2 should be an array in D:\inetpub\vhosts\nfragrances.com\test.nfragrances.com\wp-content\plugins\woocommerce-currency-switcher\index.php on line 474

    Thread Starter neel26

    (@neel26)

    Hello,
    Solve the problem.

    Plugin Author RealMag777

    (@realmag777)

    Hello

    What was the trouble? Empty settings?

    Thread Starter neel26

    (@neel26)

    Hi,
    Thanks a lot for the reply when i install the plugin on the server,i give the above error as mentioned earlier, i am mentioning the error.

    PHP Warning: array_keys() expects parameter 1 to be array, boolean given in D:\inetpub\vhosts\nfragrances.com\test.nfragrances.com\wp-content\plugins\woocommerce-currency-switcher\index.php on line 473
    PHP Warning: array_map(): Argument #2 should be an array in D:\inetpub\vhosts\nfragrances.com\test.nfragrances.com\wp-content\plugins\woocommerce-currency-switcher\index.php on line 474

    Thread Starter neel26

    (@neel26)

    What does you mean by empty settings…

    Plugin Author RealMag777

    (@realmag777)

    Hello

    http://clip2net.com/s/3wy0TBo – is this settings looks normally here wp-admin/admin.php?page=wc-settings&tab=woocs ? Try to set settings and press save

    IF you see nothing there and cant add any currencies, use this link: wp-admin/admin.php?page=wc-settings&tab=woocs&woocs_reset=1

    Thread Starter neel26

    (@neel26)

    Hello,
    But no such option is shown there because plugin doesn’t install itself and gives this error

    PHP Warning: array_keys() expects parameter 1 to be array, boolean given in D:\inetpub\vhosts\nfragrances.com\test.nfragrances.com\wp-content\plugins\woocommerce-currency-switcher\index.php on line 473
    PHP Warning: array_map(): Argument #2 should be an array in D:\inetpub\vhosts\nfragrances.com\test.nfragrances.com\wp-content\plugins\woocommerce-currency-switcher\index.php on line 474

    Plugin Author RealMag777

    (@realmag777)

    Hello

    This warnings. Upload the plugin by ftp
    +
    Do next trick:
    * open index.php of the plugins
    * find public function get_currencies()
    * before return $currencies; drop code:

    if(empty($currencies) OR !is_array($currencies)){
          $currencies=$default;
    }

    http://clip2net.com/s/3wB1VvR

    I had the same issue and my solution was to deactivate the plugin, delete the row named woocs from the wp_options table and reactivate the plugin.

    Plugin Author RealMag777

    (@realmag777)

    @leefroese

    Thank you for cooperation …

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

The topic ‘Currency Switcher plugin not uploading’ is closed to new replies.