• 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

Robust

Well-known member
#1
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)
 

Mike

XenForo developer
Staff member
#2
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.
 

Robust

Well-known member
#5
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.
So something like downloading the upgrade package may be a good idea? In case of a typo somewhere along the line.