Constant warning, informs when debugging is enabled

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author

    Posts

  • #3346

    suteny0r

    Participant

    These three come up with almost every page load

    Notice: Undefined variable: this_version in /home/dogalog/public_html/wp-content/plugins/woocommerce-custom-tabs-pro/woocommerce-custom-tabs-pro.php on line 58

    Notice: Undefined variable: this_plugin_name in /home/dogalog/public_html/wp-content/plugins/woocommerce-custom-tabs-pro/woocommerce-custom-tabs-pro.php on line 59

    Warning: Cannot modify header information – headers already sent by (output started at /home/dogalog/public_html/wp-content/plugins/woocommerce-custom-tabs-pro/woocommerce-custom-tabs-pro.php:58) in /home/dogalog/public_html/wp-includes/pluggable.php on line 1167

    the third one causes redirects to fail (if debugging enabled)

    sometimes my custom tabs dont display (using enfold theme)

    saw a note describing the pluggable.php error in another of your products. perhaps this one needs the same fix.

    #3348

    WebshopLogic

    Keymaster

    Thank you for let us know this.
    We will solve the problem in the following version.

    The original problem is not a major problem, and PHP gives two notices for you (the fist two messages).
    The third message is caused by this two notices.
    I suppose that STRICT error level mode is set on your site, and that is why these two notices are displayed. Please switch off STRICT error leveling mode temporary, and the problem will be disappear. Your administrator can help you in it.
    You can switch it back if you need in the following version.

    #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;
    }

    #3398

    WebshopLogic

    Keymaster

    Hi,

    The problem is solved in v1.0.21, please update to it.

    These lines were changed:

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

    These are the fixed lines:

    $version = WCT_VERSION;
    $plugin_name = WCT_NAME;

    I hope this solution is right for you.

    Peter Rath
    WebshopLogic

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.