Thanks, but I have both JSON::XS and JSON::PP installed (I can't install Cpanel::JSON:XS as it requires a C compiler, which I don't have at my host). I've used CPAN to ensure I have the latest versions of the modules concerned. I still get the error.