After clicking on Reorder page I got following warning:
warning: Invalid argument supplied for foreach() in ...uc_reorder\uc_reorder.module on line 100.

CommentFileSizeAuthor
#3 uc_reorder.patch1.52 KBAri Gold

Comments

tr’s picture

What version of Ubercart are you running? What version of PHP?

vlooivlerke’s picture

Hi

I have the latest Ubercart, php 5.2, and i also get this error. (fresh install)

Except for the error, all works well.

Any idea what is causing it?

Thanks

Ari Gold’s picture

StatusFileSize
new1.52 KB

This error happens when your products don't have any attributes. This patch should fix it.

tr’s picture

This module has always worked for products that don't have attributes. I use it for that all the time with no errors.

Do you have E_ALL set or something?

tr’s picture

Status: Active » Postponed (maintainer needs more info)
tr’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closed for lack of further information. If you continue to have a problem please provide some details when reopening the issue.