Describe the bug
Started a shop on 1.6.1.8 and upgraded it to 1.7.6.0. The upgrade succeeds, but all pages running on Symfony are empty.
To Reproduce
Steps to reproduce the behavior:
Screenshots



Additionnal information
PHP 5.6.40 (cli) (built: Jan 23 2019 00:10:05)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
version: '2'
volumes:
db-data:
services:
mysql:
image: mysql:5.6
ports:
- "3306"
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: prestashop
apache:
image: prestashop/prestashop:1.6.1.8
environment:
PS_INSTALL_AUTO: 1
DB_PASSWD: password
DB_NAME: prestashop
DB_SERVER: mysql
PS_DOMAIN: ip6-localhost:8001
PS_FOLDER_INSTALL: install-dev
PS_FOLDER_ADMIN: admin-dev
PS_DEV_MODE: 0
PS_DEMO_MODE: 0
PS_COUNTRY: fr
PS_LANGUAGE: en
ports:
- "8001:80"
[email protected] / prestashop_demo
Hi @Quetzacoalt91,
I tried to upgrade from PS16120 to PS1760 with the same folder provided using the 1-click upgrade v4.7.0
During the uprade I have this error
[Ajax / Server Error for action upgradeFiles] textStatus: "error " errorThrown:" " jqXHR: " "
I tried to navigate to the BO=> error 500

Thanks!
You should have used the branch dev, there is a new version to be released for PS 1.7.6.0. :)
We tried to find the root cause of this issue, here is our progress so far:
| Original PS Version | Env | Issue reproduced |
| -- | -- | -- |
| PS 1.7.6.0 upgraded from 1.6.1.8 | PHP 5.6 / Twig 1.38.4 | Yes |
| PS 1.7.6.0 upgraded from 1.6.1.8 | PHP 5.6 / Twig 1.36.0 (manual rollback) | No |
| PS 1.7.6.0 upgraded from 1.6.1.23 | PHP 5.6 / Twig 1.38.4 | Yes |
| PS 1.7.6.0 upgraded from 1.6.1.23 | PHP 7.0 / Twig 1.38.4 | No |
| PS 1.7.6.0 fresh install | PHP 5.6 / Twig 1.38.4 | No |
| PS 1.7.6.0 upgraded from 1.6.1.23 then 1.7.5.1 | PHP 5.6 / Twig 1.38.4 | Yes |
| PS 1.7.6.0 upgraded from 1.7.5.1 | PHP 5.6 / Twig 1.38.4 | Yes |
| PS 1.7.6.0 upgraded from 1.7.5.1 with twig folder deleted during process | PHP 5.6 / Twig 1.38.4 | No |
We have to make sure the old Twig version will be deleted during upgrade. I'm closing as we must wait for the stable release of 1.7.6.0 to confirm this is done properly.
Fixed by https://github.com/PrestaShop/autoupgrade/pull/325, there was a conflict between twig versions included by the core and the module