Jump to content

[solved] FatalErrorException


Recommended Posts

Hello everyone,

I tried to update from Prestashop 1.7.8.11 naar 8.2.1 . Unfortunately, this didn't work. I was able to access the back office, but I could not open the front-site.
After many hours of struggling, I decided to restore the backup. However, I don't know what they did wrong, but now the front-end site works, but the back-end site doesn't.
I can access the database, and that's where I managed to disable the front-end site.
I turned on the debug. and I get this message:
 

(1/1) FatalErrorException

Error: Class PrestaShopBundle\Form\Extension\ModifyAllShopsExtension contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Symfony\Component\Form\FormTypeExtensionInterface::getExtendedType)

in ModifyAllShopsExtension.php line 49

How can I fix it?

Edited by Frits van Leeuwen (see edit history)
Link to comment
Share on other sites

Hi.

Because there is confusion in the src and vendor folders. Download your version of Prestashop, unzip it on your computer, delete the src and vendor folders on FTP, then upload these two folders from your computer to FTP and finally delete the var/cache/prod folder and if it exists, delete var/cache/dev.

  • Like 1
Link to comment
Share on other sites

Thanks for the quick reply. I went through all the files and checked the date and time. If it contained the fatal date and time, I had to check if the file already existed. If not, I deleted it. If it did, I overwrote it with the older version.
But that's a lot of work. I'm halfway through now, and it seems to be working.
My hoster finally wants to do what they should have done: restore the last good backup. So that's what's going to happen now.

  • Like 1
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...