Jump to content

Warning - invalid argument supplied for foreach()


WiltshireAirlines

Recommended Posts

I am trying to use the admin fleet table found in Admin Panel > Airline Operations > Add and Edit Fleet. I copied and pasted the code (I understand that I won't get the same styling as the admin fleet table but I don't care about styling) over to my fleet module and it says that no aircraft have been added when there indeed have been aircraft added. I'm pretty sure the variable $allaircraft (as array) is no longer valid after moving the code. What is the array variable with all the aircraft? Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...