While I was trying to access my website I received instruction for updating the database, I was getting same message while accessing my wp-admin too. After that I clicked on the update button available on the screen. After updating I'm getting error as follows:
Call to undefined function wp_json_encode() in wp-includes/class.wp-scripts.php on line 186.
Coding is not a strong part of my skill. I would appreciate if anyone provides me a simplified and step by step solution for this.