Support » Fixing WordPress » FIXED: Register Plus V 3.5.1 calling jquery.js?ver=1.2.3 and getting 404 error

  • Here is my fix
    This refers to Version 3.5.1 of Register-Plus

    As I would look through my access logs I would see that there were a great deal of calls to:
    all getting a 404 Error

    I couldn’t figure out what was calling that script until I looked through the source code of every plugin I had running (20-30 plugins.. wasn’t fun)

    Anyway I found the problem in:

    SEARCH for this code:
    <?php trailingslashit(get_option(‘siteurl’));?>

    and REPLACE ALL OCCURRENCES with this code: (5 of them)
    <?php echo trailingslashit(get_option(‘siteurl’));?>

    then SAVE the file and you are done.

    The problem is obviously that the value of “trailingslashit(get_option(‘siteurl’))” is not getting echoed or printed so the url is always appended to the end of the current url. This causes a problem when the url is “” but not when it is just “”

    If you are the plugin author please fix this error in the next version of Register-Plus.

    Thank you and have a nice day everyone.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Wow thank you so much musicmasteria. I thought I had to do away with Register Plus, but your fix solved the problem. I am very grateful. Thanks again for sharing.

    Sorry I spoke to soon 🙁

    When I first load the page, everything appears all right, but upon subsequently reloading the page the error reappears.

    Looks like I’ll be disabling Register Plus for now, since the author of the plugin doesn’t seem to be updating it anymore., might want to go back and check to make sure you didn’t miss anything.

    The problem was that a function was being run but nothing was being output (echo-ed) so the urls were messed up.

    Look for more lines that do the same and the plugin should work for you again.

    I do wish that the plugin author would work on his/her plugin more though… too bad.

    heck guys its OPEN SOURCE – Can’t you pick up the project, clean it up and rename it – just credit the guy that started it.

    I thought about that but I don’t know how to “pick up” the project.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘FIXED: Register Plus V 3.5.1 calling jquery.js?ver=1.2.3 and getting 404 error’ is closed to new replies.