Try complete upgrade.php part for json_encode
Try complete upgrade.php part for json_encode