Title: [Plugin: Register Plus] Javascript Error on Page
Last modified: August 19, 2016

---

# [Plugin: Register Plus] Javascript Error on Page

 *  [kckennedy](https://wordpress.org/support/users/kckennedy/)
 * (@kckennedy)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/plugin-register-plus-javascript-error-on-page/)
 * With script debugging turned on in my IE browser, I get an error on the registration
   page:
    A Runtime Error has occurred. Line: 11 Error: ‘jQuery’ is undefined When
   running a script debugger, the first error points to: (function($){ })(jQuery);
   <–
 * WordPress 2.5.1
    Register Plus Plugin 3.5.1
 * I’ve created a fresh test site with no other plugins, and get the same. Not that
   this is currently causing a funtionality problem for me, but I’d like to resolve
   it. Can anyone point me in the right direction on this please?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [kckennedy](https://wordpress.org/support/users/kckennedy/)
 * (@kckennedy)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/plugin-register-plus-javascript-error-on-page/#post-902415)
 * P.S. That error was in the datepicker/jquery.bgiframe.js file. Additional errors
   on jquery.datePicker.js
 *  [pigsinc](https://wordpress.org/support/users/pigsinc/)
 * (@pigsinc)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-register-plus-javascript-error-on-page/#post-902709)
 * Have you found a solution to this yet?
 *  [bigdawggi](https://wordpress.org/support/users/bigdawggi/)
 * (@bigdawggi)
 * [17 years ago](https://wordpress.org/support/topic/plugin-register-plus-javascript-error-on-page/#post-902725)
 * I just installed this (Register Plus) plugin, and am getting a javascript error
   on the registration page. It’s only a big deal b/c I need other JS to run on 
   the page on page load.
 *     ```
       userSettings is not defined
       http://[site-name]/wp-admin/js/common.js?ver=20080318
       Line 128
       ```
   
 * I have disabled all other plugins as well in the troubleshooting effort.
 * I’m using WP 2.7. Thanks in advance!
 *  [musicmasteria](https://wordpress.org/support/users/musicmasteria/)
 * (@musicmasteria)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-register-plus-javascript-error-on-page/#post-902730)
 * (Quote what bigdawggi said)
 * The javascript error is caused by the script not printing the “[http://[site-name]/&#8221](http://[site-name]/&#8221);
   part of the url in it’s call for the “common.js?ver=20080318” script file.
 * <script type=’text/javascript’ src=’wp-admin/js/common.js?ver=20080318′></script
   >
    VS. <script type=’text/javascript’ src=’[http://siteurl.com/wp-admin/js/common.js?ver=20080318′></script&gt](http://siteurl.com/wp-admin/js/common.js?ver=20080318′></script&gt);
 * You can fix this error using my fix here:
    [http://wordpress.org/support/topic/274602](http://wordpress.org/support/topic/274602)
 *  [hantz](https://wordpress.org/support/users/hantz/)
 * (@hantz)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/plugin-register-plus-javascript-error-on-page/#post-902732)
 * musicmasteria mate, I just run your fix and still i have the same errors…any 
   other ideas?
 *  [westsideww](https://wordpress.org/support/users/westsideww/)
 * (@westsideww)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-register-plus-javascript-error-on-page/#post-902737)
 * I just did a fresh install of Register Plus and found the same issue w/ the Javascript
   error.
 * The problem is that if you don’t select the box for “Allow New Registrations 
   to set their own Password”, it won’t output the correct jQuery include. You can
   fix this by moving line 1317 to line 1379:
 * <script type=’text/javascript’ src='<?php trailingslashit(get_option(‘siteurl’));?
   >wp-includes/js/jquery/jquery.js?ver=1.2.3′></script>
 * Secondarily, I noticed that the custom Registration CSS wasn’t showing up on 
   the page. Turns out this is because this code will only show if you have chosen
   a custom logo. It can be fixed by moving lines 1550 and 1551 to line 1508 and
   1509 right before the end < /style > tag.
 * <?php if( $regplus[‘register_css’] && $_GET[‘action’] == ‘register’) echo $regplus[‘
   register_css’];
    else if( $regplus[‘login_css’] ) echo $regplus[‘login_css’];?
   ></style>

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Register Plus] Javascript Error on Page’ is closed to new replies.

 * 6 replies
 * 6 participants
 * Last reply from: [westsideww](https://wordpress.org/support/users/westsideww/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-register-plus-javascript-error-on-page/#post-902737)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
