When using the logging tool, Magentos Mage :: log () sometimes causes a white screen. Error messages are not displayed either on the screen or on any log file (var / log / system.log, var / log / exception.log)
This only happens when I try to register a very large object. for example, when I try to do this
Mage::log(Mage::helper('catalog/category')->getStoreCategories());
inside the block controller, it brings up a white screen.
the same thing happens when I try to register the current product in app/design/frontend/enterprise/default/template/catalog/product/view/media.phtml using
Mage::log($_product);
Usually, Mage :: log () works fine and writes everything to the system.log file.
I was wondering if this happened to someone else or does anyone know why this is happening?
source share