WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. lookshape
    Member
    Posted 2 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!

    http://wordpress.org/extend/plugins/ecwid-useful-tools/

  2. fkie
    Member
    Plugin Author

    Posted 2 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
    Member
    Plugin Author

    Posted 2 years ago #

    BTW, until I release 0.7.2, please use stable 0.6 version. It can be downloaded here:
    http://downloads.wordpress.org/plugin/ecwid-useful-tools.0.6.zip

    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
    Member
    Posted 2 years ago #

    Thanks so much, the earlier version works great.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.