wn-blocks-plugin icon indicating copy to clipboard operation
wn-blocks-plugin copied to clipboard

"Undefined variable $mode" on line 7 of plugins\winter\blocks\formwidgets\blocks\partials\_block.php

Open DonnerTechQ2 opened this issue 2 years ago • 3 comments

I added {variable type="blocks" name="blocks" tags="pages" tab="winter.pages::lang.editor.content"}{/variable} in my layout file, and when I try to open the static page editor, I get "Undefined variable $mode" on line 7 of S:{\htdocs\uvisa\plugins\winter\blocks\formwidgets\blocks\partials\_block.php изображение Maybe I'm doing something wrong, but I haven't found a solution and I need help

DonnerTechQ2 avatar Dec 09 '23 20:12 DonnerTechQ2

Are you using the latest version of Winter CMS from the develop branch?

LukeTowers avatar Dec 09 '23 21:12 LukeTowers

Are you using the latest version of Winter CMS from the develop branch?

I'm using winter 1.2.3 stable, from composer

DonnerTechQ2 avatar Dec 09 '23 21:12 DonnerTechQ2

1.2.4 should be out in the next couple of days which will have the necessary commits; but in the meantime if you switch to dev-develop then it should work properly for you.

LukeTowers avatar Dec 11 '23 20:12 LukeTowers