Reply To: Constant warning, informs when debugging is enabled

Home Page Forums WooCommerce Custom Tabs Constant warning, informs when debugging is enabled Reply To: Constant warning, informs when debugging is enabled

#3351

suteny0r

Participant

What a pathetic response.

your carelessness prevents the actual debugging of other unrelated modules by spewing these warning (triggering failures of header setting instructions)

perhaps this section

[woocommerce-custom-tabs-pro.php@line 58]

$version = $this_version;
$plugin_name = $this_plugin_name;

should have been written as

if(isset($this_version)){
$version = $this_version;
}
if(isset($plugin_name)){
$plugin_name = $this_plugin_name;
}