Author Topic: Warning: Invalid argument supplied for foreach() :(  (Read 3684 times)

spirosk80

  • Beginner
  • *
  • Posts: 7
Warning: Invalid argument supplied for foreach() :(
« on: September 10, 2012, 20:14:33 pm »
Hello,
I get this error:
Warning: Invalid argument supplied for foreach() in /home........joomla/html/html/select.php on line 504
what could I do to make it right?
I use for the first time the VM and I got no idea.
Please help me.
thenk you in advance.
Spiros

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9997
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Warning: Invalid argument supplied for foreach() :(
« Reply #1 on: September 11, 2012, 09:07:05 am »
No clue, this some joomla library, the reason can be of course virtuemart. Please install joomla and virtuemart with sample data.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

spirosk80

  • Beginner
  • *
  • Posts: 7
Re: Warning: Invalid argument supplied for foreach() :(
« Reply #2 on: September 11, 2012, 10:25:22 am »
Thank you for your answer very much.
But my site is almost ready, what could I do now?
Thank you.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3547
  • using Matomo instead of Google Analytics
Re: Warning: Invalid argument supplied for foreach() :(
« Reply #3 on: September 11, 2012, 11:24:23 am »
At the beginning of the year there was such an issue in Joomla, for which a patch was provided in newer versions. So if you are using a Joomla version older than Joomla 2.5.6, please update.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

fbc

  • Jr. Member
  • **
  • Posts: 75
    • Hospemex
Re: Warning: Invalid argument supplied for foreach() :(
« Reply #4 on: October 18, 2012, 04:39:11 am »
Is there still no resolution for this problem? I'm having it.
Frank

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3547
  • using Matomo instead of Google Analytics
Re: Warning: Invalid argument supplied for foreach() :(
« Reply #5 on: October 18, 2012, 07:51:37 am »
See here: http://forum.virtuemart.net/index.php?topic=99047.30
Update your Joomla/VM2 to newer versions?...
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations