kirby-blade icon indicating copy to clipboard operation
kirby-blade copied to clipboard

3.7 Compatibility

Open afbora opened this issue 2 years ago • 7 comments

afbora avatar Jun 16 '22 07:06 afbora

See also https://github.com/getkirby/kirby/issues/4381 I only have your plugin :) Blade!! Thank you.

wdebusschere avatar Jun 16 '22 08:06 wdebusschere

I've released 2.0.0-rc.1 version that compatible with 3.7. Any testers would appreciate 💛

https://github.com/afbora/kirby-blade/releases/tag/2.0.0-rc.1

afbora avatar Jun 22 '22 11:06 afbora

2] PHP Fatal error: Cannot redeclare e() (previously declared in /var/www/html/mysite/vendor/illuminate/support/helpers.php:109) in /var/www/html/mysite/kirby/config/helpers.php on line 128

    "afbora/kirby-blade": "2.0.0-rc.1",
    "getkirby/cms": "3.7.0-rc.2"

wdebusschere avatar Jun 22 '22 15:06 wdebusschere

@wdebusschere Thanks for test and report!

I think, you need to disable e() helper manually from root index.php

define('KIRBY_HELPER_E', false);

afbora avatar Jun 22 '22 15:06 afbora

@afbora Ok now it's working i added define('KIRBY_HELPER_E', false); AND delete the cache and it worked. (Used composer to install)

wdebusschere avatar Jun 22 '22 15:06 wdebusschere

@afbora This also fixed the paging problem i experienced: blog/page:2 was not working Thx

wdebusschere avatar Jun 22 '22 15:06 wdebusschere

@wdebusschere Thanks for testing again. Pagination issue was related with Kirby and fixed on RC2 🙂

afbora avatar Jun 22 '22 15:06 afbora