A couple of PHP warnings - Pro 5.1.5

Hey there,

Here’s a couple of PHP warnings I’ve found in the debug logs related to Cornerstone. Nothing major, just want to let you know about them so they may be patched up.

Running Pro 5.1.5, latest version of WP, PHP 8.0.x

PHP Warning: Undefined variable $_view_data in /wp-content/themes/pro/cornerstone/includes/elements/definitions/comment-form.php on line 81

PHP Warning: Undefined variable $column_fade_animation_offset in /public_html/wp-content/themes/pro/cornerstone/includes/elements/definitions/classic-column-v2.php on line 110

1 Like

Hello @JvP,

Thanks for writing to us.

It seems that it is an issue of version compatibility, please make sure your server PHP version is 7.4 or 7.4+ as our version compatibility page. You may contact your hosting provider to downgrade the server’s PHP version.

I would also recommend you please make sure you have not enabled the dubber mode, to disable the warning message you can add the below code into your wp-config.php. As this is just the warning you can just ignore it by adding the following code into your wp-config.php file.

Check for this code in the wp-config.php file
define( 'WP_DEBUG', true);

Replace with this code

define( 'WP_DEBUG', false );

Please find the video that will help you to edit wp-config.php and add the above code: https://www.youtube.com/watch?v=3SDPTafEM8o

Hope it helps.
Thanks

1 Like

Hey @prakash_s,

Just wanted to bring these items to your attention as I find them. I’m purposely running PHP 8.0.x and don’t mind any warnings related to that.

Thanks!

1 Like

Hi @JvP,

Thanks for mentioning those. Our development team is already aware of these warnings occurring due to the PHP version.

Thanks

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