Error: (0) json_encode(): Invalid UTF-8 sequence in argument

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
busintegration01
Posts: 1
Joined: Tue Feb 05, 2019 8:26 am

Error: (0) json_encode(): Invalid UTF-8 sequence in argument

Post by busintegration01 »

Hi

We´re migrating from Nagios Core 4.3.4 to Nagios XI 5.5.9. We use NagVis 1.9.8 with Nagios Core. Maps are imported succesfully, but if we open some maps it appears the next message:

Error: (0) json_encode(): Invalid UTF-8 sequence in argument
URL: /nagvis/server/core/ajax_handler.php?mod=Map&act=getMapObjects&show=MAP-CreadoOP&header_menu=1&hover_menu=1&context_menu=1&zoom=100&_ajaxid=1549435467
File: /opt/nagios/nagvis/share/server/core/classes/NagVisMap.php
Line: 116

We have observed that error maps they have output alert with special characters (spanish accent mark).
PHP.ini configuration is the same in Nagios Core and Nagios XI. In Nagios Core Works fine, but not in Nagios XI.

Can you help me?

Thanks
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Error: (0) json_encode(): Invalid UTF-8 sequence in argu

Post by ssax »

Locking thread, ticket received, we will continue support through the ticket.
Locked