Jump to content

[Solved] 500 internal server error upgrading to 8.2.0


Recommended Posts

I'm trying to upgrade from PS 1.7.4.3 to 8.2.0 but every time I get to the final stage of installation it throws a 500 internal server error message:

PS_8.2.0-install-error.thumb.jpg.50af2b26c551717c66d12a9651838e47.jpg

The error log entries are as follows:

2024-11-20 18:02:27.277122 [NOTICE] [11898] [T0] [96.63.158.143:52935:HTTP2-119#APVH_thunderbirdmodels.com:443] [STDERR] PHP Notice:  Trying to get property 'theme_name' of non-object in /home/thunder3/public_html/test_site/var/cache/prod/ContainerUGuOxCa/appAppKernelProdContainer.php on line 3376\n
2024-11-20 18:01:40.649150 [NOTICE] [11898] [T0] [96.63.158.143:52935:HTTP2-99#APVH_thunderbirdmodels.com:443] [STDERR] PHP Notice:  Trying to get property 'theme_name' of non-object in /home/thunder3/public_html/test_site/var/cache/prod/ContainerHDHVzYL/appAppKernelProdContainer.php on line 2911\n
2024-11-20 17:58:40.253155 [NOTICE] [11898] [T0] [96.63.158.143:52935:HTTP2-41#APVH_thunderbirdmodels.com:443] [STDERR] PHP Notice:  Trying to get property 'theme_name' of non-object in /home/thunder3/public_html/test_site/var/cache/prod/ContainerBFkNWEE/appAppKernelProdContainer.php on line 3376\n
2024-11-20 17:57:46.169190 [NOTICE] [11898] [T0] [96.63.158.143:52935:HTTP2-23#APVH_thunderbirdmodels.com:443] [STDERR] PHP Notice:  Trying to get property 'theme_name' of non-object in /home/thunder3/public_html/test_site/var/cache/prod/ContainerGqxJggE/appAppKernelProdContainer.php on line 2911\n
2024-11-20 17:53:06.187748 [NOTICE] [11898] [T0] [96.63.158.143:52892:HTTP2-43#APVH_thunderbirdmodels.com:443] [STDERR] PHP Notice:  Trying to get property 'theme_name' of non-object in /home/thunder3/public_html/test_site/var/cache/prod/ContainerFzGJDS7/appAppKernelProdContainer.php on line 3548\n
 

Can anyone shed any light on this please?

Edited by T-bird
Not really solved, but found a workaround. (see edit history)
Link to comment
Share on other sites

Thanks for the reply. I probably should have said migrate, not update. I have been using 1.7.4.3 for several years now and it has slowly developed one problem after another, the latest being server errors when I try to access the shopping cart and Shop Parameters pages. There are various other things that don't work, plus I'm now getting bombarded by bogus newsletter registrations (hundreds per day) so I was hoping the latest version would have more security than the one I'm using.

Is it really necessary to update in so many steps? Is it not possible to go directly from 1.7.4.3 to 8.2.0? I really don't have the time or desire to make so many small updates to get to the latest version.

Link to comment
Share on other sites

did you clear the cache before? put the theme back to default?

delete old in var/cache/prod

Quote

2024-11-20 18:02:27.277122 [NOTICE] [11898] [T0] [96.63.158.143:52935:HTTP2-119#APVH_thunderbirdmodels.com:443] [STDERR] PHP Notice:  Trying to get property 'theme_name' of non-object in /home/thunder3/public_html/test_site/var/cache/prod/ContainerUGuOxCa/appAppKernelProdContainer.php on line 3376\n
2024-11-20 18:01:40.649150 [NOTICE] [11898] [T0] [96.63.158.143:52935:HTTP2-99#APVH_thunderbirdmodels.com:443] [STDERR] PHP Notice:  Trying to get property 'theme_name' of non-object in /home/thunder3/public_html/test_site/var/cache/prod/ContainerHDHVzYL/appAppKernelProdContainer.php on line 2911\n
2024-11-20 17:58:40.253155 [NOTICE] [11898] [T0] [96.63.158.143:52935:HTTP2-41#APVH_thunderbirdmodels.com:443] [STDERR] PHP Notice:  Trying to get property 'theme_name' of non-object in /home/thunder3/public_html/test_site/var/cache/prod/ContainerBFkNWEE/appAppKernelProdContainer.php on line 3376\n
2024-11-20 17:57:46.169190 [NOTICE] [11898] [T0] [96.63.158.143:52935:HTTP2-23#APVH_thunderbirdmodels.com:443] [STDERR] PHP Notice:  Trying to get property 'theme_name' of non-object in /home/thunder3/public_html/test_site/var/cache/prod/ContainerGqxJggE/appAppKernelProdContainer.php on line 2911\n
2024-11-20 17:53:06.187748 [NOTICE] [11898] [T0] [96.63.158.143:52892:HTTP2-43#APVH_thunderbirdmodels.com:443] [STDERR] PHP Notice:  Trying to get property 'theme_name' of non-object in /home/thunder3/public_html/test_site/var/cache/prod/ContainerFzGJDS7/appAppKernelProdContainer.php on line 3548

 

this is notice , you are not a warn log ?

 

the best for upgrade :

installe prestashop to 8.2

Add MigrationPro: Bridge connector to prestashop 1.7

Add MigrationProto your prestashop 8.2

Go to Ps 8.2 and synchronyse this for recover your info from 1.7 to 8.2

 

your theme and template will not be recovered

 

Edited by kis2a (see edit history)
Link to comment
Share on other sites

3 hours ago, T-bird said:

Is it not possible to go directly from 1.7.4.3 to 8.2.0? I really don't have the time or desire to make so many small updates to get to the latest version.

Unfortunately it is not. You issues are won't disappear with the upgrade. Those bogus registrations i.e. You need to move the newletter registration.  
The new server is more powerful? Some servers are really restrictive.

Link to comment
Share on other sites

  • T-bird changed the title to [Solved] 500 internal server error upgrading to 8.2.0

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...