After I installed this plugin using composer, i getting the following error, but working fine when i rename the folder name
Classname and the folder/filename is not same.. can you please resolve the issue.?
RuntimeException: The autoloader expected class "MauticPlugin\MauticTwigPluginSkeletonBundle\MauticTwigPluginSkeletonBundle" to be defined in file "/var/www/html/workspace/Mautic/2.13.0/vendor/composer/../../plugins/MauticTwigPluginSkeletonBundle/MauticTwigPluginSkeletonBundle.php". The file was found but the class was not in it, the class name or namespace probably has a typo.
/vendor/symfony/debug/DebugClassLoader.php:251
1. /vendor/symfony/debug/DebugClassLoader.php:251 at
2. Symfony\Component\Debug\DebugClassLoader -> loadClass ( 'MauticPlugin\MauticTwigPluginSkeletonBundle\MauticTwigPluginSkeletonBundle' )
3. spl_autoload_call ( 'MauticPlugin\MauticTwigPluginSkeletonBundle\MauticTwigPluginSkeletonBundle' )
4. /app/AppKernel.php:206 at class_exists ( '\MauticPlugin\MauticTwigPluginSkeletonBundle\MauticTwigPluginSkeletonBundle' )
5. /vendor/symfony/http-kernel/Kernel.php:431 at AppKernel -> registerBundles ( )
6. /app/AppKernel.php:263 at Symfony\Component\HttpKernel\Kernel -> initializeBundles ( )
7. /app/AppKernel.php:110 at AppKernel -> boot ( )
8. /app/middlewares/CORSMiddleware.php:93 at AppKernel -> handle ( object(Request), '1', true )
9. /app/middlewares/CatchExceptionMiddleware.php:45 at Mautic\Middleware\CORSMiddleware -> handle ( object(Request), '1', true )
10. /app/middlewares/Dev/IpRestrictMiddleware.php:66 at Mautic\Middleware\CatchExceptionMiddleware -> handle ( object(Request), '1', true )
11. /app/middlewares/VersionCheckMiddleware.php:57 at Mautic\Middleware\Dev\IpRestrictMiddleware -> handle ( object(Request), '1', true )
12. /vendor/stack/builder/src/Stack/StackedHttpKernel.php:23 at Mautic\Middleware\VersionCheckMiddleware -> handle ( object(Request), '1', true )
13. /vendor/stack/run/src/Stack/run.php:13 at Stack\StackedHttpKernel -> handle ( object(Request) )
14. /index_dev.php:34 at Stack\run ( object(StackedHttpKernel) )
After I installed this plugin using composer, i getting the following error, but working fine when i rename the folder name