How do I get rid of this error when I click on the notification icon?

4.20K viewsCore
0

Warning: Invalid argument supplied for foreach() in /home/server/public_html/roo_directory/site_directory/wp-content/themes/anspress/inc/ajax.php on line 27

1

Let me check this.
But its a good idea to disable PHP error reporting if your site in production.