maganap
Forum Replies Created
-
Well, I believe it may be some sort of incompatibility between the 2 plugins causing that CartBounty can’t add its events, not that Upload Files is intentionally removing CartBounty scheduled events.
But I can’t really tell. I just hope Upload Files support won’t send me back here claiming it’s an issue of yours xD
Thanks for your timely responses.
Found it!
TL;DR:
WooCommerce Upload Files, v53.7, is causing CartBounty event problems.Long story:
I deactivated ALL plugins except for WooCommerce and CartBounty, and 3 events suddenly appeared in the WP event list (
cartbounty_notification_sendout_hook, cartbounty_sync_hook, cartbounty_remove_empty_carts_hook). Also, the banner disappeared. I didn’t even have to deactivate/reactivate CartBounty.I did, just in case, and the events were still there.
Then I started re-activating all plugins one by one, starting with Avada related, then WC related, then payment, etc. I ended up re-activating cache, then Yoast, then Secupress.The 3 events were still there. So I couldn’t find the culprit.
I forced running the jobs (
wp cron event run --due-now). The 3 cartbounty events executed and they re-appeared as pending events for the next minutes/hours, so all fine.Trying to find the problem I then deactivated/reactivated CartBounty again, and voilà! The banner re-appeared!
So…. I repeated the tests but deactivating/reactivating CartBounty after activating each of the other plugins. Then found that CartBounty error banner shows after reactivating it only after WooCommerce Upload Files was active.
I kept WooCommerce Upload Files deactivated while finished the test with the rest of the plugins. No other seems to be causing problems.
I’ll do tomorrow morning when we have less traffic. I’ll keep you updated. Thanks!
Yes it does persist. I tried that a couple of times before posting here. I also tried it again right now just in case. No change.
Should those hooks
cartbounty_notification_sendout_hook, cartbounty_sync_hookalways be present? Or do they depend on the plugin settings?
I mean, maybe they’re not present because we don’t have that specific setting enabled. So the problem would be the misleading notification banner, and not the cron events themselves.Just guessing… xD
Following your test, I just re-enabled native WP cron on the site, and made sure events are being run on requests to the site. Then tried again disabling/enabling the plugin, but the problem still persists (the banner shows, and I don’t see those events in the event list)
Oops, missed that.
CartBounty Version 7.0.8Forum: Plugins
In reply to: [Super Progressive Web Apps] Lighthouse start_url and service worker problemI’m sorry to say we changed plugins from SuperPWA to PWA for WP (1.7.27), and now the issue is gone.
AMP plugin was complaining about register-sw.js being invalid, and is was being removed.
Hope it helps someone else.
Forum: Plugins
In reply to: [Super Progressive Web Apps] Lighthouse start_url and service worker problemWe just noticed that disabling “AMP for WordPress” plugin seems to fix the issue. But I read they’re supposed to be compatible. I hope this gives you a hint of the problem.
ThanksForum: Plugins
In reply to: [LiteSpeed Cache] CUSTOM JAVASCRIPT IS NOT ALLOWED:As of v3.5.2, this is still not working properly. We’re getting the exact same error as reported by @ademkorogluu