This plugin allows you to profile your Shopware 5 application
MIT License
157
stars
41
forks
source link
SW 5.6 and dump: Argument 1 passed to Symfony\Component\VarDumper\Dumper\AbstractDumper::dump() must be an instance of Symfony\Component\VarDumper\Cloner\Data #109
today I tried Shopware 5.6 and updated the Profiler, too.
With using dump('test'); in my code I'm getting the following error:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\VarDumper\Dumper\AbstractDumper::dump() must be an instance of Symfony\Component\VarDumper\Cloner\Data, string given, called in /var/www/html/custom/plugins/FroshProfiler/vendor/symfony/var-dumper/Command/Descriptor/CliDescriptor.php on line 55 and defined in /var/www/html/custom/plugins/FroshProfiler/vendor/symfony/var-dumper/Dumper/AbstractDumper.php:124
Stack trace:
#0 /var/www/html/custom/plugins/FroshProfiler/vendor/symfony/var-dumper/Command/Descriptor/CliDescriptor.php(55): Symfony\Component\VarDumper\Dumper\AbstractDumper->dump('listing', true)
#1 /var/www/html/custom/plugins/FroshProfiler/vendor/symfony/var-dumper/Command/ServerDumpCommand.php(96): Symfony\Component\VarDumper\Command\Descriptor\CliDescriptor->describe(Object(Symfony\Component\Console\Style\SymfonyStyle), Object(Symfony\Component\VarDumper\Cloner\Data), Array, 475)
#2 /var/www/html/custom/plugins/FroshProfiler/vendor/symfony/var-dumper/Server/DumpServer.php(76): Symfony\Compon in /var/www/html/custom/plugins/FroshProfiler/vendor/symfony/var-dumper/Dumper/AbstractDumper.php on line 124
Fatal error: Uncaught TypeError: Argument 1 passed to Symfony\Component\VarDumper\Dumper\AbstractDumper::dump() must be an instance of Symfony\Component\VarDumper\Cloner\Data, string given, called in /var/www/html/custom/plugins/FroshProfiler/vendor/symfony/var-dumper/Command/Descriptor/CliDescriptor.php on line 55 and defined in /var/www/html/custom/plugins/FroshProfiler/vendor/symfony/var-dumper/Dumper/AbstractDumper.php:124
Stack trace:
#0 /var/www/html/custom/plugins/FroshProfiler/vendor/symfony/var-dumper/Command/Descriptor/CliDescriptor.php(55): Symfony\Component\VarDumper\Dumper\AbstractDumper->dump('listing', true)
#1 /var/www/html/custom/plugins/FroshProfiler/vendor/symfony/var-dumper/Command/ServerDumpCommand.php(96): Symfony\Component\VarDumper\Command\Descriptor\CliDescriptor->describe(Object(Symfony\Component\Console\Style\SymfonyStyle), Object(Symfony\Component\VarDumper\Cloner\Data), Array, 475)
#2 /var/www/html/custom/plugins/FroshProfiler/vendor/symfony/var-dumper/Server/DumpServer.php(76): Symfony\Compon in /var/www/html/custom/plugins/FroshProfiler/vendor/symfony/var-dumper/Dumper/AbstractDumper.php on line 124
make: *** [dump] Error 255
I've started the profiler with the following command: php bin/console server:dump
Perhaps you've got an idea where this issue comes from?
Hi :)
today I tried Shopware 5.6 and updated the Profiler, too.
With using
dump('test');
in my code I'm getting the following error:I've started the profiler with the following command:
php bin/console server:dump
Perhaps you've got an idea where this issue comes from?
Best, Tim