Reinstall the MotherDuck extension
The MotherDuck extension is automatically loaded and downloaded when you connect to MotherDuck. However, you can force a reinstallation by following these steps:
FORCE INSTALL motherduck;
Next to that make sure you are running the current supported version of DuckDB.