WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: s2Member] PHP Notices & Warnings (1 post)

  1. itthinx
    Member
    Posted 2 years ago #

    While using debugging settings, the plugin produces several notices and warnings that result in white-screen + notices/warnings in certain circumstances (e.g. when activating plugins) as well as notices and warnings thrown in admin screens, this makes working in a development environment with debugging on a bit uncomfortable.

    If these could be taken care of at some point, that would be great.

    Info about the testing environment to recreate this:

    - WP 3.3.2
    - Twenty Eleven 1.3
    - s2Member 120309

    No other plugins activated.

    Using these settings in wp-config.php:

    define('WP_DEBUG', true);
    define('WP_DEBUG_DISPLAY', true);
    define('WP_DEBUG_LOG', true);

    Notices and errors this produced upon activating s2Member 120309:

    (Note that path has been replaced by /.../ )

    [25-Apr-2012 19:04:02] PHP Notice:  Trying to get property of non-object in /.../wp-includes/link-template.php on line 243
    [25-Apr-2012 19:04:02] PHP Notice:  Trying to get property of non-object in /.../wp-includes/link-template.php on line 270
    [25-Apr-2012 19:04:02] PHP Notice:  Trying to get property of non-object in /.../wp-includes/link-template.php on line 274
    [25-Apr-2012 19:04:02] PHP Notice:  Trying to get property of non-object in /.../wp-includes/link-template.php on line 243
    [25-Apr-2012 19:04:02] PHP Notice:  Trying to get property of non-object in /.../wp-includes/link-template.php on line 270
    [25-Apr-2012 19:04:02] PHP Notice:  Trying to get property of non-object in /.../wp-includes/link-template.php on line 274
    [25-Apr-2012 19:04:02] PHP Notice:  Trying to get property of non-object in /.../wp-includes/link-template.php on line 243
    [25-Apr-2012 19:04:02] PHP Notice:  Trying to get property of non-object in /.../wp-includes/link-template.php on line 270
    [25-Apr-2012 19:04:02] PHP Notice:  Trying to get property of non-object in /.../wp-includes/link-template.php on line 274
    [25-Apr-2012 19:04:02] PHP Warning:  Cannot modify header information - headers already sent by (output started at /.../wp-includes/link-template.php:243) in /.../wp-includes/functions.php on line 861
    [25-Apr-2012 19:04:02] PHP Warning:  Cannot modify header information - headers already sent by (output started at /.../wp-includes/link-template.php:243) in /.../wp-includes/functions.php on line 862
    [25-Apr-2012 19:04:02] PHP Notice:  Undefined index:  page in /.../wp-content/plugins/s2member/includes/classes/admin-notices.inc.php on line 136
    [25-Apr-2012 19:04:03] PHP Notice:  Undefined variable: cache_needs_updating in /.../wp-content/plugins/s2member/includes/classes/cache.inc.php on line 97
    [25-Apr-2012 19:04:03] PHP Warning:  Cannot modify header information - headers already sent by (output started at /.../wp-content/plugins/s2member/includes/classes/cache.inc.php:97) in /.../wp-includes/functions.php on line 861
    [25-Apr-2012 19:04:03] PHP Warning:  Cannot modify header information - headers already sent by (output started at /.../wp-content/plugins/s2member/includes/classes/cache.inc.php:97) in /.../wp-includes/functions.php on line 862
    [25-Apr-2012 19:04:03] PHP Notice:  Undefined index:  page in /.../wp-content/plugins/s2member/includes/classes/admin-notices.inc.php on line 136

    This is produced when viewing admin screens:

    [25-Apr-2012 19:04:51] PHP Notice:  Undefined variable: cache_needs_updating in /.../wp-content/plugins/s2member/includes/classes/cache.inc.php on line 97
    [25-Apr-2012 19:04:51] PHP Warning:  Cannot modify header information - headers already sent by (output started at /.../wp-content/plugins/s2member/includes/classes/cache.inc.php:97) in /.../wp-includes/functions.php on line 861
    [25-Apr-2012 19:04:51] PHP Warning:  Cannot modify header information - headers already sent by (output started at /.../wp-content/plugins/s2member/includes/classes/cache.inc.php:97) in /.../wp-includes/functions.php on line 862
    [25-Apr-2012 19:04:51] PHP Notice:  Undefined index:  page in /.../wp-content/plugins/s2member/includes/classes/admin-notices.inc.php on line 136

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags