The error is caused by running Adonis Loader in Roblox Studio. This is the code that is responsible (in Loader.server.lua): DataModel:BindToClose should not be called ...
When rejoining after having added a script using :starterscript or :starterplayerscript, the script will output the error [Adonis] script:3: attempt to index nil with ...