PHP 7.2 warning in Cornerstone

Hello awesome people. I get the following warning a lot in the Pro Editor and nothing shows up when it does:

Warning: count(): Parameter must be an array or an object that implements Countable in /home/forge/vision-gate.com/wp-content/themes/pro/cornerstone/includes/classes/app/class-app-boot.php on line 35

I am using MariaDB with PHP 7.2.

1 Like

Hi There,

Thanks for writing in! PHP 7.2 is just released (Nov 30 2017) and it will take some to test the compatibility issues on our end.

Upon investigating further, I can see the warning as you have mentioned. I will submit this to our issue tracker.

In the meantime, you can disable your WP_DEBUG by editing your wp-config.php as follows.

define('WP_DEBUG', false);

Thanks!

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