If anyone wondering how to solve this, please remove line 35
echo Zopim_Options::get_widget_options();
from includes/class-widget.php
Que variables se utilizan para ingresar el nombre y el correo si inicia sesion un usuario?
<script>$zopim(function(){$zopim.livechat.set({name: ??? , email: ??? }); });$zopim( function() {
})</script>
What variables are used to enter the name and mail if a user logs in?
<script>$zopim(function(){$zopim.livechat.set({name: , email: }); });$zopim( function() {
})</script>
Hi @cowboysaif,
Thanks for reporting this. you will get that error if you manually paste the widget Zendesk Chat Script into the widget options field. The chat script is added automatically by the plugin. The widget options textarea is for additional customisations that you may need with the plugin. Please refer to this link for what you can do with the widget options:
https://api.zopim.com/files/meshim/widget/controllers/LiveChatAPI-js.html
If you do not need widget options, you may leave it as
$zopim(function() {});
Thanks.
-
This reply was modified 8 years, 10 months ago by
zendesk_official. Reason: Improved context