Search…

X3 Photo Gallery Support Forums

Search…
 
pueblo23
Topic Author
Posts: 9
Joined: 28 Mar 2010, 15:07

Invalid argument supplied for foreach

10 Jul 2017, 03:55

Hello,

can you please tell me what this error means?

Warning: Invalid argument supplied for foreach() in /data/web/virtuals/28775/virtual/www/subdom/pix/app/extensions/twig.imagevue.inc.php on line 85

I have checked the code but i dont understand it :)

Sorry for lame question :)

Thanks!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13995
Joined: 30 Sep 2006, 03:37

Re: Invalid argument supplied for foreach

10 Jul 2017, 04:03

Where do you get this error? I am guessing you have an old PHP version perhaps 5.3? You can try to edit line 83 into:
Code
if(!empty($items) && count($items)) {
If the above doesn't work, I will need the link and maybe FTP login.
 
pueblo23
Topic Author
Posts: 9
Joined: 28 Mar 2010, 15:07

Re: Invalid argument supplied for foreach

10 Jul 2017, 09:43

I have sent you a PM with details. thank you very much!