Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 90112 bytes) in /var/www/dev_james/wp-includes/class-wpdb.php on line 2351

WordPress database error: [Commands out of sync; you can't run this command now]
SELECT option_value FROM wp_options WHERE option_name = 'woocommerce_logs_logging_enabled' LIMIT 1

WordPress database error: [Commands out of sync; you can't run this command now]
SELECT option_value FROM wp_options WHERE option_name = 'woocommerce_logs_level_threshold' LIMIT 1

WordPress database error: [Commands out of sync; you can't run this command now]
SELECT option_value FROM wp_options WHERE option_name = 'woocommerce_logs_default_handler' LIMIT 1


Warning: touch(): Unable to create file /var/www/dev_james/wp-content/uploads/wc-logs/fatal-errors-2025-10-22-bbd5baed87440f3b236704871b8cdfbc.log because Permission denied in /var/www/dev_james/wp-admin/includes/class-wp-filesystem-direct.php on line 529

WordPress database error: [Commands out of sync; you can't run this command now]
SELECT option_name, option_value FROM wp_options WHERE option_name IN ('_site_transient_woocommerce_new_version','_site_transient_timeout_woocommerce_new_version')

WordPress database error: [Commands out of sync; you can't run this command now]
SELECT option_value FROM wp_options WHERE option_name = '_site_transient_update_plugins' LIMIT 1

WordPress database error: [Commands out of sync; you can't run this command now]
INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES ('_site_transient_timeout_woocommerce_new_version', '1761728306', 'off') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)

WordPress database error: [Commands out of sync; you can't run this command now]
INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES ('_site_transient_woocommerce_new_version', '', 'off') ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)