Skip to main content
improve formatting
Source Link
Rohan Hapani
  • 17.5k
  • 9
  • 55
  • 96

I found a very good way to debug when magento doesn't want to show the error messages. Go to:

app/code/core/Mage/Core/functions.php

app/code/core/Mage/Core/functions.php

and& add breakpoints in this function:

function mageCoreErrorHandler($errno, $errstr, $errfile, $errline){
    if (strpos($errstr, 'DateTimeZone::__construct')!==false) {
        // there's no way to distinguish between caught system exceptions and warnings
        return false;

for some reason the error will never show to the page, but if in xdebug you add the breakpoints here it will show you the errors.

I found a very good way to debug when magento doesn't want to show the error messages. Go to:

app/code/core/Mage/Core/functions.php

and add breakpoints in this function:

function mageCoreErrorHandler($errno, $errstr, $errfile, $errline){
    if (strpos($errstr, 'DateTimeZone::__construct')!==false) {
        // there's no way to distinguish between caught system exceptions and warnings
        return false;

for some reason the error will never show to the page, but if in xdebug you add the breakpoints here it will show you the errors.

I found a very good way to debug when magento doesn't want to show the error messages. Go to:

app/code/core/Mage/Core/functions.php

& add breakpoints in this function:

function mageCoreErrorHandler($errno, $errstr, $errfile, $errline){
    if (strpos($errstr, 'DateTimeZone::__construct')!==false) {
        // there's no way to distinguish between caught system exceptions and warnings
        return false;

for some reason the error will never show to the page, but if in xdebug you add the breakpoints here it will show you the errors.

added 16 characters in body
Source Link
7ochem
  • 7.6k
  • 14
  • 52
  • 80

I found a very good way to debug when magento doesn't want to show the error messages. Go to:

app/code/core/Mage/Core/functions.php

and add breakpoints in this function:

function mageCoreErrorHandler($errno, $errstr, $errfile, $errline){ if (strpos($errstr, 'DateTimeZone::__construct')!==false) { // there's no way to distinguish between caught system exceptions and warnings return false;

function mageCoreErrorHandler($errno, $errstr, $errfile, $errline){
    if (strpos($errstr, 'DateTimeZone::__construct')!==false) {
        // there's no way to distinguish between caught system exceptions and warnings
        return false;

for some reason the error will never show to the page, but if in xdebug you add the breakpoints here it will show you the errors.

I found a very good way to debug when magento doesn't want to show the error messages. Go to:

app/code/core/Mage/Core/functions.php

and add breakpoints in this function:

function mageCoreErrorHandler($errno, $errstr, $errfile, $errline){ if (strpos($errstr, 'DateTimeZone::__construct')!==false) { // there's no way to distinguish between caught system exceptions and warnings return false;

for some reason the error will never show to the page, but if in xdebug you add the breakpoints here it will show you the errors.

I found a very good way to debug when magento doesn't want to show the error messages. Go to:

app/code/core/Mage/Core/functions.php

and add breakpoints in this function:

function mageCoreErrorHandler($errno, $errstr, $errfile, $errline){
    if (strpos($errstr, 'DateTimeZone::__construct')!==false) {
        // there's no way to distinguish between caught system exceptions and warnings
        return false;

for some reason the error will never show to the page, but if in xdebug you add the breakpoints here it will show you the errors.

Source Link
Kevin Chavez
  • 890
  • 2
  • 13
  • 33

I found a very good way to debug when magento doesn't want to show the error messages. Go to:

app/code/core/Mage/Core/functions.php

and add breakpoints in this function:

function mageCoreErrorHandler($errno, $errstr, $errfile, $errline){ if (strpos($errstr, 'DateTimeZone::__construct')!==false) { // there's no way to distinguish between caught system exceptions and warnings return false;

for some reason the error will never show to the page, but if in xdebug you add the breakpoints here it will show you the errors.