1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 JavaScript Error

Discussion in 'Troubleshooting and Problems' started by Robust, Dec 26, 2014.

  1. Robust

    Robust Well-Known Member

    When I press Like on anything...

    The server responded with an error. The error message is in the JavaScript console.

    [Error] PHP q{"templateHtml":"\n\t\n\t<div class=\"likesSummary secondaryContent\">\n\t\t<span class=\"LikeText\">\n\t\t\tYou like this.\n\t\t<\/span>\n\t<\/div>\n","css":{"stylesheets":["likes_summary"],"urlTemplate":"css.php?css=__sentinel__&style=1&dir=LTR&d=1419537593"},"js":"","term":"Unlike","cssClasses":{"like":"-","unlike":"+"},"_visitor_conversationsUnread":"0","_visitor_alertsUnread":"0"}
    handleServerError (xenforo.js, line 231)
    error (xenforo.js, line 226)
    j (jquery-1.11.0.min.js, line 2)
    fireWith (jquery-1.11.0.min.js, line 2)
    x (jquery-1.11.0.min.js, line 4)
    b (jquery-1.11.0.min.js, line 4)


    [Error] PHP q{"templateHtml":"","js":"","css":"","term":"Like","cssClasses":{"like":"+","unlike":"-"},"_visitor_conversationsUnread":"0","_visitor_alertsUnread":"0"}
    handleServerError (xenforo.js, line 231)
    error (xenforo.js, line 226)
    j (jquery-1.11.0.min.js, line 2)
    fireWith (jquery-1.11.0.min.js, line 2)
    x (jquery-1.11.0.min.js, line 4)
    b (jquery-1.11.0.min.js, line 4)
     
  2. Mike

    Mike XenForo Developer Staff Member

    Something is echoing out "q". It'll be in the PHP code somewhere. It could be an add-on, it could be in config.php. Unfortunately, it may be a bit of a pain to identify.
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

  4. Robust

    Robust Well-Known Member

  5. Robust

    Robust Well-Known Member

    So something like downloading the upgrade package may be a good idea? In case of a typo somewhere along the line.
     
  6. Robust

    Robust Well-Known Member

    Downloading the upgrade package and replacing the files fixed it. Thanks guys.
     

Share This Page