WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
Lots of debug warnings (5 posts)

  1. David Anderson
    Member
    Posted 1 year 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

    http://wordpress.org/extend/plugins/wp-members/

  2. Chad Butler
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year ago #

    Similar answer:

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

  5. David Anderson
    Member
    Posted 1 year 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.

    http://codex.wordpress.org/Debugging_in_WordPress

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.