Warning: Cannot use a scalar value as an array in /wp-content/plugins/cornerstone/includes/classes/components/class-shortcode-finder.php on line 91

Hi there, recently my client’s site is getting this error on the front-end:

“Warning: Cannot use a scalar value as an array in /wp-content/plugins/cornerstone/includes/classes/components/class-shortcode-finder.php on line 91”

I have tried to disable errors via wp-config, but that isn’t working.

Any idea what I need to do?

Hi Drijen,

Thank you for reaching out to us. Can you please check for the following first:

  1. Ensure everything is up to date according to our version compatibility list at https://theme.co/apex/forum/t/troubleshooting-version-compatibility/195. Please follow the best practices when updating your theme and plugins. See https://theme.co/apex/forum/t/setup-updating-your-themes-and-plugins/62 for more details.

  2. If you’re using a caching plugin, clear all caches including browser cache then deactivate your caching plugin and other optimization plugins.If you’re using a CDN, please clear the CDN’s cache and disable optimization services.

  3. Test for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

  4. Deactivate your child theme and switch to parent theme.

If you still have problems kindly get back to us with the result of the steps above and URL/User/Pass of your WordPress dashboard using the Secure Note functionality of the post to follow up the case.

Thanks.

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