Jump to content

Error in symfony after upgrade to 1.7.4.2


nbexiga

Recommended Posts

Hi

Today i updated my prestashop from version  1.7.3.2 to version 1.7.4.2 , via the upgrae module . 

Everything went ok, i tested almost all the store , did purchases , emails received , etc  but i noticed when i go to the Shop Parameters -> General Option i got an error . I activated the debug mode , and the error that appear is this "Compile Error: Cannot redeclare class PrestaShopPaymentExceptionCore"

 

Kindly see the prinscreen atached with more detailed information with the error.

 

It seems until now that everything is working ok (the parts that i tested) , except the General Settings.

Can someone please help?

I have PHP 5.6 and FPM/FastCGI

P.S - because of this issue after upgrade i had to restore the server snapshoot for the step before upgrade. 

P.S.2 - I have the same error in other store that i have in the same server. I did the upgrade on both stores.

So i want now to see what is causing the error and then fix it after do the upgrade again.

Many thanks

Nuno

 

errorongeneralsettings.JPG

errorongeneralsettings2.JPG

Link to comment
Share on other sites

6 minutes ago, aixos said:

Hi

change to php 7.1

regards

Hi

There is other way instead of migrate to 7.1 ?

Other fix?

Because it would be very tricky to me to upgrade from 5.6 in prod.

It's a VPS and I have to install it myself .

It's not like a cpanel that it's possible only to change version..

I am running Running centos7 

 

Thanks

Link to comment
Share on other sites

  • razaro changed the title to Error in symfony after upgrade to 1.7.4.2
18 minutes ago, razaro said:

Do you use any 3rd party payment modules ? 

Could be that one of them try to declare PrestaShopPaymentExceptionCore class

that causes issue you see.

Hi

I have Bank Transfer , Paypal 

and i use 3 more . 

euPago - Payshop , euPago - Multibanco , euPago - Mbway

 

how can i see if it's related with that.. ? or wich one is with issues?

because it's only when i click on Shop Parameters -> General

 

thanks

Link to comment
Share on other sites

19 hours ago, razaro said:

Well you can try to check each module and maybe they have classes folder.

Check if there is PrestaShopPaymentExceptionCore class there.

Other option is to search through files for PrestaShopPaymentExceptionCore word.

HI

i checked and the modules don't have classes folder...

 

;(

Link to comment
Share on other sites

  • 4 weeks later...

Hey!

I've been having the same error with Prestashop 1.7.4.2 + PHP 7.1.

I also had the modules euPago for Multibanco and MBWay.

The issue was in the MBWay module, I couldn't even uninstall it through backoffice, I had to delete the modules folder via FTP.

Even if the module was disabled or the option to the disable non-native modules was on the issue persisted.

The moment i've removed the folder the page started working again.

The best thing to do is to contact euPago so they can update the module.

Link to comment
Share on other sites

 

Hi

Thanks. I will check that in the next upgrade I do.

 

On 9/7/2018 at 7:26 AM, Knowband Plugins said:

Not sure but the error might be due to cache as well. Kindly clear the cache & check again.

 

Hi

No I cleaned up the cache as well.. :(

Link to comment
Share on other sites

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...