Posted 3 years ago by tiagotavares

I developed an application with Laravel version 5.1 using homestead to test. Now when i place it on the production server I get this error that i can't replicate on the local machine.

ReflectionException in Container.php line 736
Class MyMultiSelect does not exist

This class is a sleeping-owl Custom Form Item

I checked for:

  • namespace errors / conflicts - I even placed the class in the global namespace
  • tried to load the file containing the class in composer.json

Filename: MyMultiSelect.php Class: MyMultiSelect namespace: Global so to access it \MyMultiSelect


FormItem::register('myMultiSelect', \MyMultiSelect::class);

Can anyone help me? Thanks!

Please sign in or create an account to participate in this conversation.