I had the same problem with WordPress Version 4.5.5. The reason for the error was that the function ‘get_registered_meta_keys’ was introduced with WordPress Version 4.6. See also: https://developer.ww.wp.xz.cn/reference/functions/get_registered_meta_keys/
After updating WordPress to the newest Version everything is working fine.