PHP Error[2]: Invalid Argument Supplied for foreach()
PHP Error[2]: Invalid Argument Supplied for foreach()
Hello my dear friends,
The error:
PHP Error[2]: Invalid Argument Supplied for foreach()
is consequence of the following command without the quotes: "./yiic" I did some research but every potential solution is related to php programming. I am working within virtualbox and its all about setting correct command. There is NO programming code. What am I supposted to do to within virtualbox's terminal to fix this error caused by said command? I don't have any access to website's server also. Here is screenshot:
s14 DOT postimg DOT org/5qyh274q9/phperror.jpg
Thank you in advance.
The error:
PHP Error[2]: Invalid Argument Supplied for foreach()
is consequence of the following command without the quotes: "./yiic" I did some research but every potential solution is related to php programming. I am working within virtualbox and its all about setting correct command. There is NO programming code. What am I supposted to do to within virtualbox's terminal to fix this error caused by said command? I don't have any access to website's server also. Here is screenshot:
s14 DOT postimg DOT org/5qyh274q9/phperror.jpg
Thank you in advance.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
I'm afraid this has nothing to do with VirtualBox. I would seek support to the supporter.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
I apologize for correcting you but it has to do with virtualbox - the error is within virtualbox.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
The error is from whatever guest you are running.SadPerson wrote:I apologize for correcting you but it has to do with virtualbox - the error is within virtualbox.
The error is from phpVirtualBox
What virtuabox terminal would that be?What am I supposted to do to within virtualbox's terminal to fix this error caused by said command?
Last edited by loukingjr on 2. Apr 2015, 12:39, edited 1 time in total.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
I just realized you apparently are running phpVirtualBox. This is not the phpVirtualbox forum.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
the one that occurs before Ubuntu's desktop occurs.What virtuabox terminal would that be?
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
::smh::
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
i tried to type that command on terminal but not working. Im not that good with virtualbox/ubuntu since i have always been using windows. Please be more exact. The error, once again, is:loukingjr wrote:::smh::
PHP Error[2]: Invalid Argument Supplied for foreach()
and i provided the screenshot
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
It wasn't a command. ::smh:: means shaking my head.
As I think I mentioned, this is not a phpVirtualBox support forum.
As I think I mentioned, this is not a phpVirtualBox support forum.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
I apologize for misunderstanding then. If you shake your entire body it could be better than shake just head. I could help you with some good music if needed.
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
The picture posted by SadPerson is unfortunately not postable in a on-screen format (by no possible way could I get a 170kb screenshot down to a 128 or less screenshot and just have it viewable (edit I just need a better image editor) - anyone think the 128kb limit is just a little too tight?) Here it is as a zip:
Anyway, what the picture shows is a running Ubuntu 64bit guest with the "./yiic" command and resulting errors as typing and response within the guest. None of what I see, especially that command, seems to look like anything I've ever seen coming from Virtualbox, and the command is not in the Virtualbox help file as best as I can remember.
SadPerson, I think your issue will not be able to be answered here. We don't know what "./yiic" means or what it comes from or how to fix it. A google on "yii-1.1.14" yielded this: "http://www.yiiframework.com/news/75/yii ... -released/" Maybe those folks are who you should ask?
SadPerson, I think your issue will not be able to be answered here. We don't know what "./yiic" means or what it comes from or how to fix it. A google on "yii-1.1.14" yielded this: "http://www.yiiframework.com/news/75/yii ... -released/" Maybe those folks are who you should ask?
Last edited by scottgus1 on 2. Apr 2015, 14:22, edited 1 time in total.
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
scottgus1 thank you for your answer. More about ''./yiic'' command without the quotes can be found here: tinyurl DOT com/q76vj2r
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
oh geez…scottgus1 wrote:The picture posted by SadPerson is unfortunately not postable in a on-screen format ?
- Attachments
-
- phperror2.jpg (124.47 KiB) Viewed 2817 times
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
OK, Lou, I'm dumb this morning. I tried to re-save that shot several different ways to get the size down, couldn't do it. Please enlighten me...
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: PHP Error[2]: Invalid Argument Supplied for foreach()
It's a Mac thing. 
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.