How to fix the “Undefined external error” (status=450001) problem?