rainlab / pages-plugin

Adds static pages and menus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blank Page

webfalter opened this issue · comments

OctoberCMS Build: 3.0.12
RainLab Pages Plugin Version: 1.14.12
PHP version: 8.1.4

Blank Page in Menu Frontend in my project after update

Examples are in the topic
https://octobercms.com/theme/rainlab-bonjour
https://octobercms.com/theme/rainlab-relax

commented

Hi @webfalter, thanks for the report. This is fixed in:

  • OctoberCMS Build: 3.0.13
  • RainLab Pages Plugin Version: 1.14.13

Thanks
but there are still errors
Example of both topics
Bildschirmfoto 2022-04-05 um 16 05 25
Bildschirmfoto 2022-04-05 um 16 05 03

commented

This is an issue with the theme itself and Twig v3.0

Fixes are here:
rainlab/bonjour-theme@8ee8f8b
rainlab/relax-theme@9a4d669

Here is the relevant document:
https://twig.symfony.com/doc/2.x/deprecated.html

And deprecation:

Adding an if condition on a for tag is deprecated in Twig 2.10. Use a filter filter or an "if" condition inside the "for" body instead (if your condition depends on a variable updated inside the loop).

commented

New releases for these themes have been published. This is fixed in:

  • RainLab.Relax - v1.0.3
  • RainLab.Bonjour - v1.0.2

Thanks for the quick help