Comments (3)
That's expected as in index.php early line, the service is not loaded yet. This works on module level, you should not touch index.php with custom logic.
from errorheromodule.
You are probably right, but how can you explain that the deprecated error is logged in the DB by ErrorHeroModule and that the user friendly message provided by ErrorHeroModule is displayed instead of the usual basic PHP error ?
here is the message I have in my DB reported by ErrorHeroModule :
Automatic conversion of false to array is deprecated
/ec/prod/app/webroot/home/food/safety/food_waste/eu-food-loss-waste-prevention-hub/index.php 10 E_DEPRECATED
from errorheromodule.
That's out of this module scope, again, this is on module level, index.php consume the module on this execution:
this module doesn't covert error to message, it is for logging and trap purpose.
from errorheromodule.
Related Issues (19)
- mail attachment on upload error HOT 1
- zend-expressive support HOT 1
- trace and request_data always empty HOT 12
- Mqtt enhancement HOT 1
- Exceptions Listeners Priority HOT 3
- Example for MQTT implementation HOT 3
- Ignoring errors suppressed by @ HOT 8
- Wrong format of timestamp HOT 2
- Keeping ErrorHandler::class in ZE3 pipeline.php hides descriptive error messages HOT 6
- If the Ajax message is used, the HTTP response code shouldn't be 200 HOT 2
- Refactor to allow more fatal error logging HOT 1
- error-hero-module downgrades from 2.16.0 to 2.3.0 when I update beberlei/assert to v3.1.0 HOT 1
- Zend Test - "Test code or tested code did not (only) close its own output buffers" is thrown HOT 6
- display_errors setting being set to 1 does not show errors in browser. HOT 2
- PHP 8 throws Fatal Error in Logging.php when loading a Mezzio page via AJAX HOT 3
- Cannot change layout HOT 3
- enable/disable error-preview page
- Can't update my composer since weeks HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from errorheromodule.