• Hello!
    I use the wordpressversion 5.4.1 and updated my wp-members Version to the last one (3.3.4.2). Then I got this error-message. Now I use the older wp-members Version again.

    Warning: Use of undefined constant WPMEM_CSSURL – assumed ‘WPMEM_CSSURL’ (this will throw an Error in a future version of PHP) in /home/.sites/108/site687/web/wp-content/plugins/wp-members-user-list/wp-members-user-list.php on line 374 Warning: Use of undefined constant WPMEM_CSSURL – assumed ‘WPMEM_CSSURL’ (this will throw an Error in a future version of PHP) in /home/.sites/108/site687/web/wp-content/plugins/wp-members-user-list/wp-members-user-list.php on line 376 Warning: Use of undefined constant WPMEM_CSSURL – assumed ‘WPMEM_CSSURL’ (this will throw an Error in a future version of PHP) in /home/.sites/108/site687/web/wp-content/plugins/wp-members-user-list/wp-members-user-list.php on line 379 Warning: Use of undefined constant WPMEM_CSSURL – assumed ‘WPMEM_CSSURL’ (this will throw an Error in a future version of PHP) in /home/.sites/108/site687/web/wp-content/plugins/wp-members-user-list/wp-members-user-list.php on line 382 Warning: Use of undefined constant WPMEM_CSSURL – assumed ‘WPMEM_CSSURL’ (this will throw an Error in a future version of PHP) in /home/.sites/108/site687/web/wp-content/plugins/wp-members-user-list/wp-members-user-list.php on line 385 Warning: Use of undefined constant WPMEM_CSSURL – assumed ‘WPMEM_CSSURL’ (this will throw an Error in a future version of PHP) in /home/.sites/108/site687/web/wp-content/plugins/wp-members-user-list/wp-members-user-list.php on line 388 Warning: Use of undefined constant WPMEM_CSSURL – assumed ‘WPMEM_CSSURL’ (this will throw an Error in a future version of PHP) in /home/.sites/108/site687/web/wp-content/plugins/wp-members-user-list/wp-members-user-list.php on line 391

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Chad Butler

    (@cbutlerjr)

    The issue is actually not with WP-Members, but rather the WP-Members User List plugin. Ideally, you would seek out support at rocketgeek.com for all premium extensions, but I can give some insight here because it is definitely related to WP-Members.

    WP-Members prior to version 3.2.0 used a number of defined constants. Over the last few years, those have been being deprecated in favor of container variables in the main object class. WPMEM_CSSURL was one of those, and it was used to hold the location of the main WP-Members stylesheet. Older versions of the User List used this to identify which stylesheet was being used in the main plugin, and therefore which stylesheet to load for its own display (there used to be a number of stylesheets within that plugin, which is not longer the case).

    That constant has been made obsolete as of version 3.3.0 of the plugin. However, I may need to bring it back in for backward compatibility. Ideally, the User List plugin should be upgraded, but I also notice this constant is used in some of the 1.9.x versions of that plugin. It definitely is not used in the 2.0 version of User List, which is still technically a beta release. So to address it in the meantime, I’ll look at including it in the deprecated elements of the plugin that remain for backward compatibility.

Viewing 1 replies (of 1 total)
  • The topic ‘Use of undefined constant WPMEM_CSSURL after Update’ is closed to new replies.