Title: [Plugin: Ecwid: Random Products] Php errors show
Last modified: August 20, 2016

---

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

 *  Resolved [lookshape](https://wordpress.org/support/users/lookshape/)
 * (@lookshape)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/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!
 * [http://wordpress.org/extend/plugins/ecwid-useful-tools/](http://wordpress.org/extend/plugins/ecwid-useful-tools/)

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

 *  Plugin Author [fkie](https://wordpress.org/support/users/fkie/)
 * (@fkie)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ecwid-random-products-php-errors-show/#post-2896126)
 * 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](https://wordpress.org/support/users/fkie/)
 * (@fkie)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ecwid-random-products-php-errors-show/#post-2896127)
 * 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](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.
 *  Thread Starter [lookshape](https://wordpress.org/support/users/lookshape/)
 * (@lookshape)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ecwid-random-products-php-errors-show/#post-2896151)
 * Thanks so much, the earlier version works great.

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

The topic ‘[Plugin: Ecwid: Random Products] Php errors show’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ecwid-useful-tools.svg)
 * [Product Advisor for Ecwid](https://wordpress.org/plugins/ecwid-useful-tools/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ecwid-useful-tools/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ecwid-useful-tools/)
 * [Active Topics](https://wordpress.org/support/plugin/ecwid-useful-tools/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ecwid-useful-tools/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ecwid-useful-tools/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [lookshape](https://wordpress.org/support/users/lookshape/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-ecwid-random-products-php-errors-show/#post-2896151)
 * Status: resolved