• Resolved buddywhatshisname

    (@vhmarkgmailcom)


    With version 14.14, the Tracker Debugger page
    /wp-admin/admin.php?page=wps_tracker-debugger_page

    PHP Errors Detected in tracker.js

    We found the following error:
    Warning

    Type: Error

    Message: Use of undefined constant WP_DEBUG – assumed ‘WP_DEBUG’ (this will throw an Error in a future version of PHP)


    insists on showing the above, even though I have made sure my wp-config.php contains:

    define(‘WP_DEBUG’, 0);
    define(‘WP_DEBUG_DISPLAY’, 0);


    Is this a bug in the plugin?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @vhmarkgmailcom,

    Thank you for your message.

    It seems that this issue is not related to the WP Statistics plugin. The error suggests that the WP_DEBUG Constant is not being correctly recognised, often due to incorrect quotation marks in wp-config.php.

    Please make sure you’re using standard single quotes ' like this:

    define('WP_DEBUG', false);
    define('WP_DEBUG_DISPLAY', false);

    Sometimes using fancy quotes (e.g., or ) can cause this issue.

    Hope this helps! Let us know if you have any other questions.

    Best regards,
    Mehmet

    Thread Starter buddywhatshisname

    (@vhmarkgmailcom)

    OK thanks I will dig around further.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Tracker debugger PHP Notices’ is closed to new replies.