HashandSalt / chopper

This plugin creates excerpts and keeps HTML tags.
MIT License
26 stars 2 forks source link

Does not seems to work with Kirby 3.5.3.1 / PHP 7.4.12 #4

Closed agloeckner closed 2 years ago

agloeckner commented 3 years ago

with chopper I don't get any text from the field, not any error: <?= $page->text()->chopper(40) ?>

without chopper I get the fields text: <?= $page->text() ?>

plugin is in site/plugins/chopper/

any idea?

ro-ka commented 3 years ago

I can confirm this also on PHP 8.

moevbiz commented 3 years ago

same for me, php 7.4, kirby 3.5.3.1 & 3.5.5, installed chopper via composer, lmk if there's anything else that might be helpful

HashandSalt commented 2 years ago

@agloeckner @ro-ka @moevbiz Sorry about the wait! Plugin has been refactored to work with PHP 7.4+. Check the readme for minor breaking changes.