[VM 4.0.6] - print_r product object and Error: Allowed memory size

Started by Wedal, September 01, 2022, 10:03:40 AM

Previous topic - Next topic

Wedal

Hi

J 4.1.5 & VM 4.0.6

Unable to display product object using print_r function in category or productdetails layout. There is always an error about the "Error: Allowed memory size" (I have 512MB memory_limit). In VM3 this worked well. There is a feeling that some information is displayed in the object in an endless loop. This makes very difficult work with product layouts. Do you have any ideas how to fix it or otherwise view the data of the product object?

Milbo

Use vmdebug, which does the job for you. Maybe enable it and you can find a loop.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/