Class cannot be found, but it’s available in the file, I get: Fatal Error: Uncaught Error: Class ‘Blocks\Base\Activation’ not found

It was a caching problem with composer.

I retroactively changed my composer.json, so I had to open my terminal and run composer dumpautoload to correct the cache.