RolandasZa
Forum Replies Created
-
Forum: Plugins
In reply to: [Task Scheduler] Mysql uses 100% of CPUI did it very simple- write the current date/time into a custom table in the database.
add_filter( 'my_custom_action', 'doMyCustomAction', 10, 2 ); function doMyCustomAction( $isExitCode, $oRoutine ) { global $wpdb; $wpdb->insert($wpdb->prefix.'cron_test', array('data' => date('Y/m/d H:i:s')) ); TaskScheduler_Debug::log( $oRoutine->getMeta() ); return 1; }
Forum: Plugins
In reply to: [Task Scheduler] Mysql uses 100% of CPUhi @miunosoft
sorry for delay.
I removed all tasks and created new one, with action Debug.
it looks like CPU is steady now and I don’t get that never-ending query.
so, what could be the problem? how can I make my task run with no problems? ??
Forum: Plugins
In reply to: [Task Scheduler] Mysql uses 100% of CPUI’ll do that first thing in the morning tomorrow
Forum: Plugins
In reply to: [Task Scheduler] Mysql uses 100% of CPUI see no Threads: https://prntscr.com/ul5th8
You can see action in screenshot too.
Sorry, my PC keeps crashing because of this. I stop Mysql, then start and that never-ending query starts again.
Forum: Plugins
In reply to: [Task Scheduler] Mysql uses 100% of CPUUpdated to latest development version.
Heartbeat looks ok. I wait for Heartbeat to run, refresh page and ‘Last Beat Time’ and ‘Next Check’ get updated.
I was able to remove Routines, then I clicked on ‘Run task’ and CPU is at 90% by mysqld.exe again.
Forum: Plugins
In reply to: [Task Scheduler] Mysql uses 100% of CPUScreenshot of Query Monitor: https://i.imgur.com/Q0TIWQi.png
Forum: Plugins
In reply to: [Task Scheduler] Mysql uses 100% of CPUI wanted to delete Routines and got this:
Catchable fatal error: Object of class TaskScheduler_Event_Action_DeleteLogItems could not be converted to string
in C:\laragon\www\xxx\wp-content\plugins\task-scheduler\include\class\event\action\TaskScheduler_Event_Action_DeleteLogItems.php on line 77Forum: Plugins
In reply to: [Task Scheduler] Mysql uses 100% of CPUI have installed the latest version- 1.5.0
I checked Query Monitor and found this:
https://xxx.local/
?doing_server_heartbeat=1600675525.7753
&id=5f685ec5bd31b
&context=beat
&last_beat_time=1600675505.9413cURL error 28: Operation timed out after 1000 milliseconds with 0 bytes received
apply_filters(‘http_request_args’)
Could this be a problem?
Forum: Plugins
In reply to: [Task Scheduler] Mysql uses 100% of CPUHi, @miunosoft
thanks for your reply.
I updated the plugin to the development version, and set ‘Max Count of Log Entries’ to 0, as you instructed, but I still have the same problem.
Today I found that table ‘psninja_amdd’ was corrupt, so I ran ‘REPAIR TABLE psninja_amdd;’ and this table is OK now.
But I still get these same queries(when I run ‘SHOW FULL PROCESSLIST’), I send you before, running with high CPU.
What else can I try?
@ultimatemembersupport, any news on this one?
My /wp-content/languages/plugins directory is empty. there are no files.
I have following option selected in my WPML options:
Translate themes and plugins using WPML’s String Translation only (don’t load .mo files)
Maybe that’s why mt /wp-content/languages/plugins directory is empty?I added translation via WPML String Translation, but it doesn’t work- the default text is shown, no matter what language I’m in.
Any ideas how to fix this?
Kind regards
Maybe it’s not the best way, but this is what I did in functions.php
add_action( 'init', 'remove_popup_maker_menu_hooks' ); function remove_popup_maker_menu_hooks(){ if ( class_exists('PUM_Modules_Menu') ) { remove_filter('wp_setup_nav_menu_item', array( 'PUM_Modules_Menu', 'merge_item_data' ) ); remove_filter('wp_edit_nav_menu_walker', array( 'PUM_Modules_Menu', 'nav_menu_walker' ) ); remove_action( 'wp_nav_menu_item_custom_fields', array( 'PUM_Modules_Menu', 'fields' ), 10 ); remove_action( 'wp_update_nav_menu_item', array( 'PUM_Modules_Menu', 'save' ), 10 ); } }
Hi,
I have similar problem. I found that there is a conflict between Popup Maker and Q Translate X.
If I try to edit my menus(Appearance -> Menus)- I get “This site can’t be reached The connection was reset.”
I found that if I comment out class PUM_Modules_Menu init(PUM_Modules_Menu::init(); in wp-content/plugins/popup-maker/includes/modules/menus.php)- I can open Menus page.
I’m not sure if it’s safe to comment out that last line. Anyone ever had similar problem and what was the best solution? ??
Regards,
RolandHi
I got same problem with window.pum_popup_settings_editor = ;
I deleted everything from my debug.log and reloaded Edit Popup admin page. Here is what I got.
[10-Apr-2018 16:41:14 Europe/Vilnius] PHP Notice: wpseo_pre_analysis_post_content filter/action is deprecated since version WPSEO 3.0! Use javascript instead. in C:\laragon\www\vikingegaarden\wp-includes\functions.php on line 3828
Please let me know if you need any more info.