PHP Fatal error because of Automattic\Jetpack\Sync\Sender->do_sync
-
I get these fatal errors in the PHP log:
[02-Feb-2023 17:51:48 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 73728 bytes) in /www/wp-includes/class-wpdb.php on line 2187 [02-Feb-2023 17:51:48 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM wp_options WHERE option_name = 'jpsq_sync_checkout' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_sync, Automattic\Jetpack\Sync\Dedicated_Sender::spawn_sync, Automattic\Jetpack\Sync\Queue->is_locked, Automattic\Jetpack\Sync\Queue->get_checkout_id [02-Feb-2023 17:51:48 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT count(*) FROM wp_options WHERE option_name LIKE 'jpsq_sync-%' made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_sync, Automattic\Jetpack\Sync\Dedicated_Sender::spawn_sync, Automattic\Jetpack\Sync\Queue->size [02-Feb-2023 17:51:48 UTC] WordPress database error Commands out of sync; you can't run this command now for query SELECT option_value FROM wp_options WHERE option_name = 'jetpack_sync_full_status' LIMIT 1 made by shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, Automattic\Jetpack\Sync\Sender->do_full_sync, Automattic\Jetpack\Sync\Modules\Full_Sync_Immediately->get_status, Jetpack_Options::get_raw_option
The memory limit for PHP is already 512M. According to this thread, it is because of the following:
It looks like your?
'posts_per_page' => 1000
?query puts 1000 posts’ worth of meta- and term- data into the cache, thereby blowing out your web host machine’s RAM.Is this something you can fix?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘PHP Fatal error because of Automattic\Jetpack\Sync\Sender->do_sync’ is closed to new replies.