Jump to content

PHP Warning: Invalid argument supplied for foreach() in /home/tema/classes/shop/Shop.php on line 332


Recommended Posts

Buna ziua.

 

S-a facut o repunere de back-up pentru un presta 1.6.0.8, dar la final intervine 500 Server Error, iar cei de la hosting mi-au dat eroarea de pe server care e PHP Warning: Invalid argument supplied for foreach() in /home/ultraver/public_html/ultraverde.nl/classes/shop/Shop.php on line 332.

In linia respectiva e foreach ($result as $row).

Cine ma poate ajuta sa remediez problema, va rog?

Link to comment
Share on other sites

Problema trebuie sa fie alta. Acela e doar un Warning.

 

Sa verifice in error_log ceva de genul Fatal Error... 

Dar fiind 500 Server Error poate sa nu vina neaparat din PHP.

 

Incearca sa active debugging-ul din config/defines.inc.php si vezi daca apare eroarea.

Edited by cristic (see edit history)
Link to comment
Share on other sites

  • 2 months later...

Salutare,

 

Poti sa-mi zici ce solutie ai gasit?

 

Se tot blocheaza vps-ul iar cei de la hosting mi-au zis ca am o eroare care se tot repeta.

 

22-Oct-2014 10:00:44 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/-/public_html/classes/shop/Shop.php on line 332

 

Multumesc

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...