Warning: Invalid argument supplied for foreach() in /home/betsylit/public_html/wp-content/plugins/cornerstone/includes/utility/element-api.php on line 210

Warning: Invalid argument supplied for foreach() in /home/betsylit/public_html/wp-content/plugins/cornerstone/includes/utility/element-api.php on line 210

This is appearing on my homepage. https://betsylittle.com

How do I get rid of it?

Hello Christopher,

Thanks for posting in! When I check your site, I could no longer see the PHP Warning message. Usually, this will appear if you have update X theme using the older version of Cornerstone. Be aware that this is just a PHP Warning message. You do not have to worry about this as it does not affect your site’s features and functions. To get rid of the PHP Warning message, you will have to disable the debug mode. You can do this by opening wp-config.php and adding

define('WP_DEBUG', false);

/* That's all, stop editing! Happy blogging. */

The PHP warning message should no longer be displaying when you check the page.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.