Skip to content

Magento not displaying PHP errors in developer mode for custom shipping module

I’m writing a custom shipping module and have an error somewhere. When loading the shopping cart it displays “Something went wrong. Please try again.”

I have developer mode on so normally PHP errors would be displayed, but it seems like they are not being displaying since it is in the shipping module code. I’ve tested this by calling a non-existent function in my shipping PHP code and the same error message is displayed.

Nothing is logged in var/log or var/report. I cannot find any indication that the error is being logged anywhere.

Does anyone know how I can see what error is being generated?