Jump to content

Use Symfony var_dumper in Prestashop front-end


Yggdrasill

Recommended Posts

Hi, I'm working on a Prestashop 1.7.6.7 and I'm just trying to debug some variables in front-end.

I wanted to use the Symfony dump() method which is available in back-end. It works when I gave it a string but didn't when I pass it an array/variables.

Do you have any idea why it doesn't works ? You can see the error I've got on the following images.

Thanks

Screenshot 2020-09-08 at 09.42.08.png

Screenshot 2020-09-08 at 09.44.35.png

Edited by Yggdrasill (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...