iMi-digital / imi-conrun

Contao 3.x Command Line Tool
Other
7 stars 1 forks source link

Dump does not work anymore but why #8

Closed amenk closed 6 years ago

amenk commented 6 years ago
PHP Fatal error:  Cannot redeclare dump() (previously declared in imi-conrun/vendor/symfony/var-dumper/Resources/functions/dump.php:18) in otherproject/public/system/helper/functions.php on line 484
amenk commented 6 years ago

Problem is, that the dump function is defined in Contao core as well as the psysh package we use. I am wondering why it worked before.

amenk commented 6 years ago

Workaround: Comment out in contao: public/system/helper/functions.php:463

amenk commented 6 years ago

https://stackoverflow.com/questions/48459446/avoid-function-duplication-of-dump-function-by-psysh

amenk commented 6 years ago

Fixed in 1.8.1