Skip to content

Conversation

@soup-bowl
Copy link
Owner

From my quick approximation, it looks like from #115 some plugins injecting code to check dispatched emails can also send an email, triggering an infinite loop of logging that stops when the PHP function call limit is hit.

This hotfix checks if an email has already been dispatched before creating a new log entry, which should stop runaway logging before it happens. Needs further testing.

@soup-bowl soup-bowl self-assigned this May 16, 2022
@soup-bowl soup-bowl linked an issue May 16, 2022 that may be closed by this pull request
@soup-bowl soup-bowl added the bug Something isn't working label May 16, 2022
@soup-bowl soup-bowl merged commit 252a84d into develop Jul 23, 2022
@soup-bowl soup-bowl deleted the sucuri-log-patch branch July 23, 2022 22:14
@soup-bowl soup-bowl mentioned this pull request Sep 27, 2022
soup-bowl added a commit that referenced this pull request Oct 18, 2022
@soup-bowl
Copy link
Owner Author

This will be regressed (or replaced) as this depends on post_exists, which is not a function available outside of the admin scope.

CC #128, #130

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fatal error when Sucuri Scanner is installed

2 participants