Support » Plugin: WP Approve User » 404 error for the JS file

Viewing 2 replies - 1 through 2 (of 2 total)
  • We had the same problem here. Used to work so not sure when and how the problem occured. Anyway, your solution worked fine. Thanks!

    The issue seems to be on line 196 of the wp-approve-user.php file.

    $suffix = defined( 'SCRIPT_DEBUG' ) AND SCRIPT_DEBUG ? '' : '.min';

    Should be:

    $suffix = (defined( 'SCRIPT_DEBUG' ) AND SCRIPT_DEBUG) ? '' : '.min';

    Note the brackets around the condition part of the ternary statement. This fixes the issue for me, so hopefully the plugin will be updated to include this fix.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘404 error for the JS file’ is closed to new replies.