Hi,

After done a local migration, I do that for my production site. And I encounter this error when running CRON with drush:

Error: syntax error, unexpected '?' in
xxx/sited8/sites/default/files/php/twig/5bd71faf65b1f_field--node--title.html.t_uHV16hM_5Ek2SKYrnVCT8a34x/vyvkiXqDlAQd-CRmMy3irLhdu8rfwhSIKkwGjc4tJB8.php,
line 44

When I navigate to this folder it appear that default/files/php is empty, no twig folder exist here. On my local D8, the folder is at the right place.

So how can I fix this ?

thanks

also post there:
https://drupal.stackexchange.com/questions/271716/twig-folder-missing

Comments

aiphes created an issue. See original summary.

gaurav.kapoor’s picture

Clearing cache should resolve this issue. Also check permissions and public:// directory.

aiphes’s picture

All seems to be good, folder and files were created by system (after clearing cache or cron ?) .

amateescu’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.