DEV Community

Discussion on: php - How to fix "Class '' not found" error

Collapse
 
pixfried profile image
pixfried

Hi,
thank you for the great solution.
I followed all steps and it didn't work.
It was a very stupid error. I forgot one line of code:

require_once DIR . '/vendor/autoload.php';