Support » Plugins and Hacks » [Resolved] [Plugin: Ecwid: Random Products] Php errors show

[Resolved] [Plugin: Ecwid: Random Products] Php errors show

  • Instead of showing random products in my widget area, it shows php error code:

    Warning: Invalid argument supplied for foreach() in /home/chelly1/public_html/wp-content/plugins/ecwid-useful-tools/classes/CachedEcwidStore.php on line 165

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/chelly1/public_html/wp-content/plugins/ecwid-useful-tools/classes/EcwidStore.php on line 72

    Do you know how I can fix this? Thanks!


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author fkie


    The problem is caused by the fact that you are using free ecwid account and it does not allow certain Product API calls.

    I am working on adding support of free accounts, so stay tuned and upgrade your plugin after its 0.7.2 release.

    Plugin Author fkie


    BTW, until I release 0.7.2, please use stable 0.6 version. It can be downloaded here:

    Also, be aware that 0.7.2 (when will be working with free Ecwid accounts) will not have feature to specify the category ID to pull products from. It is technically impossible, because Product API for free Ecwid accounts is limited. The cache will be designed, though.

    Thanks so much, the earlier version works great.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Ecwid: Random Products] Php errors show’ is closed to new replies.