wp-rocket
wp-rocket copied to clipboard
Close #5918: PHP Fatal error debugging
Description
Depending on the Log librairie version, the path is different. As within WP Rocket we were loading it from one path, it could result into a fatal error.
Fixes #5918
Type of change
Please delete options that are not relevant.
- Bug fix (non-breaking change which fixes an issue).
Is the solution different from the one proposed during the grooming?
No
Checklists
Generic development checklist
- [x] My code follows the style guidelines of this project, with adapted comments and without new warnings.
- [ ] I have added unit and integration tests that prove my fix is effective or that my feature works.
- [x] The CI passes locally with my changes (including unit tests, integration tests, linter).
- [ ] Any dependent changes have been merged and published in downstream modules.
- [ ] If applicable, I have made corresponding changes to the documentation. Provide a link to the documentation.
Test summary
- [x] I triggered all changed lines of code at least once without new errors/warnings/notices.
- [ ] I validated all Acceptance Criteria of the related issues. (If applicable, provide proof).
- [ ] I validated all test plan the QA Review asked me to.