Product Advisor for Ecwid
[resolved] [Plugin: Ecwid: Random Products] Php errors show (4 posts)

  1. lookshape
    Posted 4 years ago #

    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!


  2. fkie
    Plugin Author

    Posted 4 years ago #

    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.

  3. fkie
    Plugin Author

    Posted 4 years ago #

    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.

  4. lookshape
    Posted 4 years ago #

    Thanks so much, the earlier version works great.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Product Advisor for Ecwid
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.