Novactive / NovaeZSEOBundle

Novactive eZ Publish and Platform SEO Bundle
MIT License
25 stars 58 forks source link

eZ Platform 2 compatibility #69

Closed skrosoft closed 6 years ago

skrosoft commented 6 years ago

Hi all,

There is a compatibility issue with the latest eZ Platform 2.

The template "novaseometas_admin.html.twig" try to access "nova_ezseo.fieldtype_metas" but this variable is an empty array and throw an exception. This is required to show the "label" of the meta field.

image

Any help please :'( @Plopix

Plopix commented 6 years ago

Hello @skrosoft, I will need more ;) extension is working on v2. Then it has to be something else.

fieldtype_metas cannot be empty. OR, you might have a configuration issue. Can you tell us more?

https://github.com/Novactive/NovaeZSEOBundle/blob/develop-ezplatform/Twig/NovaeZSEOExtension.php#L254

skrosoft commented 6 years ago

You're right @Plopix , it seems I was exhausted, it was late. It was a configuration issue, I simply left the fieldtype_metas empty in my config.yml file -_-' Shame on me jaja thank you.

Plopix commented 6 years ago

you are welcome to open (and to close with code or not) as many as Issue/PR as you want!

;-)