I increased max_execution_time
to 300 and restarted apache, using this guidance:
https://www.simplified.guide/php/increase-max-execution-time
https://stackoverflow.com/a/11557220
Unfortunately, however, it did not take. The process is still timing out after 120:
[Thu Apr 01 09:47:26.444976 2021] [php:error] [pid 8260:tid 1824] [client ::1:7620] PHP Fatal error: Uncaught Error: Unknown named parameter $tasks_meta_id in D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php:292\nStack trace:\n#0 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php(316): WP_Hook->apply_filters('', Array)\n#1 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\plugin.php(551): WP_Hook->do_action(Array)\n#2 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\actions\\ActionScheduler_Action.php(22): do_action_ref_array('wpforms_admin_n...', Array)\n#3 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\abstracts\\ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()\n#4 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action(211, 'Async Request')\n#5 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch(25, 'Async Request')\n#6 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php(292): ActionScheduler_QueueRunner->run('Async Request')\n#7 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php(316): WP_Hook->apply_filters('', Array)\n#8 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\plugin.php(484): WP_Hook->do_action(Array)\n#9 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\ActionScheduler_AsyncRequest_QueueRunner.php(52): do_action('action_schedule...', 'Async Request')\n#10 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\lib\\WP_Async_Request.php(156): ActionScheduler_AsyncRequest_QueueRunner->handle()\n#11 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php(292): WP_Async_Request->maybe_handle('')\n#12 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php(316): WP_Hook->apply_filters('', Array)\n#13 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\plugin.php(484): WP_Hook->do_action(Array)\n#14 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-admin\\admin-ajax.php(187): do_action('wp_ajax_as_asyn...')\n#15 {main}\n thrown in D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php on line 292, referer: https://localhost:8080/wordpress/wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=35715369de
[Thu Apr 01 09:48:31.412475 2021] [php:error] [pid 8260:tid 1828] [client ::1:7692] PHP Fatal error: Uncaught Error: Unknown named parameter $tasks_meta_id in D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php:292\nStack trace:\n#0 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php(316): WP_Hook->apply_filters('', Array)\n#1 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\plugin.php(551): WP_Hook->do_action(Array)\n#2 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\actions\\ActionScheduler_Action.php(22): do_action_ref_array('wpforms_admin_n...', Array)\n#3 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\abstracts\\ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()\n#4 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action(213, 'WP Cron')\n#5 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch(25, 'WP Cron')\n#6 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php(292): ActionScheduler_QueueRunner->run('WP Cron')\n#7 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php(316): WP_Hook->apply_filters('', Array)\n#8 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\plugin.php(551): WP_Hook->do_action(Array)\n#9 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-cron.php(138): do_action_ref_array('action_schedule...', Array)\n#10 {main}\n thrown in D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php on line 292, referer: https://localhost:8080/wordpress/wp-cron.php?doing_wp_cron=1617299310.6549110412597656250000
[Thu Apr 01 09:49:43.439320 2021] [php:error] [pid 8260:tid 1832] [client ::1:7648] PHP Fatal error: Maximum execution time of 120 seconds exceeded in D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\Requests\\Transport\\cURL.php on line 463, referer: https://localhost:8080/wordpress/wp-admin/plugins.php
[Thu Apr 01 09:50:06.955711 2021] [php:error] [pid 8260:tid 1832] [client ::1:7766] PHP Fatal error: Uncaught Error: Unknown named parameter $tasks_meta_id in D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php:292\nStack trace:\n#0 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php(316): WP_Hook->apply_filters('', Array)\n#1 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\plugin.php(551): WP_Hook->do_action(Array)\n#2 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\actions\\ActionScheduler_Action.php(22): do_action_ref_array('wpforms_admin_n...', Array)\n#3 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\abstracts\\ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()\n#4 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action(214, 'WP Cron')\n#5 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-content\\plugins\\wpforms-lite\\vendor\\woocommerce\\action-scheduler\\classes\\ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch(25, 'WP Cron')\n#6 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php(292): ActionScheduler_QueueRunner->run('WP Cron')\n#7 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php(316): WP_Hook->apply_filters('', Array)\n#8 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\plugin.php(551): WP_Hook->do_action(Array)\n#9 D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-cron.php(138): do_action_ref_array('action_schedule...', Array)\n#10 {main}\n thrown in D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\class-wp-hook.php on line 292, referer: https://localhost:8080/wordpress/wp-cron.php?doing_wp_cron=1617299406.4644110202789306640625
[Thu Apr 01 09:55:35.894803 2021] [php:error] [pid 8260:tid 1840] [client ::1:7844] PHP Fatal error: Maximum execution time of 120 seconds exceeded in D:\\<PATH>\\apps\\wordpress\\htdocs\\wp-includes\\Requests\\Transport\\cURL.php on line 463, referer: https://localhost:8080/wordpress/wp-admin/plugins.php
Nevertheless, I suspect two minutes ought to be plenty of time to update a plugin—I’m running an SSD under 16GB of system RAM. The timeout error seems to be a follow-on from the Unknown named parameter
error. The former appears to be the real problem. I just don’t know how to decipher it.
Interestingly, one of the previously failing (activated) plugins did update successfully just now. I have no idea why it suddenly worked this time.
Plugin updates work fine on my hosted WP site. It’s only on localhost:8080 that they’re failing.
-
This reply was modified 3 years, 11 months ago by
intexx.