Massimo333 Posted November 29, 2019 Share Posted November 29, 2019 (edited) Every time I click "Save" or "Clear cache" on my prstashp back office advance settings menu, appear a white page with "HTTP ERROR 500" and I cannot use my backoffice until I restore previus file backup. The server support say me that the log of the error is: ----------------- [29-Nov-2019 10:29:38 Europe/Rome] PHP Fatal error: Uncaught Symfony\Component\DependencyInjection\Exception\RuntimeException: Cannot dump definition because of invalid class name (NULL) in /home/NOMESITO.COM/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php:1403 Stack trace: #0 /home/NOMESITO.COM/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php(790): Symfony\Component\DependencyInjection\Dumper\PhpDumper->dumpLiteralClass('NULL') #1 /home/NOMESITO.COM/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php(394): Symfony\Component\DependencyInjection\Dumper\PhpDumper->addNewInstance('_defaults', Object(Symfony\Component\DependencyInjection\Definition), 'return ', '$this->services...') #2 /home/NOMESITO.COM/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php(639): Symfony\Component\DependencyInjection\Dumper\PhpDumper->addServiceInstance('_defaults', Object(Symfon in /home/NOMESITO.COM/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php on line 1403 ---------------------- Why appen this problme andhow can I solve this ? Edited November 30, 2019 by Massimo333 (see edit history) Link to comment Share on other sites More sharing options...
glucz Posted December 5, 2019 Share Posted December 5, 2019 Any luck fixing this? We have been having the same problem for a month now. Link to comment Share on other sites More sharing options...
selectshop.at Posted December 6, 2019 Share Posted December 6, 2019 500 errors are server errors. You should ask for assistance of your server admin. The php-version in use is not compatible with the script. Change to another php-version. BTW, we kindly ask when posting such errors to name: On 1/13/2015 at 8:40 AM, Xavier du Tertre said: Installation type (new/update):PrestaShop version:Theme (default/customized):Code (original/modified):Hosting:PHP version:MySQL version:Browser(s) concerned: Link to comment Share on other sites More sharing options...
Massimo333 Posted December 9, 2019 Author Share Posted December 9, 2019 (edited) I tried to change PHP version but my problmem is he same, also if I try to active debug mode I have this 2 alerts (my PHP is 7.0, Prestashop 7.3, hosting: Fastcomet, theme by Leotheme): On back office: On front office: Edited December 9, 2019 by Massimo333 (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted December 9, 2019 Share Posted December 9, 2019 This error is a symfony error in combination of php-version in use. Try to comment the line 1403 in the corresponding file (/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php). The best you can do, is to upgrade your Prestashop version to the latest one. PS 1.7.3. is not yet mature in terms of bugs. The jscomposer error is an error of a module you are using. Disable non-native modules and use default theme. If you don't want to upgrade your site, than please contact the developer of your theme. The errors you are having are related to theme/module in use not compatible with Prestashop core files in combination of php-version in use. Link to comment Share on other sites More sharing options...
pixelicous Posted July 23, 2020 Share Posted July 23, 2020 Not sure if related, for some weird reason almost everytime i install or uninstall a module, the next click for configuring that module, i hit error 500, constantly. I clean up /var/cache/prod (that is <www_root>/var/cache/prod) and bam i manage to get back to backoffice. really strange, same thing everytime. 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