KratosGemini
Forum Replies Created
-
I exported the report for one of our websites and manually emailed it so I could redact sensitive environment variables and cookies in it before sending.
We are running a fairly recent version of PHP, but we do have aggressive opcache settings.
Clearing the opcache fixed it. Maybe something went wonky with the update, but it’s odd it happened to every site that updated since WordPress is supposed to clear the opcache for updated files automatically.
Thanks for resolving it for us, though!
I can confirm that
modal-prompt.phpdoes not exist on my web server.I submitted the feature request. Thanks!
Environment-based automation is exactly the reason. To avoid unintended side-effects when using staging or local development environments, we have code that detects a non-production environment and disables or reroutes certain features. One of the features that is very important to disable is live email sending. Otherwise, clients could get emails with URLs from our development or staging environments (and to make matters more confusing, these would be duplicate emails).
There are various reasons why unwanted sending of live emails could be triggered on a non-production site without any developer intervention. For example, if there is a process that sends a follow-up email at a certain time (such as paying the balance of a product that had a deposit paid). This has happened before, which is why we included code to disable functions like this.
Our current email plugin has a constant that when defined, does email simulation. So our code sets this constant automatically on non-production environments. Another alternate email plugin I’ve tested out, FluentSMTP, also provides such functionality via an optionally defined constant. However, I’m endeavoring to go with SureMail in the hopes that one day this unrelated feature will be added: https://ideas.suremails.com/boards/feature-requests/posts/permissions-to-view-email-log-for-non-admins. (I’ve asked FluentSMTP about adding that feature, but as of now they have no plans to.) Aside from this email simulation issue, FluentSMTP is equivalent. So my desire to use SureMail is a hope that maybe some day the non-admin email log viewing feature will be added (which would make our lives better). However, not being able to automate the enabling of email simulation is a deal-breaker for switching for us.
Does that help?
Thanks for considering.
P.S. In case it’s not clear, our staging and development environments are copies of our production environments that are refreshed on occasion. This ensures that things like new pages or products make their way over to our staging and development environments. But this also means that those environments contain already in-process real customer interactions. Hence, the issue if delayed emails are sent. Our process makes testing things on other environments very convenient with minimal manual changes, but it has the side-effect of being problematic if certain processes like emails, webhooks, etc. run on those environments without alternations.
- This reply was modified 3 months, 2 weeks ago by KratosGemini. Reason: Added more detail
Forum: Plugins
In reply to: [WP Super Cache] Not working properly when processed with wp-cli cronEdit: Accidental duplicate reply
- This reply was modified 1 year, 1 month ago by KratosGemini.
Forum: Plugins
In reply to: [WP Super Cache] Not working properly when processed with wp-cli cronI tested the PR by copying
wp-cache.phpto my local install, and I can confirm is solves the cache clear issue I mentioned in this thread. Looking forward to the next release. Until then, we have our mu-plugin workaround.I tried the new version, and it’s still not working. I even tested it on a fresh InstaWP site and got the same behavior. Though looking at the changelog, I think you may have misunderstood what I was talking about. I saw this in the changelog:
Fix: Send Test was not appearing in Log Only mode.
The issue I’m seeing is not that the “Send a test email button” does not appear when in Log Only mode, it’s that there is no indication it is in Log Only mode in the UI anymore. When in Log Only mode, the dashboard used to say “Postman is in non-Production mode and is dumping all emails.” Now it gives a green checkmark and says “Post SMTP is configured!” instead.
Hopefully that clears up the misunderstanding.
I installed the new beta version and cleared the caches. I’m still seeing the same issue.
If by new beta you mean the file you linked yesterday, then yes. I can confirm that the problem persists after updating to that one and clearing all the caches I could think of.
I cleared all the caches after the update (including all transients), and it still does not work.
Sorry for the delay in getting back to this. I installed the beta version you linked, but it didn’t fix the display issue.
Thank you for the detailed response, @wfpeter. I appreciate it.
We choose to block rather than throttle 404s because an excessive amount of them almost certainly means a bot is scanning our site for files that don’t exist (usually looking for vulnerabilities) and therefore is malicious. Any normal crawler is not going to run into 404s consistently enough (if at all) to trigger the block.
So that being said, one reason I started this is because I think there may be a bug in Wordfence. I don’t see the benefit in sending multiple emails repeatedly about the exact same block, especially while that block is in effect. But maybe I’m missing something.
For now, I’ll disable those emails to avoid issues with our email sender.
I do still have this question though: Is Wordfence intended to send a slew of duplicate emails whenever an IP address is blocked via the rate limiting?
Thanks.
Forum: Plugins
In reply to: [Kadence WooCommerce Email Designer] PHP 8.2 Deprecation WarningThanks!
It does not cause any malfunction. I just wanted to report it so it could get fixed before PHP comes out with a version that completely removes it (which would then cause it to malfunction).
Forum: Plugins
In reply to: [YITH WooCommerce Featured Video] Bug in Vimeo URL ParsingI do not see a “By ID” option on the product edit page (only adding by URL). This is what I see: