When trying to open up the Appearance –> Theme Options, a page loads mostly blank except for “Site Color Scheme” and “Cookies Message” showing up in blue. I’ve tried deactivating all plug-ins with no success. Theme Options used to work originally. We’re running on Godaddy Web Hosting. Any ideas?
If you want, you can create a new user to me in your admin panel. In that way, I can check the error on site. I have done this with other users and there were no problems. You can trust me. I only want to fix this problem. You can send me the information to my email firstname.lastname@example.org
I will give you access to our site to look into the issue. However, in case anybody else experiences a similar problem here’s the Apache/PHP generated error we see in our logs:
PHP Warning: Invalid argument supplied for foreach() in /wp-content/themes/cian/sections/portfolio.php on line 102
I really don’t know why it happened. It’s the first time I find this kind of problem. The solution has been to add a css style to remove that div. Maybe that div is added by the WP Engine styles, I don’t know.
The code I have added to the file functions.php is the next: