Classes with divergent file names

There are some controllers which the name differ from their file name which is leading to 500 errors in the application. For example:

[previous exception] [object] (ReflectionException(code: -1): Class \"App\\Http\\Controllers\\CompanyGatewayController\" does not exist at /home/runcloud/webapps/invoice/vendor/laravel/framework/src/Illuminate/Container/Container.php:875)

See screencap below:

Renaming the files to match the class names fixed the problem to me :smiley:

Hi,

Had you made any changes to the code?

I have only added a new payment gateway, but I have never touched those classes before.

Something sounds whacky there. It looks like some v4 files have made their way into your repo.