Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2022-04-29 17:33:00

ipso
Member
Registered: 2015-06-16
Posts: 10

JS exception when agent tries to expand "Canned Messages" section.

When logged in as a regular agent, if they click the"Canned Messages" link just below the chat message input box, the follow JS exception is triggered and the Canned Messages does not appear. If logged in as an administrator it works fine.  Any ideas how to fix this?



[== Undefined ==]
853a6cc8fc98e3350d02c9f99195b422.js:2495 TypeError: c.map is not a function
    at CannedMessages.js:127:14
    at is (853a6cc8fc98e3350d02c9f99195b422.js:2495:84464)
    at gl (853a6cc8fc98e3350d02c9f99195b422.js:2495:103262)
    at t.unstable_runWithPriority (853a6cc8fc98e3350d02c9f99195b422.js:2495:129315)
    at Ur (853a6cc8fc98e3350d02c9f99195b422.js:2495:46356)
    at pl (853a6cc8fc98e3350d02c9f99195b422.js:2495:103021)
    at Gs (853a6cc8fc98e3350d02c9f99195b422.js:2495:94797)
    at 853a6cc8fc98e3350d02c9f99195b422.js:2495:46647
    at t.unstable_runWithPriority (853a6cc8fc98e3350d02c9f99195b422.js:2495:129315)
    at Ur (853a6cc8fc98e3350d02c9f99195b422.js:2495:46356)\

Offline

#2 2022-04-29 17:48:50

ipso
Member
Registered: 2015-06-16
Posts: 10

Re: JS exception when agent tries to expand "Canned Messages" section.

I did find this forum post that sounds related: https://forum.livehelperchat.com/viewtopic.php?id=3838

It wasn't clear, but eventually I found: https://doc.livehelperchat.com/docs/canned/ -- I made sure "'lhchat', 'explorecannedmsg'" permissions were enabled, but that didn't seem to help.

Offline

#3 2022-04-29 18:13:39

remdex
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: JS exception when agent tries to expand "Canned Messages" section.

Make sure your mysql version supports json_extract if what update mysql/mariadb

Offline

Board footer