Cocolabs-SAS / cocorico

👐 Cocorico is an open source marketplace solution for services and rentals. More information right here: https://www.cocorico.io/ 🚀 Cocorico is also available in an off-the-shelf SaaS package, check out https://www.hatch.li to launch your platform today. 😍 We are hiring (telecommute welcome 🏡): https://www.welcometothejungle.com/en/companies/cocorico/jobs/candidatures-spontanees#apply
https://www.cocolabs.com
MIT License
860 stars 612 forks source link

Problem with photos of Listings #424

Closed bu11shift closed 5 years ago

bu11shift commented 5 years ago
Q A
Bug report? [x]
Feature request? [ ]
Support request? [x]

изображение

I have a problem. Offerer Acc Listings -> Edit -> Photos PHP 7.2.20 Attempted to call an undefined method named "macro_imagesCollectionItem" of class "__TwigTemplate_66d964d16470f651ab0c76c6886d6085c89cf8d645279be31e156f08bd8a500c".

Do you know what could be the problem?
Thank you.

cocolabssas commented 5 years ago

Hi @bu11shift

This error does not exists in Cocorico. Could you compare this file src/Cocorico/CoreBundle/Resources/views/Form/fields_collection.html.twig with yours. It seems that this macro {% macro imagesCollectionItem(child_form, allow_delete) %} has disappeared from your code.

imanalopher commented 5 years ago

@bu11shift Try change PHP version to php 7.1 , You are using php 7.2