• When activated, the plugin generates a notice in my local install of WordPress. This can easily be avoided by checking if a session was already started.

    Notice: A session had already been started – ignoring session_start() in […]\wp-content\plugins\rs-members\rsmembers.php on line 31

    Also, when viewing the plugin’s admin pages there are a lot of notices about undefined constants, e.g.

    Notice: Use of undefined constant RsMembersmailchimpAdmin – assumed ‘RsMembersmailchimpAdmin’ in […]\wp-content\plugins\rs-members\include\rsmembers-admin.php on line 126

    Frontend of the install also generates notices like

    Notice: get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in […]\wp-includes\functions.php on line 3828

    Notice: Undefined index: user_login in […]\wp-content\plugins\rs-members\include\rsmembers-public.php on line 70

    This makes the plugin unusable in an environment where error reporting is set to also show warnings.

    • This topic was modified 9 years, 3 months ago by AntoineH.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Plugin generates warning messages’ is closed to new replies.