Warning: preg_match() expects parameter 2 to be string, array given in... / Warning: strpos() expects parameter 1 to be string, array given in

After restoring from a backup, we got the following errors showing at the top of the website - how can we fix it?

Hi @kyber,

Thank you for writing in, your version of X (4.6.4) and Cornerstone (3.4.6) is not compatible. You need to reinstall the Cornerstone to a compatible version (1.3.3).

You can easily do this by deactivating and deleting the Cornerstone from the Plugins panel and then navigating to X > Addons and X will automatically reinstall the Cornerstone for you.

Remember to clear all your caching features (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Or

You could update everything (X, Cornerstone, Wordpress) to the latest versions to make sure to avoid incompatibility issue on the future. You can follow this post for more information.

Cheers!

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