Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Matthew Boynes

    (@mboynes)

    You’re also seeing Warning: json_encode() expects exactly 1 parameter, 2 given in .../wp-content/plugins/options-importer/options-importer.php on line 213? If so, there’s no way that your code is running in PHP 5.4. You may have that option and it’s disabled, but the second parameter was added in PHP 5.3.0.

    Thread Starter digigirl

    (@digigirl)

    Sorry – you are right. When I looked at the PHP Config in cpanel it said “default is PHP 5.4” but I didn’t notice below where it said “this php file extension will be processed by 5.2” (which is pretty stupid, isn’t it?) When I looked again, I saw it.

    I will address with the host. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JSON Error also’ is closed to new replies.