Ready to get started?Download WordPress


Lots of debug warnings (5 posts)

  1. David Anderson
    Posted 11 months ago #

    Nice plugin, thank you (I am a subscriber to the Pro version).

    If WP_DEBUG is turned on, then this plugin is noisy; e.g.:

    Notice: Use of undefined constant WPMEM_USE_NONCE - assumed 'WPMEM_USE_NONCE' in wp-content/plugins/wp-members/wp-members-dialogs.php on line 336
    Notice: Undefined index: log in wp-content/plugins/wp-members/wp-members-dialogs.php on line 350
    Notice: Undefined index: first_name in wp-content/plugins/wp-members/wp-members-dialogs.php on line 404


  2. Chad Butler
    Plugin Author

    Posted 11 months ago #

    David - if you are a rocketgeek.com site member, why didn't you just post this over there?

    It's hard to say exactly what caused the specific messages when no context is provided. I do know that the WPMEM_USE_NONCE one has been addressed in the 2.8.3 release, which is in beta. But you shouldn't be running a production site with WP_DEBUG turned on anyway.

  3. bobbingwide
    Posted 10 months ago #

    Hi, I had the same problem, running in a development site. My list was slightly longer than David's as none of the defined fields are set ( in line 404 ) when the registration form is first displayed.

    The messages are issued when a visitor is attempting to view a restricted post.

    Problems seem to be resolved in the development version (2.8.3)

  4. Chad Butler
    Plugin Author

    Posted 10 months ago #

    Similar answer:

    You shouldn't be running a production site with WP_DEBUG turned on anyway.

  5. David Anderson
    Posted 10 months ago #

    I had WP_DEBUG turned on on a development site, as recommended in Codex. WP-Members' noisiness then made it hard work to develop that site:

    NOTE: While it is not mandatory to account for WP_DEBUG in plugins and themes it is highly recommended that plugin and theme developers use WP_DEBUG mode while working on code they plan to release publicly. If your plugin or theme is not compatible then the errors, notices and warnings it throws will make it impossible for other developers to use your plugin/theme while they have WP_DEBUG enabled and your theme will not be eligible for promotion via the official WordPress tools.



You must log in to post.

About this Plugin

About this Topic


No tags yet.