Dreamer83 Posted October 21 Share Posted October 21 Hi i have an error on my prestashop AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Symfony\\Component\\Debug\\Exception\\FatalThrowableError: Type error: Argument 4 passed to PrestaShop\\Module\\Mbo\\Addons\\AddonsDataProvider::__construct() must implement interface Symfony\\Component\\Translation\\TranslatorInterface, string given, called in /var/www/vhosts/libreriahistoria.com/httpdocs/var/cache/prod/ContainerPjzs6ds/appProdProjectContainer.php on line 3687 in /var/www/vhosts/libreriahistoria.com/httpdocs/modules/ps_mbo/src/Addons/AddonsDataProvider.php:105\nStack trace:\n#0 /var/www/vhosts/libreriahistoria.com/httpdocs/var/cache/prod/ContainerPjzs6ds/appProdProjectContainer.php(3687): PrestaShop\\Module\\Mbo\\Addons\\AddonsDataProvider->__construct()\n#1 /var/www/vhosts/libreriahistoria.com/httpdocs/var/cache/prod/ContainerPjzs6ds/appProdProjectContainer.php(3975): ContainerPjzs6ds\\appProdProjectContainer->getPrestashop_Adapter_Admin_DataProvider_AddonsService()\n#2 /var/www/vhosts/libreriahistoria.com/httpdocs/var/cache/prod/ContainerPjzs6ds/appProdProjectContai...' i can see my website but not the BO someone could help me? Link to comment Share on other sites More sharing options...
Dreamer83 Posted October 21 Author Share Posted October 21 questi sono gli altri errori che ricevo [2024-10-21 13:22:04] php.DEBUG: Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts) is not within the allowed path(s): (/var/www/vhosts/libreriahistoria.com/:/tmp/) {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\SilencedErrorContext: {\"severity\":2,\"file\":\"/var/www/vhosts/libreriahistoria.com/httpdocs/vendor/symfony/symfony/src/Symfony/Component/VarDumper/Caster/LinkStub.php\",\"line\":95,\"trace\":[{\"file\":\"/var/www/vhosts/libreriahistoria.com/httpdocs/vendor/symfony/symfony/src/Symfony/Component/VarDumper/Caster/LinkStub.php\",\"line\":55,\"function\":\"getComposerRoot\",\"class\":\"Symfony\\\\Component\\\\VarDumper\\\\Caster\\\\LinkStub\",\"type\":\"->\"}],\"count\":1})"} [] [2024-10-21 13:22:10] php.INFO: User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Creating Doctrine\\ORM\\Mapping\\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0. at /var/www/vhosts/libreriahistoria.com/httpdocs/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/UnderscoreNamingStrategy.php:66)"} [] [2024-10-21 13:22:11] php.DEBUG: Warning: file(): open_basedir restriction in effect. File(/proc/mounts) is not within the allowed path(s): (/var/www/vhosts/libreriahistoria.com/:/tmp/) {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\SilencedErrorContext: {\"severity\":2,\"file\":\"/var/www/vhosts/libreriahistoria.com/httpdocs/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Command/CacheClearCommand.php\",\"line\":147,\"trace\":[{\"file\":\"/var/www/vhosts/libreriahistoria.com/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php\",\"line\":255,\"function\":\"execute\",\"class\":\"Symfony\\\\Bundle\\\\FrameworkBundle\\\\Command\\\\CacheClearCommand\",\"type\":\"->\"}],\"count\":1})"} [] [2024-10-21 13:22:11] php.DEBUG: Warning: file(/proc/mounts): failed to open stream: Operation not permitted [] [] Link to comment Share on other sites More sharing options...
Dreamer83 Posted October 21 Author Share Posted October 21 questo è l'errore del file prod.log [2024-10-21 13:22:17] security.DEBUG: Read existing security token from the session. {"key":"_security_main","token_class":"Symfony\\Component\\Security\\Core\\Authentication\\Token\\UsernamePasswordToken"} [] [2024-10-21 13:22:18] security.DEBUG: User was reloaded from a user provider. {"provider":"PrestaShopBundle\\Security\\Admin\\EmployeeProvider","username":"[email protected]"} [] [2024-10-21 13:22:18] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Type error: Argument 4 passed to PrestaShop\Module\Mbo\Addons\AddonsDataProvider::__construct() must implement interface Symfony\Component\Translation\TranslatorInterface, string given, called in /var/www/vhosts/libreriahistoria.com/httpdocs/var/cache/prod/ContainerPjzs6ds/appProdProjectContainer.php on line 3687" at /var/www/vhosts/libreriahistoria.com/httpdocs/modules/ps_mbo/src/Addons/AddonsDataProvider.php line 105 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Type error: Argument 4 passed to PrestaShop\\Module\\Mbo\\Addons\\AddonsDataProvider::__construct() must implement interface Symfony\\Component\\Translation\\TranslatorInterface, string given, called in /var/www/vhosts/libreriahistoria.com/httpdocs/var/cache/prod/ContainerPjzs6ds/appProdProjectContainer.php on line 3687 at /var/www/vhosts/libreriahistoria.com/httpdocs/modules/ps_mbo/src/Addons/AddonsDataProvider.php:105)"} [] Link to comment Share on other sites More sharing options...
juanrojas Posted October 21 Share Posted October 21 Hi, rename the ps_mbo module via ftp and also delete the cache via ftp and let me know. 1 Link to comment Share on other sites More sharing options...
Dreamer83 Posted October 23 Author Share Posted October 23 hi i've done everythings work thanks!!! but hwy it happened? what's the bug 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