I'm getting the following error messages when I'm on a product page. Any suggestions?

* warning: Invalid argument supplied for foreach() in /home/rivulcom/drupal-6.19/sites/all/modules/uc_aac/uc_aac.module on line 89.
* warning: Invalid argument supplied for foreach() in /home/rivulcom/drupal-6.19/sites/all/modules/uc_aac/uc_aac.module on line 89.

Comments

cyu’s picture

Want to try 6.x-2.x-dev out? That warning looks familiar, so that makes me think I fixed it in dev. Let me know if that works for you. I should probably make a 2.1 release.

johnhorning’s picture

I tried it and am getting a slightly different message now:
# warning: Invalid argument supplied for foreach() in /home/rivulcom/drupal-6.19/sites/all/modules/uc_aac/uc_aac.module on line 117.

It seems to be somewhat random - sometimes getting the message more than once or not at all.

The good news is that the price is getting updated as it's supposed to.

johnhorning’s picture

Update - I imported new options into the database and the problem seems to have gone away, but don't know what I did to fix it.

Kylie Morgan’s picture

Version: 6.x-2.0 » 6.x-2.1
Priority: Normal » Major

warning: Invalid argument supplied for foreach() in /~/sites/all/modules/uc_aac/uc_aac.module on line 117.

Looking for a solution to this issue ASAP. It's appearing on product pages and in the cart. I see that it is happening on other sites as well (same error/line), but with no solutions.

Kylie Morgan’s picture

Version: 6.x-2.1 » 6.x-2.x-dev

warning: Invalid argument supplied for foreach() in /~/sites/all/modules/uc_aac 2/uc_aac.module on line 116.

Same issue with dev.

shantanu1’s picture

Issue summary: View changes

Foreach invalid argument supplied.