Error 500 when instantiate CRUD on server

Hello everyone. I have a problem when I upload my web to the server.

As soon I instantiate a CRUD I get a 500 error.
$crud = \atk4\ui\CRUD::addTo($app);

This only happens on the server, if I do the same on local it works fine.

Do you have any ideas of what could be going on?

Both local and server have the same php version (7.4)


I’ll answer myself after a few hours of trial an error. Using the version 2.2.0, the component should be called:

$crud = \atk4\ui\Crud::addTo($app);

Notice the capitalisation change

Looks like the production server is case-sensitive and my localhost is not. Make sure you use the very same capitalisation from the docs.