crstauf
Forum Replies Created
-
Forum: Plugins
In reply to: [Simply Static] Changes mailto URLI suspect this may affect other similar links, like
tel
.Forum: Reviews
In reply to: [Action Scheduler] Needs code placement instructionsCode for performing on action run can be added to a plugin, an mu-plugin, or a theme. If you’re adding to your theme, that would be in functions.php.
@duongcuong96 Disabling WP Cron on dev environments is too aggressive, preferable to deactivate only the backups.
Forum: Plugins
In reply to: [Action Scheduler] Actions not processing ?Action Scheduler uses WP Cron to run. If you want Action Scheduler to run without traffic to the site, you need to setup
wp-cron.php
with an external cron job.See the FAQ entries on actionscheduler.org:
https://actionscheduler.org/faq/#i-dont-want-to-use-wp-cron-does-action-scheduler-depend-on-wp-cronForum: Reviews
In reply to: [Action Scheduler] A great little plugin deserving of more attentionI expect it’s because the majority of uses are through a plugin or theme: because registering scheduled actions is done at the code level, it’s unlikely that there would be many pure plugin installations.
Forum: Plugins
In reply to: [Action Scheduler] Critical error after plugin updateThis could be relevant:
the problem happens when the test plugin includes 3.1.6 (but doesn’t occur with 3.2.0). We’ll check into this; it could be catching out other plugin combinations (including things like WooCommerce plus WooCommerce Subscriptions, depending on the respective versions).
https://github.com/woocommerce/action-scheduler/pull/713#issuecomment-862557180
Forum: Plugins
In reply to: [Action Scheduler] Critical error after plugin updateThis sounds like Action Scheduler library is being loaded incorrectly, so the magic of loading only once from multiple sources is being skipped. An investigation on how wp-mail-smtp loads Action Scheduler would confirm or discard that theory (unless there’s another plugin loading AS).
Forum: Plugins
In reply to: [Action Scheduler] How do I notify to Action that my process is complete?@ddoddsr Oh yes,
wp_die()
will prevent AS from marking the action as completed. Remove that and see if that works.Well, today it works. Strange.
Forum: Plugins
In reply to: [Popups - WordPress Popup] Popups rendering in backend page builderTurns out that the quick fix provided above doesn’t work. At some point it seemed to, but the black screen is back even with the quick fix in place.Looks like page caching may have skipped the filter.
Forum: Plugins
In reply to: [Action Scheduler] How do I notify to Action that my process is complete?I ran into this the other day, where I wanted to indicate an action had failed (couldn’t retrieve third-party data for example), and to mark it as failed, while enqueuing an async action to try again.
Forum: Plugins
In reply to: [Action Scheduler] Pending items never runYou’re welcome! 🙇♂️
Forum: Plugins
In reply to: [Action Scheduler] Pending items never runAlso keep in mind that standard WP-Cron is triggered by traffic to the site, so pending actions will only run upon page load.
Forum: Plugins
In reply to: [Action Scheduler] Pending items never runOkay, that’s likely the problem: standard WP-Cron typically doesn’t work if there’s HTTP authentication in place. There are a few plugins that create a GUI for you to add the username and password, or you can hard-code the header on the cron request.
This plugin provides a GUI, and browsing the code will show you how to hard-code the header for the cron request:
Forum: Plugins
In reply to: [Action Scheduler] Pending items never runA couple things to check:
- Is the staging site protected with HTTP authentication?
- Is Alternate WP-Cron setup, or standard WP-Cron?
- Are there any completed items?