Jump to content

Upgrade from 1.7.6.5 to 1.7.7.3 Failed


Recommended Posts

I downloaded a full version of 1.7.7.3 and uploaded it as per instructions at https://devdocs.prestashop.com/1.7/basics/keeping-up-to-date/upgrade

After the files were uploaded I went to 4x4direct.co.za/install/upgrade/upgrade.php  
At first I just got a blank screen
After ten minutes I refreshed, then I got a server500 time out screen
I refreshed again then got a message showing <action result="error" id="28"/>
Refreshed again then got blank screen and the next 5 refreshes the same, a blank screen.

So it seems like the DB is not updating.

I also tried to upgrade in December and it also failed. I then gave up and left it until I tried again tonight just to have another fail.

Error log shows this

4425#0: *782030 FastCGI sent in stderr: "PHP message: PHP Fatal error: require(): Failed opening required '/var/www/vhosts/4x4direct.co.za/httpdocs/var/cache/prod/ContainerRpmtwpq/removed-ids.php' (include_path='/var/www/vhosts/4x4direct.co.za/httpdocs/vendor/pear/pear_exception:/var/www/vhosts/4x4direct.co.za/httpdocs/vendor/pear/console_getopt:/var/www/vhosts/4x4direct.co.za/httpdocs/vendor/pear/pear-core-minimal/src:/var/www/vhosts/4x4direct.co.za/httpdocs/vendor/pear/archive_tar:.:/usr/share/pear/:/var/www/vhosts/4x4direct.co.za/:/tmp/') in /var/www/vhosts/4x4direct.co.za/httpdocs/var/cache/prod/ContainerRpmtwpq/appProdProjectContainer.php on line 2197" while reading response header from upstream

 

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

I checked the two files in the error log and I see they were not in the fresh install, so I copied it from my backup files.
var/cache/prod/ContainerRpmtwpq/removed-ids.php

and
var/cache/prod/ContainerRpmtwpq/appProdProjectContainer.php

 

Now I get this error

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<action result="error" id="28"/>

Link to comment
Share on other sites

Error log now shows
 

6938#0: *784774 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false) in /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/Cart.php on line 0" while reading response header from upstream

 

Link to comment
Share on other sites

I removed the install folder and it seems like the site is working but the ordering does not work.

The backend says my version is up to date.

But when i try to order something and use the EFT option it only goes to a blank page. - https://4x4direct.co.za/module/ps_wirepayment/validation

The order shows up in the order list but I do not receive the email confirming the order.

error log:
 

AH01071: Got error 'PHP message: PHP Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false) in /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/Cart.php on line 0\nPHP message: PHP Fatal error: Uncaught Error: Call to undefined method Order::cleanHistoryCache() in /var/www/vhosts/4x4direct.co.za/httpdocs/classes/order/OrderHistory.php:477\nStack trace:\n#0 /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/PaymentModule.php(568): OrderHistoryCore->addWithemail(true, Array)\n#1 /var/www/vhosts/4x4direct.co.za/httpdocs/modules/ps_wirepayment/controllers/front/validation.php(58): PaymentModule->validateOrder(67450, '10', 190, 'Bank transfer', NULL, Array, 3, false, '810b4fd63f64cab...')\n#2 /var/www/vhosts/4x4direct.co.za/httpdocs/classes/controller/Controller.php(295): Ps_WirepaymentValidationModuleFrontController->postProcess()\n#3 /var/www/vhosts/4x4direct.co.za/httpdocs/classes/Dispatcher.php(518): ControllerCore->run()\n#4 /var/www/vhosts/4x4direct.co.za/httpdocs/index.php(28): DispatcherCore->dispatch()\n#5 {main}\n thrown in /var/www/vhosts/4x4direct.co.za/httpdocs/classes/order/OrderHistory.php on line 477\n', referer: https://4x4direct.co.za/order

 

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

When I try to open an order I get the following errors

Quote

Type error: Argument 4 passed to PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderShippingAddressForViewing::__construct() must be of the type string, null given, called in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php on line 277

Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 4 passed to PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderShippingAddressForViewing::__construct() must be of the type string, null given, called in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php on line 277 at src/Core/Domain/Order/QueryResult/OrderShippingAddressForViewing.php:117 at PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderShippingAddressForViewing->__construct(1, 'Pie*r', 'Pre****s', null, '3 ****Drive', '*****Beach', '', '*****', 'South Africa', '7357', '0*****', '0*****', null, null) (src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php:277) at PrestaShop\PrestaShop\Adapter\Order\QueryHandler\GetOrderForViewingHandler->getOrderShippingAddress(object(Order)) (src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php:199) at PrestaShop\PrestaShop\Adapter\Order\QueryHandler\GetOrderForViewingHandler->handle(object(GetOrderForViewing)) (vendor/league/tactician/src/Handler/CommandHandlerMiddleware.php:71) at League\Tactician\Handler\CommandHandlerMiddleware->execute(object(GetOrderForViewing), object(Closure)) (vendor/league/tactician/src/CommandBus.php:62) at League\Tactician\CommandBus->League\Tactician\{closure}(object(GetOrderForViewing)) (src/Core/CommandBus/Middleware/CommandRegisterMiddleware.php:79) at PrestaShop\PrestaShop\Core\CommandBus\Middleware\CommandRegisterMiddleware->execute(object(GetOrderForViewing), object(Closure)) (vendor/league/tactician/src/CommandBus.php:62) at League\Tactician\CommandBus->League\Tactician\{closure}(object(GetOrderForViewing)) (vendor/league/tactician/src/CommandBus.php:42) at League\Tactician\CommandBus->handle(object(GetOrderForViewing)) (src/Core/CommandBus/TacticianCommandBusAdapter.php:54) at PrestaShop\PrestaShop\Core\CommandBus\TacticianCommandBusAdapter->handle(object(GetOrderForViewing)) (src/PrestaShopBundle/Controller/Admin/Sell/Order/OrderController.php:406) at PrestaShopBundle\Controller\Admin\Sell\Order\OrderController->viewAction(17317, object(Request)) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, false) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request), 1, false) (admin458544/index.php:82)

 

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

Was doing upgrade from 1.7.6.5 to 1.7.7.2 but used one click upgrade. Got errors with custom.css and dropdown menu files. So had to restore, delete dropdown menu module and custom.css file. After that upgrade went fine.

Link to comment
Share on other sites

I activated debug mode and tried again to run the install/upgrade/upgrade.php file because I am sure the DB did not upgrade.

This time it returned this error

Quote

Fatal error: Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false) in /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/Cart.php:0 Stack trace: #0 /var/www/vhosts/4x4direct.co.za/httpdocs/classes/PrestaShopAutoload.php(152): Symfony\Component\Debug\ErrorHandler->handleError(2, 'Declaration of ...', '/var/www/vhosts...', 0, Array) #1 /var/www/vhosts/4x4direct.co.za/httpdocs/classes/PrestaShopAutoload.php(152): require_once() #2 [internal function]: PrestaShopAutoload->load('Cart') #3 /var/www/vhosts/4x4direct.co.za/httpdocs/src/PrestaShopBundle/Install/Upgrade.php(316): spl_autoload_call('Cart') #4 /var/www/vhosts/4x4direct.co.za/httpdocs/src/PrestaShopBundle/Install/Upgrade.php(814): PrestaShopBundle\Install\Upgrade->initContext() in /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/Cart.php on line 0

 

Link to comment
Share on other sites

2 minutes ago, darkin said:

Was doing upgrade from 1.7.6.5 to 1.7.7.2 but used one click upgrade. Got errors with custom.css and dropdown menu files. So had to restore, delete dropdown menu module and custom.css file. After that upgrade went fine.

I do not even try 1 click upgrade because in the 7 years I've been using Prestashop it never worked.

 

Link to comment
Share on other sites

Have read in forums, that people are getting problems with upgrade when using not default theme and some modules giving headache ... Not an expert on DB side for errors... Let's hope some gurus will see this message and from error logs can see your problem roots.

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

OK, the show must go on, so I restored my old files.

I only restored the old files and kept the database as is and everything is working fine.

This just confirms again that the database was not updated during the upgrade.

Is there a way to manually upgrade the database?

Link to comment
Share on other sites

8 hours ago, pietpetoors said:

OK, the show must go on, so I restored my old files.

I only restored the old files and kept the database as is and everything is working fine.

This just confirms again that the database was not updated during the upgrade.

Is there a way to manually upgrade the database?

First of all, the error message that you initially got came from an override. So it may have been a matter of a module that was not compatible with the new version and you should have started with removing the module and its override instead of adding changes to the main upgrade.

Prestashop keeps a list of the database changes for each version under the install directory in the directory install\upgrade\sql\. Until recently this list was complete. However, with version 1.7.7 a field "route_name" has been added to the ps_tab table that isn't mentioned here.

Link to comment
Share on other sites

There is no bulletproof way to find which module owns an override. Not to mention that an override file can contain changes for more than one module.

If you get a message that an offending file in the override the first thing you should do is open the override and look whether it contains some indication in its comments about what module it is part of.

Prestools has a function Override List that can help too.

piet.thumb.jpg.304ab9f7b5c8213805d8056fa7d8fd8c.jpg

Link to comment
Share on other sites

1 hour ago, pietpetoors said:

So when I try to upgrade again, is there a way I would know which module is not compatible?

 

Any additionally installed modules can give a problem and sometimes disabling them didn't help. If you don't have a lot of additional modules, try to uninstall them before upgrade. Or try to check musicmasters way.

 

Happy Easter for all

Link to comment
Share on other sites

19 minutes ago, pietpetoors said:

Thank you. I do not have many modules.
Must I just disable the modules and them or must I uninstall it?

This time I am going to uninstall my custom theme and disable all modules, or delete, depending on what is best?

Sounds like huge overkill to me.

I wouldn't upgrade a shop from 1.7.6.5 to 1.7.7.3 if there wasn't some clear advantage in the new version.

And usually disabling a module is enough to disactivate its overrides.

 

Link to comment
Share on other sites

The reason I want to upgrade it is because I found that the longer one wait the more problematic it becomes later when there is another big upgrade.

The reason I want to go for the overkill is because I tried 3 times before to upgrade from 1.7.6.5 to a newer version and each time it fails. I then decide to just leave it as it is until a month or 3 later then I try again.

I want to get it over and done with this weekend because it is quiet.

Link to comment
Share on other sites

OK, I deleted my custom theme and the only theme on presta is now Classic.

I disabled All modules, all of them.

I copied the files as per instructions at https://devdocs.prestashop.com/1.7/basics/keeping-up-to-date/upgrade/

Yet again when I ran the upgrade file I was greated with a blank page and my error logs shows the following:

 

11301#0: *955208 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false) in /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/Cart.php on line 0" while reading response header from upstream				nginx error
2021-04-04 13:49:16	Warning	105.226.87.246		11301#0: *955208 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false) in /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/Cart.php on line 0PHP message: PHP Fatal error: Uncaught Symfony\Component\Filesystem\Exception\IOException: Failed to remove directory "/var/www/vhosts/4x4direct.co.za/httpdocs/var/cache/prod/": rmdir(/var/www/vhosts/4x4direct.co.za/httpdocs/var/cache/prod/): Directory not empty. in /var/www/vhosts/4x4direct.co.za/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:180
Stack trace:
#0 /var/www/vhosts/4x4direct.co.za/httpdocs/classes/Tools.php(3458): Symfony\Component\Filesystem\Filesystem->remove(Array)
#1 [internal function]: ToolsCore::{closure}()
#2 {main}
thrown in /var/www/vhosts/4x4direct.co.za/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php on line 180" while reading response header from upstream

 

Link to comment
Share on other sites

Don't know what all of these mena but in Presta debug mode and my server log there are complaints about the cart.
No idea what it is about.
Presta Debug mde log:
 

Quote

LevelChannelMessage

DEBUG 15:01:49doctrineSELECT name FROM ps_module WHERE active = 1

INFO 15:01:49requestMatched route "admin_themes_index".

DEBUG 15:01:49securityRead existing security token from the session.

DEBUG 15:01:49securityUser was reloaded from a user provider.

INFO 15:01:49phpUser Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0.

INFO 15:01:50phpUser Deprecated: Implementing "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface" without the "reset()" method is deprecated since Symfony 3.4 and will be unsupported in 4.0 for class "Csa\Bundle\GuzzleBundle\DataCollector\GuzzleCollector".

CRITICAL 15:01:50phpUncaught Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false)

CRITICAL 15:01:50requestUncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false)" at /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/Cart.php line 0

Server error log
 

Quote

11301#0: *955208 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false) in /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/Cart.php on line 0" while reading response header from upstream

 

Link to comment
Share on other sites

I uninstalled all modules relating to the custom theme (Angar Theme) and also all modules related to a cart.

I still get a blank screen after upgrade and now the error log on server changed a bit:

Quote

11301#0: *967420 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false) in /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/Cart.php:0
Stack trace:
#0 /var/www/vhosts/4x4direct.co.za/httpdocs/classes/PrestaShopAutoload.php(152): Symfony\Component\Debug\ErrorHandler->handleError(2, 'Declaration of ...', '/var/www/vhosts...', 0, Array)
#1 /var/www/vhosts/4x4direct.co.za/httpdocs/classes/PrestaShopAutoload.php(152): require_once()
#2 [internal function]: PrestaShopAutoload->load('Cart')
#3 /var/www/vhosts/4x4direct.co.za/httpdocs/src/PrestaShopBundle/Install/Upgrade.php(316): spl_autoload_call('Cart')
#4 /var/www/vhosts/4x4direct.co.za/httpdocs/src/PrestaShopBundle/Install/Upgrade.php(814): Pres" while reading response header from upstream

 

 

Link to comment
Share on other sites

attributewizardpro is the one with the overrides but it has been deactivated.
I now uninstalled it and still get this

 

Quote

11301#0: *967420 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false) in /var/www/vhosts/4x4direct.co.za/httpdocs/override/classes/Cart.php:0
Stack trace:
#0 /var/www/vhosts/4x4direct.co.za/httpdocs/classes/PrestaShopAutoload.php(152): Symfony\Component\Debug\ErrorHandler->handleError(2, 'Declaration of ...', '/var/www/vhosts...', 0, Array)
#1 /var/www/vhosts/4x4direct.co.za/httpdocs/classes/PrestaShopAutoload.php(152): require_once()
#2 [internal function]: PrestaShopAutoload->load('Cart')
#3 /var/www/vhosts/4x4direct.co.za/httpdocs/src/PrestaShopBundle/Install/Upgrade.php(316): spl_autoload_call('Cart')
#4 /var/www/vhosts/4x4direct.co.za/httpdocs/src/PrestaShopBundle/Install/Upgrade.php(814): Pres" while reading response header from upstream

 

Link to comment
Share on other sites

Quote

OverrideModule(s)Link in moduleOriginal

/classes/SIWebserviceExtension.php/classes/SIWebserviceExtension.php

/classes/Employee.phpets_pres2prespwkeeper
/override/classes/Employee.php
/classes/Employee.php

/classes/Customer.phpets_pres2prespwkeeper
/override/classes/Customer.php
/classes/Customer.php

/classes/webservice/WebserviceRequest.php/classes/webservice/WebserviceRequest.php

/classes/PaymentModule.phpattributewizardpro
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
/modified_1.7/override/classes/PaymentModule.php
/attributewizardpro/modified_1.4.2/override/classes/PaymentModule.php
/attributewizardpro/modified_1.4.1/override/classes/PaymentModule.php
/attributewizardpro/modified_1.4.11/override/classes/PaymentModule.php
/attributewizardpro/modified_1.5.1/override/classes/PaymentModule.php
/attributewizardpro/modified_1.5.6/override/classes/PaymentModule.php
/attributewizardpro/modified_1.5.3/override/classes/PaymentModule.php
/attributewizardpro/modified_1.4.6/override/classes/PaymentModule.php
/attributewizardpro/modified_1.4.9/override/classes/PaymentModule.php
/attributewizardpro/modified_1.4.3/override/classes/PaymentModule.php
/attributewizardpro/modified_1.5.2/override/classes/PaymentModule.php
/attributewizardpro/modified_1.6.0/override/classes/PaymentModule.php
/attributewizardpro/modified_1.5.4/override/classes/PaymentModule.php
/attributewizardpro/modified_1.5.5/override/classes/PaymentModule.php
/attributewizardpro/modified_1.4.5/override/classes/PaymentModule.php
/attributewizardpro/modified_1.4.0/override/classes/PaymentModule.php
/attributewizardpro/modified_1.4.10/override/classes/PaymentModule.php
/attributewizardpro/modified_1.4.4/override/classes/PaymentModule.php
/attributewizardpro/modified_1.5.0/override/classes/PaymentModule.php
/attributewizardpro/modified_1.4.8/override/classes/PaymentModule.php
/attributewizardpro/modified_1.6.1/override/classes/PaymentModule.php
/attributewizardpro/modified_1.4.7/override/classes/PaymentModule.php
/classes/PaymentModule.php

/classes/WebserviceSpecificManagementSi.php/classes/WebserviceSpecificManagementSi.php

/classes/controller/FrontController.phpsmartblog
attributewizardpro
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
/classes/controllers/FrontController.php
/modified_1.7/override/classes/controller/FrontController.php
/smartblog/classes/controllers/FrontController.php
/attributewizardpro/modified_1.4.2/override/classes/FrontController.php
/attributewizardpro/modified_1.4.1/override/classes/FrontController.php
/attributewizardpro/modified_1.4.11/override/classes/FrontController.php
/attributewizardpro/modified_1.4.6/override/classes/FrontController.php
/attributewizardpro/modified_1.4.9/override/classes/FrontController.php
/attributewizardpro/modified_1.4.3/override/classes/FrontController.php
/attributewizardpro/modified_1.4.5/override/classes/FrontController.php
/attributewizardpro/modified_1.4.0/override/classes/FrontController.php
/attributewizardpro/modified_1.4.10/override/classes/FrontController.php
/attributewizardpro/modified_1.4.4/override/classes/FrontController.php
/attributewizardpro/modified_1.4.8/override/classes/FrontController.php
/attributewizardpro/modified_1.4.7/override/classes/FrontController.php
/classes/controller/FrontController.php

/classes/Cart.phpattributewizardpro
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
/modified_1.7/override/classes/Cart.php
/attributewizardpro/modified_1.4.2/override/classes/Cart.php
/attributewizardpro/modified_1.4.1/override/classes/Cart.php
/attributewizardpro/modified_1.4.11/override/classes/Cart.php
/attributewizardpro/modified_1.5.1/override/classes/Cart.php
/attributewizardpro/modified_1.5.6/override/classes/Cart.php
/attributewizardpro/modified_1.5.3/override/classes/Cart.php
/attributewizardpro/modified_1.4.6/override/classes/Cart.php
/attributewizardpro/modified_1.4.9/override/classes/Cart.php
/attributewizardpro/modified_1.4.3/override/classes/Cart.php
/attributewizardpro/modified_1.5.2/override/classes/Cart.php
/attributewizardpro/modified_1.6.0/override/classes/Cart.php
/attributewizardpro/modified_1.5.4/override/classes/Cart.php
/attributewizardpro/modified_1.5.5/override/classes/Cart.php
/attributewizardpro/modified_1.4.5/override/classes/Cart.php
/attributewizardpro/modified_1.4.0/override/classes/Cart.php
/attributewizardpro/modified_1.4.10/override/classes/Cart.php
/attributewizardpro/modified_1.4.4/override/classes/Cart.php
/attributewizardpro/modified_1.5.0/override/classes/Cart.php
/attributewizardpro/modified_1.4.8/override/classes/Cart.php
/attributewizardpro/modified_1.6.1/override/classes/Cart.php
/attributewizardpro/modified_1.4.7/override/classes/Cart.php
/classes/Cart.php

/classes/order/OrderDetail.phpattributewizardpro
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
/modified_1.7/override/classes/order/OrderDetail.php
/attributewizardpro/modified_1.4.2/override/classes/OrderDetail.php
/attributewizardpro/modified_1.4.1/override/classes/OrderDetail.php
/attributewizardpro/modified_1.4.11/override/classes/OrderDetail.php
/attributewizardpro/modified_1.5.1/override/classes/order/OrderDetail.php
/attributewizardpro/modified_1.5.6/override/classes/order/OrderDetail.php
/attributewizardpro/modified_1.5.3/override/classes/order/OrderDetail.php
/attributewizardpro/modified_1.4.6/override/classes/OrderDetail.php
/attributewizardpro/modified_1.4.9/override/classes/OrderDetail.php
/attributewizardpro/modified_1.4.3/override/classes/OrderDetail.php
/attributewizardpro/modified_1.5.2/override/classes/order/OrderDetail.php
/attributewizardpro/modified_1.6.0/override/classes/order/OrderDetail.php
/attributewizardpro/modified_1.5.4/override/classes/order/OrderDetail.php
/attributewizardpro/modified_1.5.5/override/classes/order/OrderDetail.php
/attributewizardpro/modified_1.4.5/override/classes/OrderDetail.php
/attributewizardpro/modified_1.4.0/override/classes/OrderDetail.php
/attributewizardpro/modified_1.4.10/override/classes/OrderDetail.php
/attributewizardpro/modified_1.4.4/override/classes/OrderDetail.php
/attributewizardpro/modified_1.5.0/override/classes/order/OrderDetail.php
/attributewizardpro/modified_1.4.8/override/classes/OrderDetail.php
/attributewizardpro/modified_1.6.1/override/classes/order/OrderDetail.php
/attributewizardpro/modified_1.4.7/override/classes/OrderDetail.php
/classes/order/OrderDetail.php

/classes/Product.phpps_facetedsearch
attributewizardpro
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
/src/Hook/Product.php
/modified_1.7/override/classes/Product.php
/attributewizardpro/modified_1.4.11/override/classes/Product.php
/attributewizardpro/modified_1.5.1/override/classes/Product.php
/attributewizardpro/modified_1.5.6/override/classes/Product.php
/attributewizardpro/modified_1.5.3/override/classes/Product.php
/attributewizardpro/modified_1.5.2/override/classes/Product.php
/attributewizardpro/modified_1.6.0/override/classes/Product.php
/attributewizardpro/modified_1.5.4/override/classes/Product.php
/attributewizardpro/modified_1.5.5/override/classes/Product.php
/attributewizardpro/modified_1.4.10/override/classes/Product.php
/attributewizardpro/modified_1.5.0/override/classes/Product.php
/attributewizardpro/modified_1.6.1/override/classes/Product.php
/classes/Product.php

/controllers/front/ContactController.phpinvisiblegrecaptcha
captchadd
captchadd
recaptcha
modules
/override/controllers/front/ContactController.php
/v1.4/ContactController.php
/override/controllers/front/ContactController.php
/override/controllers/front/ContactController.php
/recaptcha/override/controllers/front/ContactController.php
/controllers/front/ContactController.php

/controllers/front/OrderController.phpcaptchadd
/override/controllers/front/OrderController.php
/controllers/front/OrderController.php

/controllers/front/CartController.phpattributewizardpro
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
modules
/modified_1.7/override/controllers/front/CartController.php
/attributewizardpro/modified_1.4.2/override/controllers/CartController.php
/attributewizardpro/modified_1.4.1/override/controllers/CartController.php
/attributewizardpro/modified_1.4.11/override/controllers/CartController.php
/attributewizardpro/modified_1.5.1/override/controllers/front/CartController.php
/attributewizardpro/modified_1.5.6/override/controllers/front/CartController.php
/attributewizardpro/modified_1.5.3/override/controllers/front/CartController.php
/attributewizardpro/modified_1.4.6/override/controllers/CartController.php
/attributewizardpro/modified_1.4.9/override/controllers/CartController.php
/attributewizardpro/modified_1.4.3/override/controllers/CartController.php
/attributewizardpro/modified_1.5.2/override/controllers/front/CartController.php
/attributewizardpro/modified_1.6.0/override/controllers/front/CartController.php
/attributewizardpro/modified_1.5.4/override/controllers/front/CartController.php
/attributewizardpro/modified_1.5.5/override/controllers/front/CartController.php
/attributewizardpro/modified_1.4.5/override/controllers/CartController.php
/attributewizardpro/modified_1.4.0/override/controllers/CartController.php
/attributewizardpro/modified_1.4.10/override/controllers/CartController.php
/attributewizardpro/modified_1.4.4/override/controllers/CartController.php
/attributewizardpro/modified_1.5.0/override/controllers/front/CartController.php
/attributewizardpro/modified_1.4.8/override/controllers/CartController.php
/attributewizardpro/modified_1.6.1/override/controllers/front/CartController.php
/attributewizardpro/modified_1.4.7/override/controllers/CartController.php
/controllers/front/CartController.php

/controllers/front/AuthController.phpinvisiblegrecaptcha
captchadd
captchadd
recaptcha
modules
/override/controllers/front/AuthController.php
/v1.4/AuthController.php
/override/controllers/front/AuthController.php
/override/controllers/front/AuthController.php
/recaptcha/override/controllers/front/AuthController.php
/controllers/front/AuthController.php


Modules in italics are not active in any of your shops.
Modules in color are not installed

 

Link to comment
Share on other sites

If I go to Shop Rescue in Prestools it tells me this:
 

Quote

You are now using database presta-ver1751 for shop 4x4direct.co.za/ (id_shop=1) with theme classic.

But Prestashop shows me I am on 1.7.7.3 even though I did not manage to do the upgrade yet.

Link to comment
Share on other sites

Even though I uninstalled all modules, when I went to the modules folder I saw all of them there. So I deleted all module related folders inside the modules folder.

Prestools overide table is now clean.

Now I get this in the server error log
 

Quote

1191#0: *982318 FastCGI sent in stderr: "PHP message: PHP Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/EntityMapper.php on line 99PHP message: PHP Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/EntityMapper.php on line 99PHP message: PHP Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/EntityMapper.php on line 99PHP message: PHP Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/EntityMapper.php on line 85PHP message: PHP Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/EntityMapper.php on line 85PHP message: PHP Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/EntityMapper.php on line 99PHP message: PHP Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/EntityMapper.php on line 99PHP message: PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\ContextErrorException: Warning: Declaration of Cart::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true) should be compatible with CartCore::getProducts($refresh = false, $id_product = false, $id_country = NULL, $fullInfos = true, bool $keepOrderPrices = false) in /var/www/vhosts/4x4direct.

 

Link to comment
Share on other sites

 - You can delete modules inside Prestashop too. That would have been the better approach.

 - Deleting those modules will do nothing for the overrides. They are still under the override directory. You should delete those files. And after that you should do a clean cache in the Prestashop backoffice.

Link to comment
Share on other sites

26 minutes ago, pietpetoors said:

If I go to Shop Rescue in Prestools it tells me this:
You are now using database presta-ver1751 for shop 4x4direct.co.za/ (id_shop=1) with theme classic.

But Prestashop shows me I am on 1.7.7.3 even though I did not manage to do the upgrade yet.

I don't understand this. What is the relationship between what Prestools tells you and what Prestashop tells you?

Link to comment
Share on other sites

Quote

Deleting those modules will do nothing for the overrides. They are still under the override directory. You should delete those files. And after that you should do a clean cache in the Prestashop backoffice.

So can I just delete the 3 folders in the overrides folder?
Classes
Controllers
Modules

Link to comment
Share on other sites

Deleted the overide files and ran upgrade again.

Getting worse now, cannot log into my admin panel, the following is displayed on the login page and there is no block for username and pw.

Quote

Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /var/www/vhosts/4x4direct.co.za/httpdocs/src/Adapter/EntityMapper.php on line 99

 

Link to comment
Share on other sites

8 minutes ago, pietpetoors said:

Under modules is only /contactform

Under controllers are admin and front
Under classes are a very long list

You know from your error messages which ones gave the problem and are related to AWP. Just delete them.

Go to PHP version 1.7.3. 1.7.4 is not officially supported.

Link to comment
Share on other sites

Just now, pietpetoors said:

If I go to my main page at http://www.4x4direct.co.za/  it wants to install prestashop?

 

That reinforces the impression that you have a mix of the two versions and that the upgrade ended somewhere in the middle.

I don't know the exact configuration that causes this situation. My suggestion would be to try Copy_shopdata, my other tool.

https://www.prestashop.com/forums/topic/445453-copy-shopdata-script-for-copying-shop-content-for-upgrade/

Link to comment
Share on other sites

Just now, musicmaster said:

That reinforces the impression that you have a mix of the two versions and that the upgrade ended somewhere in the middle.

I don't know the exact configuration that causes this situation. My suggestion would be to try Copy_shopdata, my other tool.

https://www.prestashop.com/forums/topic/445453-copy-shopdata-script-for-copying-shop-content-for-upgrade/

It has some learning curve...

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