Closed tristantbg closed 6 years ago
I’m seeing the same issue. I’m guessing it relates to this change:
Custom Markdown and Smartypants parser components now have access to the
Field
object #611
Facing it too. Here is how I fixed it:
Add this in line after use Kirby\Plugins\Typography\Cache;
use Field;
and change
public function parse($text, $force = false) {
to
public function parse($text, $force = false, Field $field = NULL) {
Same Issue
Declaration of Kirby\Plugins\Typography\Component\Typography::parse($text, $force = false) should be compatible with Kirby\Component\Smartypants::parse($text, $force, Field $field)
Any idea how to fix this ?
Thanks a lot