• Resolved KoolPal

    (@koolpal)


    Hi,

    WP:5.3
    Woocommerce:3.8.0
    PHP: 7.3.3

    I came across multiple errors as soon as I clicked on Advanced Tab:

    [21-Nov-2019 07:59:47 UTC] PHP Notice:  Undefined index: tab in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\admin\sections\general\top.php on line 12
    [21-Nov-2019 07:59:47 UTC] PHP Notice:  Undefined index: tab in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\admin\sections\general\top.php on line 13
    [21-Nov-2019 07:59:47 UTC] PHP Notice:  Undefined index: tab in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\admin\sections\general\top.php on line 14
    [21-Nov-2019 08:00:04 UTC] PHP Notice:  Undefined index: tab in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\admin\sections\general\top.php on line 12
    [21-Nov-2019 08:00:04 UTC] PHP Notice:  Undefined index: tab in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\admin\sections\general\top.php on line 13
    [21-Nov-2019 08:00:04 UTC] PHP Notice:  Undefined index: tab in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\admin\sections\general\top.php on line 14
    [21-Nov-2019 08:00:08 UTC] PHP Warning:  Use of undefined constant new_order - assumed 'new_order' (this will throw an Error in a future version of PHP) in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\whpdf_admin.php on line 260
    [21-Nov-2019 08:00:08 UTC] PHP Warning:  Use of undefined constant completed - assumed 'completed' (this will throw an Error in a future version of PHP) in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\whpdf_admin.php on line 261
    [21-Nov-2019 08:00:08 UTC] PHP Warning:  Use of undefined constant on_hold - assumed 'on_hold' (this will throw an Error in a future version of PHP) in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\whpdf_admin.php on line 262
    [21-Nov-2019 08:00:08 UTC] PHP Warning:  Use of undefined constant processing - assumed 'processing' (this will throw an Error in a future version of PHP) in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\whpdf_admin.php on line 263
    [21-Nov-2019 08:00:08 UTC] PHP Warning:  Use of undefined constant customer_invoice - assumed 'customer_invoice' (this will throw an Error in a future version of PHP) in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\whpdf_admin.php on line 264
    

    Please guide me.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author wphobby

    (@darell)

    @koolpal We have fixed the PHP Notices and Warning on the new version, please update the version to 1.0.3 and check it again, Thanks. Regards.

    Thread Starter KoolPal

    (@koolpal)

    @darell

    Got new errors after the update:

    [09-Feb-2020 05:52:59 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\whpdf_document.php:361) in [path]\wp-includes\functions.php on line 6029
    [09-Feb-2020 05:52:59 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\whpdf_document.php:361) in [path]\wp-admin\includes\misc.php on line 1252
    [09-Feb-2020 05:52:59 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\whpdf_document.php:361) in [path]\wp-admin\admin-header.php on line 9
    [09-Feb-2020 05:55:45 UTC] PHP Notice:  Undefined index: tab in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\admin\sections\help\top.php on line 12
    [09-Feb-2020 05:55:45 UTC] PHP Notice:  Undefined index: tab in [path]\wp-content\plugins\wphobby-pdf-invoices-for-woocommerce\includes\admin\sections\help\top.php on line 13

    Please guide me.

    Thanks

    Plugin Author wphobby

    (@darell)

    @koolpal I can’t reproduce these PHP Notice and Warning on my side, because the PHP version is different, I think turn off the “define( ‘WP_DEBUG’, false );” on wp-config.php if you don’t want to show these notices and warnings.

    Plugin Author wphobby

    (@darell)

    @koolpal I need your website wp-admin info so I can reproduce the PHP Notice and Warning on your site. You can send me the wp-admin info to my email [email protected], I will fix this issue for you, thanks.

    Thread Starter KoolPal

    (@koolpal)

    @darell

    I am testing your plugin on localhost.

    WooCommerce version: 3.9.1
    WordPress version: 5.3.2
    PHP version: 7.3.3

    Please see if this helps.

    Turning OFF wp_debug is not exactly a solution.

    Plugin Author wphobby

    (@darell)

    I have fixed these Notices in the latest plugin version, please let me know if you have any other questions, Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multiple Errors on Install’ is closed to new replies.