Title: Errors in Console
Last modified: April 19, 2018

---

# Errors in Console

 *  Resolved [fdittmar](https://wordpress.org/support/users/fdittmar/)
 * (@fdittmar)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/errors-in-console-4/)
 * Have any of you any idea what could cause these errors? Many thanks.
 * [ DEBUG MODE error log. Select and copy the text below: ]
    [Tue Apr 17 2018 20:
   10:58 GMT+0200 (CEST)] [onMaintenanceRequestError] Notice: Undefined offset: 
   0 in /home/mysite/public_html/wp-content/plugins/wise-chat/src/rendering/WiseChatRenderer.
   php on line 189 Notice: Undefined index: in /home/mysite/public_html/wp-content/
   plugins/wise-chat/src/rendering/WiseChatRenderer.php on line 189 Notice: Undefined
   offset: 0 in /home/mysite/public_html/wp-content/plugins/wise-chat/src/rendering/
   WiseChatRenderer.php on line 189 … … [Tue Apr 17 2018 20:10:58 GMT+0200 (CEST)][
   errorThrown] SyntaxError: Unexpected token N in JSON at position 1 [Tue Apr 17
   2018 20:11:02 GMT+0200 (CEST)] [onMessageArrivalError] Notice: Undefined offset:
   0 in /home/mysite/public_html/wp-content/plugins/wise-chat/src/rendering/WiseChatRenderer.
   php on line 189 …

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/errors-in-console-4/#post-10227930)
 * Hello,
 * Thank you for reporting this. It looks like an issue related to **Username Font
   Color (logged in users in roles)** option. I added this to TODO list for the 
   next release, but in the meantime you can:
    – reset all colors defined in **Username
   Font Color (logged in users in roles)** – delete the chat and install again without
   selecting colors in **Username Font Color (logged in users in roles)** option–
   disable debug mode both in WordPress and Wise Chat
 * Best regards
 *  Thread Starter [fdittmar](https://wordpress.org/support/users/fdittmar/)
 * (@fdittmar)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/errors-in-console-4/#post-10228040)
 * Thanks but all colours were default / not assigned anyway.
    Username Display 
   Mode is Plain Text The only item in the Message Appearance section that was modified
   was Username Link Template.
 * Regards
 *  Thread Starter [fdittmar](https://wordpress.org/support/users/fdittmar/)
 * (@fdittmar)
 * [8 years ago](https://wordpress.org/support/topic/errors-in-console-4/#post-10367561)
 * [@marcinlawrowski](https://wordpress.org/support/users/marcinlawrowski/) The 
   non-pro version is getting mightily confused at times… Interested in a screenshot
   of errors in mid-chat and when registered users get booted to a new username 
   like Anonymousxxxx? If it helps you, I’ll send it via your site online form –
   let me know.
 * Thanks
 *  Plugin Author [Marcin](https://wordpress.org/support/users/marcinlawrowski/)
 * (@marcinlawrowski)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-in-console-4/#post-10427857)
 * Hello [@fdittmar](https://wordpress.org/support/users/fdittmar/)
 * I will address the issue you reported in the next version of Wise Chat (2.6.3)
   soon. This will be fixed. This is indeed not related to the colors.
 * Please send the screenshots links through our contact form here: [https://kaine.pl](https://kaine.pl)
 * Thank you very much!
 * Have a nice day.
 *  Thread Starter [fdittmar](https://wordpress.org/support/users/fdittmar/)
 * (@fdittmar)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-in-console-4/#post-10434377)
 * Thanks, 2.6.3 installed and should have new students the week after next. Will
   let you know if something doesn’t work.
 * Btw, the issue I mentioned in the email feedback where the chat input box does
   not position at top or bottom of chat window but somewhere in the middle of the
   chat session (and with the lines – {% if inputControlsBottomLocation %} & {% 
   endif inputControlsTopLocation %} at the very top and bottom) is definitely related
   to the setting ‘Message List Appearance – Message Limit’.
    If I have it too high
   e.g. 1000 instead of 500 messages to load at startup then the errors occur – 
   likely to be resource issues I guess but wouldn’t know how to troubleshoot it.(
   using WP 4.9.6 with 768MB memory limit and PHP 7.1.18 with 128 max post and 120
   max time) If it’s of any use to you and you want me to test anything specific
   then I’m happy to do so – in the meantime I will just have the students see 500
   chat lines only and will increase the limit at the end of the 6 week course, 
   copy all the chatlines out to a pdf and then distribute that so that students
   have a full record.
 * thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Errors in Console’ is closed to new replies.

 * ![](https://ps.w.org/wise-chat/assets/icon-128x128.png?rev=1306481)
 * [Wise Chat](https://wordpress.org/plugins/wise-chat/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wise-chat/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wise-chat/)
 * [Active Topics](https://wordpress.org/support/plugin/wise-chat/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wise-chat/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wise-chat/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [fdittmar](https://wordpress.org/support/users/fdittmar/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/errors-in-console-4/#post-10434377)
 * Status: resolved