Sorry to hear this. This is something related to either your server, WordPress setup, or specific conditions on your site since I just tested latest version and it works as intended.
Can you please tell me when and where you get this error and have you used plugin successfully before (either this or previous version)?
When updating old posts. No.
Please try development version, it tries to prevent displaying of this error though it won’t cache images when error is present since I don’t know why it is happening (very little information from you).
Im having this problem too and I´ve tried the plugin in 2 different hosts and still the same.
Any progress ?
dimadin, are willing to make fixes for a fee? Thanks.
BTW the development version seems to have fixed the errors issue.
I’m having this issue too, getting multiple errors:
Warning: Invalid argument supplied for foreach() in /home/####/#####/######/wp-content/plugins/cache-images/cache-images.php on line 516
This occurred when I added pages to a new WP menu in Appearance > Menus and tried to save it. When I surfed away, then back to the menus page, the error was gone. I am running a multisite installation of WordPress 3.0.2 on HostGator (LAMP setup).
I’ll continue running the current (non-dev) version for now and will continue watching to see when this happens so I can report back. Thanks!
I also got the error when I add a new post. The error goes away after I save a draft and doesn’t reappear.
After mmcginnis’ more detailed replies, I’m quite sure that development version should fix this issue. I didn’t consider that my hook would run on every saving/publishing of post so that I need to check if there are results with check for images.
Later today I’ll release a new version of a plugin that fixes this issue.