studioespresso / craft-dumper

Bringing larapack/dd to your Craft3 website
MIT License
21 stars 2 forks source link

dd function not working #10

Closed watarutmnh closed 5 years ago

watarutmnh commented 5 years ago

Hello dd() doesn't working and it outputs a blank page. dump() and d() seems to have no problem and works as good. Here is my app info: PHP version 7.2.1 MySQL 5.6.38 Craft Pro 3.1.29 Dumper 1.3.1

watarutmnh commented 5 years ago

My craft environment is "dev", so it should have error info but I get only a blank page.

janhenckens commented 5 years ago

Hey! Where on your code are you using the function? In twig template, in a controller,... ?

janhenckens commented 5 years ago

Can confirm that this broke in Craft 3.1.29, still works on 3.1.28. Related to Craft requiring Twig 2.11 in the latest update.

watarutmnh commented 5 years ago

Hi, The issue is In twig template.

janhenckens commented 5 years ago

Should be fixed with upgrading to version 2.0.0 of the plugin. Do get in touch if you run into any other issues.

Thanks Jan