XF 1.1 Server Log Error Message

Brent W

Well-known member
This popped up today:

ErrorException: json_encode(): Invalid UTF-8 sequence in argument - library/XenForo/ViewRenderer/Json.php:179
Generated By: Neil, Today at 8:02 AM
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'json_encode(): ...', '/home/cruising/...', 179, Array)
#1 /home/cruising/www/library/XenForo/ViewRenderer/Json.php(179): json_encode(Array)
#2 /home/cruising/www/library/XenForo/ViewRenderer/Json.php(98): XenForo_ViewRenderer_Json::jsonEncodeForOutput(Array)
#3 /home/cruising/www/library/XenForo/FrontController.php(533): XenForo_ViewRenderer_Json->renderView('XenForo_ViewPub...', Array, 'post_edit_inlin...', NULL)
#4 /home/cruising/www/library/XenForo/FrontController.php(156): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_Json), Array)
#5 /home/cruising/www/index.php(13): XenForo_FrontController->run()
#6 {main}
Request State
array(3) {
  ["url"] => string(218) "http://www.cruisingtalk.com/posts/272871/edit-inline?&_xfRequestUri=/threads/stacey-and-chris-on-black-watch.35023/&_xfNoRedirect=1&_xfToken=6165,1345550423,a9dd44c304e5fa9ed2376c7cd0af1921ee704747&_xfResponseType=json"
  ["_GET"] => array(4) {
    ["_xfRequestUri"] => string(47) "/threads/stacey-and-chris-on-black-watch.35023/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(56) "6165,1345550423,a9dd44c304e5fa9ed2376c7cd0af1921ee704747"
    ["_xfResponseType"] => string(4) "json"
  ["_POST"] => array(0) {

Brent W

Well-known member
The collation is correct. This is constantly appearing now. Not sure what this user is doing but it seems to happen on almost all of his posts.

Brent W

Well-known member

I did see some question mark characters in some of his posts. Next time it happens I will see what I can do to capture the exact text from database and post here.


Did you ever find out the cause for this?