Closed sbu-WBT closed 3 years ago
Hi @sbu-WBT,
in your init action please replace $chatId
with the id 1 and $args
with your settings [ 'background' => '#00B4FF' ]
As you did not define the ID the function does not reach the filter you used to set the id. The filter is not required in your case anyway.
Ich hoffe das hilft. 😉
Ah danke, das hat geholfen. Der Fehler ist weg. (Auch wenn ich den Chat nirgends sehen kann^^)
@sbu-WBT hat es geklappt? In der Standardeinstellung wird der Chat nur angezeigt wenn auch ein Agent in Zammad online ist. Du kannst zusätzlich einen Fallback auf ein Formular setzen.
Vielen Dank für den Hinweis! Ja, das hat nun funktioniert. Wir sind noch ziemliche Zammad Newbies
I installed the plugin via wordpress.
I added those like described in Embed-Live-Chat to
wp-content/themes/hestia/functions.php
.We have also the chat enabled:
But we get the error
chat error || Chat: need chatId as option!
inside the browser console.If we look at the
chatOptions
is also set there:Wordpress Version 5.7.1