Can you try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it's fixed, you'll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
For mre information regarding this error, you can refer to the link below
Let us know how it goes!