Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue after Compser installed this plugin #1

Open
ManojM7200 opened this issue Apr 30, 2018 · 0 comments
Open

Issue after Compser installed this plugin #1

ManojM7200 opened this issue Apr 30, 2018 · 0 comments

Comments

@ManojM7200
Copy link

ManojM7200 commented Apr 30, 2018

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) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant