Anton Proskurin
Forum Replies Created
-
Forum: Plugins
In reply to: [atec Cache APCu] disable APCu for a specific scriptAs I said cron runs automatically (server-side trigger).
I’ve replaced wp_schedule_single_event with wp_schedule_event and now it works ok.Forum: Plugins
In reply to: [atec Cache APCu] disable APCu for a specific scriptit looks I’ve found the problem: https://stackoverflow.com/questions/60374317/wordpress-cron-wp-schedule-single-event-action-not-always-working
Forum: Plugins
In reply to: [atec Cache APCu] disable APCu for a specific scriptCron automatically runs every 1 min. It set up correctly.
Forum: Plugins
In reply to: [atec Cache APCu] disable APCu for a specific scriptFatal error: Uncaught Error: syntax error, unexpected ‘|’, expecting ‘{‘
in /…/wp-content/plugins/atec-debug/includes/atec-wpd-dashboard.php on line 46Call stack:
atec_wpd() WP_Hook::apply_filters() WP_Hook::do_action() do_action()Forum: Plugins
In reply to: [atec Cache APCu] disable APCu for a specific scriptSome progress:
The problem with the
wp_schedule_single_event(time(), 'run_long_task'). It returns true, but after that, sometimes the scheduled action doesn’t run. And it happens when the APCu plugin is active.- This reply was modified 1 year, 9 months ago by Anton Proskurin.
Forum: Plugins
In reply to: [atec Cache APCu] disable APCu for a specific scriptI also tried to apcu_clear_cache() before and after every chunk of queries but it doesn’t help. 🙁
Forum: Plugins
In reply to: [atec Cache APCu] disable APCu for a specific scriptI’m using native WC and WP methods.
Popular keys: posts, post_meta, post-queries, ld_lesson_tag_relationships, term_meta, ld_topic_tag_relationships, ld_lesson_category_relationships.Forum: Plugins
In reply to: [atec Cache APCu] disable APCu for a specific scriptI’m using ‘wp_suspend_cache_addition’ already. And I also tried to use this function (doesn’t help): https://developer.ww.wp.xz.cn/reference/functions/wp_using_ext_object_cache/
I noticed that my script crashes when it hits the APCu memory limit (32mb). My script goes through all the orders made in woocommerce and this is visible on the APCu tab in the plugin. Is it possible to stop storing all these queries?
Forum: Plugins
In reply to: [atec Cache APCu] disable APCu for a specific scriptThanks for the WP_APCU_KEY_SALT. I’ll try. Btw I think you can make it unique automatically, isn’t it?
That’s my custom plugin. So there is no way to disable caching for the part of a code, right?
How can I use the APCu groups tag? Tell me more please.Forum: Plugins
In reply to: [atec Cache APCu] disable APCu for a specific scriptI have written a script for retrospective data collection (user activities and etc). It takes a long time to execute the script (contains a lot of db queries), so it runs in the background in chunks. It works fine without APCu plugin, but when the plugin is active at some point it just stops executing with no error messages.
One more problem. I have installed the stage and prod environments on the same account of a shared hosting, and there is a conflict when both environments use the APCu plugin, which causes the server to freeze. However this is not a big problem, I just turn off the plugin on one of the environments.
Такая же проблема. Версия плагина последняя. Возможно это возникает при использовании кеширования.
- This reply was modified 2 years, 4 months ago by Anton Proskurin.
Yes, i tried to disable all AIOWPS functions – it doesn’t helps.
If the user wants to change the password, he first need to enter the current password – and then he can forget it 🙂
Yes, it’s correct.
I tried to reset all plugin settings – it doesn’t helps.Forum: Plugins
In reply to: [Market Exporter] Перестает работать выгрузка по расписаниюЗаранее благодарю!
Сейчас выгрузка по расписанию работает без проблем. Так что проблему можно считать решенной. Спасибо. Успехов в вашем деле!