Webestr Posted August 8, 2018 Share Posted August 8, 2018 Hi, I can't access to modules page. I always get this error. Can you help me? RuntimeException in DebugClassLoader.php line 251: The autoloader expected class "PrestaShopBundle\Translation\Loader\DatabaseTranslationLoader" to be defined in file "/data/web/virtuals/199172/virtual/www/vendor/composer/../../src/PrestaShopBundle/Translation/Loader/DatabaseTranslationLoader.php". The file was found but the class was not in it, the class name or namespace probably has a typo. in DebugClassLoader.php line 251 at DebugClassLoader->loadClass('PrestaShopBundle\Translation\Loader\DatabaseTranslationLoader') at spl_autoload_call('PrestaShopBundle\Translation\Loader\DatabaseTranslationLoader') in appDevDebugProjectContainer.php line 3491 at appDevDebugProjectContainer->getPrestashop_Translation_DatabaseLoaderService() in bootstrap.php.cache line 2252 at Container->get('prestashop.translation.database_loader') in Translator.php line 124 at Translator->initialize() in Translator.php line 110 at Translator->initializeCatalogue('en-US') in Translator.php line 340 at Translator->dumpCatalogue('en-US', object(ResourceCheckerConfigCache)) in Translator.php line 320 at Translator->Symfony\Component\Translation\{closure}(object(ResourceCheckerConfigCache)) at call_user_func(object(Closure), object(ResourceCheckerConfigCache)) in ResourceCheckerConfigCacheFactory.php line 46 at ResourceCheckerConfigCacheFactory->cache('/data/web/virtuals/199172/virtual/www/app/cache/dev/translations/catalogue.en-US.3fea97234267aa02290eee8ee5357fb280cfa275.php', object(Closure)) in Translator.php line 322 at Translator->initializeCacheCatalogue('en-US') in Translator.php line 285 at Translator->loadCatalogue('en-US') in Translator.php line 239 at Translator->getCatalogue(null) in Translator.php line 200 at Translator->trans('You do not have permission to add this.', array(), 'AdminNotificationsError', null) in PrestaShopTranslatorTrait.php line 49 at Translator->trans('You do not have permission to add this.', array(), 'AdminNotificationsError', null) in LoggingTranslator.php line 47 at LoggingTranslator->trans('You do not have permission to add this.', array(), 'AdminNotificationsError', null) in DataCollectorTranslator.php line 47 at DataCollectorTranslator->trans('You do not have permission to add this.', array(), 'AdminNotificationsError', null) in PrestaShopTranslatorTrait.php line 49 at DataCollectorTranslator->trans('You do not have permission to add this.', array(), 'Admin.Notifications.Error') in ModuleController.php line 81 at ModuleController->catalogAction() at call_user_func_array(array(object(ModuleController), 'catalogAction'), array()) in bootstrap.php.cache line 3253 at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3212 at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3366 at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2566 at Kernel->handle(object(Request), '1', false) in index.php line 86 Link to comment Share on other sites More sharing options...
jetx Posted August 10, 2018 Share Posted August 10, 2018 I haven't seen this before but have you tried changing locales? As it seems to be related. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now