Thread:Project:Support desk/Error with Math extension and texvc

I have a fresh install of MediaWiki 1.24.0 on a dedicated CentOS 7 VM. Everything is up and running and seems to work fine. I've installed the standard texlive packages and downloaded the Math extension. I untar'd the folder into $IP/extensions/Math and compile both texvc and texvccheck. Here's a sanity check that everything is where it should be:

[root@wiki Math]# pwd /var/www/mediawiki/extensions/Math [root@wiki Math]# ./texvccheck/texvccheck -[root@wiki Math]# ./math/texvc -[root@wiki Math]# tail -1 /var/www/mediawiki/LocalSettings.php require_once "$IP/extensions/Math/Math.php";

I made no other changes to my installation when installing the Math extension:

[Sun Dec 07 13:35:13.131206 2014] [:error] [pid 20894] [client xxx.xxx.xxx.xxx:53015] PHP Warning: json_encode: Invalid UTF-8 sequence in argument in /var/www/mediawiki/includes/json/FormatJson.php on line 237, referer: https://wiki.xxxxxx.net/index.php?title=Cryptography&action=edit

I'm not sure which component is generating the invalid JSON. If this is locale related, I have:

[root@wiki mediawiki]# cat /etc/locale.conf LANG="en_US.UTF-8" [root@wiki mediawiki]# grep UTF LocalSettings.php $wgShellLocale = "en_US.UTF-8";
 * 1) available UTF-8 locale

Any ideas where the error might be? Since I'm currently installing the system I have SELinux still turned off.