Chatify extension error

Hi everyone

When trying to upload an avatar on Chatify, I get the following error

No route found for "GET http://localhost:8080/storage/users-avatar/fb7eec1a-d503-4152-86a7-5c59b511d7a6.jpg"

Make sure:

  1. You use v2026.2,
  2. The folder storage/users-avatar exists under the project folder (you should see a avatar.png there), if not, create it.
  3. The web server user has write permission to that folder so the user can upload.
  1. I'm using version 2026.2
  2. The folder exists and contains the avatar.png file
  3. I'm logged into localhost as an administrator

and it's still giving me an error:

No route found for "GET http://localhost:8080/api/chat/makeSeen": Method Not Allowed (Allow: POST)

{
  "error": "[Symfony\\Component\\HttpKernel\\Exception\\MethodNotAllowedHttpException] No route found for \"GET http://localhost:8080/api/chat/makeSeen\": Method Not Allowed (Allow: POST) in C:\\wamp64\\www\\vendor\\symfony\\http-kernel\\EventListener\\RouterListener.php:160 Trace: #0 C:\\wamp64\\www\\vendor\\symfony\\event-dispatcher\\Debug\\WrappedListener.php(115): Symfony\\Component\\HttpKernel\\EventListener\\RouterListener-\u003EonKernelRequest(Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent), 'kernel.request', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#1 C:\\wamp64\\www\\vendor\\symfony\\event-dispatcher\\EventDispatcher.php(206): Symfony\\Component\\EventDispatcher\\Debug\\WrappedListener-\u003E__invoke(Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent), 'kernel.request', Object(Symfony\\Component\\HttpKernel\\Debug\\TraceableEventDispatcher))\n#2 C:\\wamp64\\www\\vendor\\symfony\\event-dispatcher\\EventDispatcher.php(56): Symfony\\Component\\EventDispatcher\\EventDispatcher-\u003EcallListeners(Array, 'kernel.request', Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent))\n#3 C:\\wamp64\\www\\vendor\\symfony\\event-dispatcher\\Debug\\TraceableEventDispatcher.php(126): Symfony\\Component\\EventDispatcher\\EventDispatcher-\u003Edispatch(Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent), 'kernel.request')\n#4 C:\\wamp64\\www\\vendor\\symfony\\http-kernel\\HttpKernel.php(159): Symfony\\Component\\EventDispatcher\\Debug\\TraceableEventDispatcher-\u003Edispatch(Object(Symfony\\Component\\HttpKernel\\Event\\RequestEvent), 'kernel.request')\n#5 C:\\wamp64\\www\\vendor\\symfony\\http-kernel\\HttpKernel.php(76): Symfony\\Component\\HttpKernel\\HttpKernel-\u003EhandleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#6 C:\\wamp64\\www\\vendor\\symfony\\http-kernel\\Kernel.php(182): Symfony\\Component\\HttpKernel\\HttpKernel-\u003Ehandle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#7 C:\\wamp64\\www\\vendor\\symfony\\runtime\\Runner\\Symfony\\HttpKernelRunner.php(35): Symfony\\Component\\HttpKernel\\Kernel-\u003Ehandle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#8 C:\\wamp64\\www\\vendor\\autoload_runtime.php(29): Symfony\\Component\\Runtime\\Runner\\Symfony\\HttpKernelRunner-\u003Erun()\n#9 C:\\wamp64\\www\\index.php(8): require_once('C:\\\\wamp64\\\\www\\\\v...')\n#10 {main}"
}

Chat does not support hard-coded administrator, read note in docs. If you want to chat as administrator, make sure you login as a database user with the administrator user level.

I am logged in as a non-hard-code administrator

According to the log, you try to access http://localhost:8080/api/chat/makeSeen by HTTP GET directly, but there is no such code in the chat widget. If you check the source, the only code that call makeSeen is the JavaScript makeSeen() function which uses HTTP POST:

  $.ajax({
    url: apiUrl + "/makeSeen",
    method: "POST",
    data: { id: getMessengerId() },
    dataType: "JSON",
  });

So it appears that there is some other code in your website trying to access http://localhost:8080/api/chat/makeSeen, you may press F12 in your browser, go to the Network, find the request and check where the request originated from.

Note also that the chat widget uses iframe, don't try to use iframe to show your site or the chat will be in a iframe inside iframe which may lead to unexpected result.

Pusher :  : ["State changed","initialized -> connecting"]
logger.ts:19 Pusher :  : ["Connecting",{"transport":"ws","url":"wss://api-us2.pusher.com:443/app/f064b23f3fd24c96d67a?protocol=7&client=js&version=8.1.0&flash=false"}]
runtime.ts:115 WebSocket connection to 'wss://api-us2.pusher.com/app/f064b23f3fd24c96d67a?protocol=7&client=js&version=8.1.0&flash=false' failed: 
createWebSocket @ runtime.ts:115
getSocket @ transports.ts:27
connect @ transport_connection.ts:101
s @ transport_strategy.ts:68
emit @ dispatcher.ts:76
changeState @ transport_connection.ts:235
transportConnectionInitializer @ transport_connection_initializer.ts:17
connect @ transport_strategy.ts:106
tryStrategy @ sequential_strategy.ts:106
connect @ sequential_strategy.ts:70
(anónimas) @ best_connected_ever_strategy.ts:56
B @ collections.ts:139
(anónimas) @ best_connected_ever_strategy.ts:55
connect @ best_connected_ever_strategy.ts:21
connect @ if_strategy.ts:32
connect @ first_connected_strategy.ts:20
connect @ cached_strategy.ts:68
startConnecting @ connection_manager.ts:171
connect @ connection_manager.ts:113
connect @ pusher.ts:153
xe @ pusher.ts:140
(anónimas) @ code.js:36Comprende este error
logger.ts:19 Pusher :  : ["Connecting",{"transport":"xhr_streaming","url":"https://sockjs-us2.pusher.com:443/pusher/app/f064b23f3fd24c96d67a?protocol=7&client=js&version=8.1.0"}]
logger.ts:19 Pusher :  : ["State changed","connecting -> connected with new socket ID 792885.749840"]
:8080/api/chat/pusherAuth:1  Failed to load resource: the server responded with a status of 500 (Internal Server Error)Comprende este error
logger.ts:33 Pusher :  : ["Error: Unable to retrieve auth string from channel-authorization endpoint - received status: 500 from /api/chat/pusherAuth. Clients must be authorized to join private or presence channels. See: https://pusher.com/docs/channels/server_api/authorizing-users/"]
globalLogError @ logger.ts:33
log @ logger.ts:48
error @ logger.ts:14
(anónimas) @ channel.ts:123
s.onreadystatechange @ xhr_auth.ts:74Comprende este error
logger.ts:19 Pusher :  : ["No callbacks on private-chatify.0 for pusher:subscription_error"]
:8080/api/chat/pusherAuth:1  Failed to load resource: the server responded with a status of 500 (Internal Server Error)Comprende este error
logger.ts:33 Pusher :  : ["Error: Unable to retrieve auth string from channel-authorization endpoint - received status: 500 from /api/chat/pusherAuth. Clients must be authorized to join private or presence channels. See: https://pusher.com/docs/channels/server_api/authorizing-users/"]
globalLogError @ logger.ts:33
log @ logger.ts:48
error @ logger.ts:14
(anónimas) @ channel.ts:123
(anónimas) @ presence_channel.ts:53
(anónimas) @ pusher.min.js:8
At @ pusher.min.js:8
(anónimas) @ presence_channel.ts:29
s.onreadystatechange @ xhr_auth.ts:74Comprende este error
logger.ts:19 Pusher :  : ["No callbacks on presence-activeStatus for pusher:subscription_error"]
:8080/api/chat/pusherAuth:1  Failed to load resource: the server responded with a status of 500 (Internal Server Error)Comprende este error
logger.ts:33 Pusher :  : ["Error: Unable to retrieve auth string from channel-authorization endpoint - received status: 500 from /api/chat/pusherAuth. Clients must be authorized to join private or presence channels. See: https://pusher.com/docs/channels/server_api/authorizing-users/"]
globalLogError @ logger.ts:33
log @ logger.ts:48
error @ logger.ts:14
(anónimas) @ channel.ts:123
s.onreadystatechange @ xhr_auth.ts:74Comprende este error
logger.ts:19 Pusher :  : ["No callbacks on private-chatify.70631978 for pusher:subscription_error"]
424The resource <URL> was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.Comprende esta advertencia
fb7eec1a-d503-4152-86a7-5c59b511d7a6.jpg:1  Failed to load resource: the server responded with a status of 404 (Not Found)Comprende este error
jquery.min.js:2  POST http://localhost:8080/api/chat/updateSettings 500 (Internal Server Error)
send @ jquery.min.js:2
ajax @ jquery.min.js:2
updateSettings @ code.js:1170
(anónimas) @ code.js:1519
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2Comprende este error
code.js:1214 Server error, check your response

You have different errors showing that the Chatify controller is not working properly on your site:

  1. You should enable Debug and check the actual error message in the log file.
  2. If you added the Chatify extension after some previous generation, make sure you remove old cache properly, read Clearing Symfony Cache.