Is there a possibility that $data->Hide_Geb is affecting the outcome of the if statement?

It is possible that $data->Hide_Geb is affecting the outcome of the if statement if its value is not being correctly evaluated. To solve this issue, you can check the value of $data->Hide_Geb before using it in the if statement and ensure that it is being properly set.

// Check if $data->Hide_Geb is set and not empty before using it in the if statement
if(isset($data->Hide_Geb) && $data->Hide_Geb == true) {
    // Code block to be executed if $data->Hide_Geb is true
} else {
    // Code block to be executed if $data->Hide_Geb is false or not set
}