Jump to content
Massimo333

HTTP ERROR 500 after save advance settings

Recommended Posts

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 by Massimo333 (see edit history)

Share this post


Link to post
Share on other sites

Any luck fixing this? We have been having the same problem for a month now.

Share this post


Link to post
Share on other sites

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:

Share this post


Link to post
Share on other sites

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:

image.png.3c2dfc778584cd48e1d09463adf7ccfe.png

 

 

On front office:

image.png.f89cbe4272a6f8f10c3754f81a3fb349.png

 

 

 

 

 

Edited by Massimo333 (see edit history)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More