• Resolved mmtomm

    (@mmtomm)


    Hi,

    I’m having this in my logfiles after installation of 3.0.4.1 – must I panic now?

    [27-Mar-2013 15:56:17 UTC] PHP Notice:  Use of undefined constant WCDE_LOAD_EXTENSION_SUPPORT - assumed 'WCDE_LOAD_EXTENSION_SUPPORT' in /wp-content/plugins/woocommerce-de/woocommerce-de.php on line 217
    [27-Mar-2013 15:56:17 UTC] PHP Notice:  Use of undefined constant WCDE_LOAD_GETTEXT_FILTERS - assumed 'WCDE_LOAD_GETTEXT_FILTERS' in /wp-content/plugins/woocommerce-de/woocommerce-de.php on line 232
    [27-Mar-2013 15:56:17 UTC] PHP Notice:  Use of undefined constant WCDE_LOAD_EXTENSION_SUPPORT - assumed 'WCDE_LOAD_EXTENSION_SUPPORT' in /wp-content/plugins/woocommerce-de/woocommerce-de.php on line 286
    [27-Mar-2013 15:56:17 UTC] PHP Notice:  Use of undefined constant WCDE_LOAD_EXTENSION_SUPPORT - assumed 'WCDE_LOAD_EXTENSION_SUPPORT' in /wp-content/plugins/woocommerce-de/woocommerce-de.php on line 317
    [27-Mar-2013 15:56:17 UTC] PHP Notice:  Use of undefined constant WCDE_LOAD_EXTENSION_SUPPORT - assumed 'WCDE_LOAD_EXTENSION_SUPPORT' in /wp-content/plugins/woocommerce-de/woocommerce-de.php on line 351
    [27-Mar-2013 15:56:17 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-content/plugins/woocommerce-de/woocommerce-de.php:217) in /wp-content/plugins/woocommerce/classes/class-wc-session-handler.php on line 63
    [27-Mar-2013 15:56:17 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /wp-content/plugins/woocommerce-de/woocommerce-de.php:217) in /wp-content/plugins/woocommerce/woocommerce-functions.php on line 1366

    It appears on the site with debug mode on (I’m on a development env), when debug=false then they are only in my phpErrorLog.

    Thank you
    Tom
    Vienna

    http://wordpress.org/extend/plugins/woocommerce-de/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author David Decker

    (@daveshine)

    @mmtomm:
    Thanks for the feedback!
    Don’t panic, these are just “notices” NO errors or such, a big difference 🙂

    However, I currently cannot reproduce this — I am always with DEBUG on… — but I will look into this issue of course and report back!

    Thanks, Dave 🙂

    Plugin Author David Decker

    (@daveshine)

    @mmtomm:
    Additionally, you did define DEBUG so:
    define( 'WP_DEBUG', true ); — for ON
    and:
    define( 'WP_DEBUG', false ); — for OFF

    Right?

    Thanks, Dave 🙂

    Thread Starter mmtomm

    (@mmtomm)

    Hi Dave,

    yes, thaat’s true!
    While true, they are messing the page
    while false, they just mess the error log.
    🙂

    Thank you for feedback
    Tom

    Plugin Author David Decker

    (@daveshine)

    @mmtomm:
    Hi,
    I just made more tests and still cannot reproduce, no matter if frontend or backend, and no matter if Debug on or off an Debug Log on or off.

    Do you have these constants in use in a theme or another plugin?

    What your used verions of WP and WC, and which theme?

    You can also contact me via http://deckerweb.de/kontakt/

    If I had backend access it might help a lot to get a solution.

    Thanks, Dave

    Thread Starter mmtomm

    (@mmtomm)

    Hi Dave,

    the site is not yet accessible from outside.
    I’m using all actual versions:
    WP 3.5.1
    Woo 2.0.5
    Theme Replete (kriesi.at) 1.3.1
    a number of woo plugins all uptodate
    WP SEO Yoast 1.4.4
    WP Retina 2x 1.2.0
    Simple Image Sizes 2.4.2
    P3 (Plugin Performance Profiler) 1.4.1
    CodeStyling Localization 1.99.30

    actually I’m not aware about it (not a coder), meaning, I did not define personally any constants 😐

    Thanks
    Tom

    Plugin Author David Decker

    (@daveshine)

    Hi Tom!

    Thanks for the feedback!
    The issue still seems strange to me.
    I have already build-in checks for the constant.

    However, could you please try this file here: https://www.dropbox.com/s/pxvwwopi06k6dex/woocommerce-de_test.zip
    –> Download, unzip and upload via FTP —> new version of file woocommerce-de.php, just override the existing file.

    Maybe this solves it?

    Thanks, Dave 🙂

    Thread Starter mmtomm

    (@mmtomm)

    Hi Dave,

    yes, there are no more Notices in the Log now!
    Probably, I keep this till a new version comes…

    Thank you
    Tom

    Plugin Author David Decker

    (@daveshine)

    Thank you for the feedback, Tom!
    I’ll add these little additions to the next update also, so you don’t have to worry… 🙂

    Thanks, Dave 🙂

    Marcus

    (@lotuz)

    Same issue with same configuration here.

    The only plugin I have in common with Tom was WP SEO Yoast 1.4.4.

    So far, the …test.zip solves the issue.

    Thank you guys!

    Plugin Author David Decker

    (@daveshine)

    Hi all!

    Latest version 3.0.7 fixes that for all 🙂

    Update or download here: http://wordpress.org/extend/plugins/woocommerce-de/

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘PHP notice and warnings undefined constant, headers alreday sent’ is closed to new replies.