• Hello,
    I’m using Memberpress to give access to some people to a free course, however when someone creates the account and try to login again this message appears:

    Warning: Use of undefined constant dwul_disable_user_email – assumed ‘dwul_disable_user_email’ (this will throw an Error in a future version of PHP) in /home/lexiusme/public_html/wp-content/plugins/wp-users-disable/custom-ajax.php on line 91

    Warning: Cannot modify header information – headers already sent by (output started at /home/lexiusme/public_html/wp-content/plugins/wp-users-disable/custom-ajax.php:91) in /home/lexiusme/public_html/wp-content/plugins/memberpress/app/lib/MeprUtils.php on line 1839

    I already spoke to Memberpress support, and they suggested contacting you guys for assistance.

    Is there something you can help me with?

    Thanks,

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

Viewing 1 replies (of 1 total)
  • Hello,

    Open this file “wp-content\plugins\wp-users-disable\custom-ajax.php” and

    Change lines 38, 91 & 139 to:

    $table_name = $wpdb->prefix . ‘dwul_disable_user_email’;

    And line 39 to:
    $exitingusertbl = $wpdb->prefix .’users’;

    • This reply was modified 4 years, 6 months ago by hiren sanja.
Viewing 1 replies (of 1 total)
  • The topic ‘Warning: Use of undefined constant dwul_disable_user_email…..’ is closed to new replies.