Cornerstone PHP Issue

Hi, I have a php warning that’s been identified on bluemonster.ca :

"Warning: Attempt to read property “hierarchical” on null in …****/wp-content/themes/pro/cornerstone/includes/classes/Documents/Content.php on line 129

This warning suggests that the code is attempting to access a property of a variable that is currently null. Specifically, it pertains to the “hierarchical” property within the “Content.php” file of the Pro theme’s Cornerstone plugin."

Any idea how to fix this? I’ve already done the update, and I’m getting this now.

Thanks so much :pray:t3:

Hello Tina,

Thanks for writing to us.

As per the message added in the thread, it seems that there is a PHP Warning. Although you can suppress the warning messages by adding the following code to the wp-config.php, I will still report it to our development team for further investigation.

define( 'WP_DEBUG', false );

Thanks

1 Like

Thank you @prakash_s. I’ve been having some issues with the site and this came up. Hopefully an easy fix :slight_smile:

Hey Tina,

We will be forwarding this thread to our developers. By the way, which PHP version are you using?

Thanks.