Support » Plugin: Simple Membership Menu » Uncaught Error: Class ‘SwpmAuth’ not found

  • All right, this is a new one:

    Uncaught Error: Class 'SwpmAuth' not found in /.../wp-content/plugins/simple-membership-menu/swpm-menu.php:200

    The class is defined in simple-membership/classes/class.swpm-auth.php, but apparently this plugin somehow fails to find it…

    So I’ve explicitly added on /simple-membership-menu/swpm-menu.php, on line 199, the following code:

    if ( !class_exists( "SwpmAuth" ) ) {

    This seems to have fixed the issue for now.

  • The topic ‘Uncaught Error: Class ‘SwpmAuth’ not found’ is closed to new replies.