Jump to content

Warning: Invalid argument supplied for foreach() in /public_html/classes/Hook.php on line 491


Kst
 Share

Recommended Posts

Hello,

We got an error at the top of our page Warning: Invalid argument supplied for foreach() in /public_html/classes/Hook.php on line 491.

I've read that it could be a problem with the foreach loop or arrays, but I don't know php and don't have any idea how to fix it. 

In line 491 I find: foreach ($results as $result) {

Please help me with the problem, I am also attaching a picture of the code.

error ap.png

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More