Error 500 when placing Woocommerce orders after Cloning website
-
I cloned my website to a different server in order to create a staging/test copy of the website.
Everything seems to be right aside that Post SMTP always started to make the following errors,
This one when completing a Woocommerce order:
“An internal server error occurred. Please contact site administrator. (500)”[26-Apr-2022 11:02:53 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 5165008 bytes) in /home/runcloud/webapps/Evolt-clone/wp-includes/wp-db.php on line 2162 [26-Apr-2022 11:02:53 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT autoload FROM wp_options WHERE option_name = '_transient_wc_layered_nav_counts_pa_diametro-do-nozzle' feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cache_Helper::delete_transients_on_shutdown, delete_transient, delete_option [26-Apr-2022 11:02:53 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT autoload FROM wp_options WHERE option_name = '_transient_wc_layered_nav_counts_pa_material' feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cache_Helper::delete_transients_on_shutdown, delete_transient, delete_option [26-Apr-2022 11:02:53 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT autoload FROM wp_options WHERE option_name = '_transient_wc_layered_nav_counts_pa_modelo-do-nozzle' feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cache_Helper::delete_transients_on_shutdown, delete_transient, delete_option [26-Apr-2022 11:02:53 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT autoload FROM wp_options WHERE option_name = '_transient_wc_layered_nav_counts_pa_marca' feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cache_Helper::delete_transients_on_shutdown, delete_transient, delete_option [26-Apr-2022 11:02:53 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT autoload FROM wp_options WHERE option_name = '_transient_wc_layered_nav_counts_pa_caracteristicas' feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cache_Helper::delete_transients_on_shutdown, delete_transient, delete_option [26-Apr-2022 11:02:53 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT autoload FROM wp_options WHERE option_name = '_transient_wc_layered_nav_counts_pa_fornecedor' feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cache_Helper::delete_transients_on_shutdown, delete_transient, delete_option [26-Apr-2022 11:02:53 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT autoload FROM wp_options WHERE option_name = '_transient_wc_layered_nav_counts_pa_diametro-do-filamento-3d' feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cache_Helper::delete_transients_on_shutdown, delete_transient, delete_option [26-Apr-2022 11:02:53 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT autoload FROM wp_options WHERE option_name = '_transient_wc_layered_nav_counts_pa_cor' feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cache_Helper::delete_transients_on_shutdown, delete_transient, delete_option [26-Apr-2022 11:02:53 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT autoload FROM wp_options WHERE option_name = '_transient_wc_layered_nav_counts_pa_peso' feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cache_Helper::delete_transients_on_shutdown, delete_transient, delete_option [26-Apr-2022 11:02:53 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SHOW FULL COLUMNS FROM <code>wp_woocommerce_sessions</code> feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data [26-Apr-2022 11:02:53 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SHOW FULL COLUMNS FROM <code>wp_woocommerce_sessions</code> feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Session_Handler->save_data, WC_Session_Handler->delete_session [26-Apr-2022 11:03:18 UTC] PHP Warning: file_exists(): open_basedir restriction in effect. File(/home/runcloud/webapps/Evolt-clone/wp-content/db.php) is not within the allowed path(s): (/home/runcloud/webapps/Evolt-clone:/var/lib/php/session:/tmp) in /home/runcloud/webapps/Evolt-clone/wp-includes/load.php on line 548
It also makes the following error now when visiting the Email Log page:
[26-Apr-2022 11:06:31 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 5165008 bytes) in /home/runcloud/webapps/Evolt-clone/wp-includes/wp-db.php on line 2162 [26-Apr-2022 11:06:31 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT option_value FROM wp_options WHERE option_name = 'acp_periodic_license_check' LIMIT 1 feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, ACP\Controller\License->handle_daily_update_subscription_details, AC\Storage\Timestamp->is_expired, AC\Storage\Timestamp->get, AC\Storage\Option->get, get_option [26-Apr-2022 11:06:31 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT autoload FROM wp_options WHERE option_name = 'acp_subscription_details' feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, ACP\Controller\License->handle_daily_update_subscription_details, ACP\Controller\License->update_subscription_details, ACP\LicenseRepository->delete, ACP\LicenseRepository->delete_option, delete_option [26-Apr-2022 11:06:31 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT autoload FROM wp_options WHERE option_name = 'acp_subscription_details_key' feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, ACP\Controller\License->handle_daily_update_subscription_details, ACP\Controller\License->update_subscription_details, ACP\LicenseRepository->delete, ACP\LicenseRepository->delete_option, delete_option [26-Apr-2022 11:06:31 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query INSERT INTO <code>wp_options</code> (<code>option_name</code>, <code>option_value</code>, <code>autoload</code>) VALUES ('acp_periodic_license_check', '1651057591', 'no') ON DUPLICATE KEY UPDATE <code>option_name</code> = VALUES(<code>option_name</code>), <code>option_value</code> = VALUES(<code>option_value</code>), <code>autoload</code> = VALUES(<code>autoload</code>) feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, ACP\Controller\License->handle_daily_update_subscription_details, AC\Storage\Timestamp->save, AC\Storage\Option->save, update_option, add_option [26-Apr-2022 11:06:31 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SHOW FULL COLUMNS FROM <code>wp_options</code> feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->maybe_dispatch_async_request, ActionScheduler_OptionLock->set, update_option [26-Apr-2022 11:06:31 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT COUNT(DISTINCT claim_id) FROM wp_actionscheduler_actions WHERE claim_id != 0 AND status IN ( 'pending', 'in-progress') feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->maybe_dispatch_async_request, ActionScheduler_AsyncRequest_QueueRunner->maybe_dispatch, ActionScheduler_AsyncRequest_QueueRunner->allow, ActionScheduler_Abstract_QueueRunner->has_maximum_concurrent_batches, ActionScheduler_DBStore->get_claim_count [26-Apr-2022 11:06:31 UTC] Erro na base de dados do WordPress Commands out of sync; you can't run this command now na query SELECT a.action_id FROM wp_actionscheduler_actions a WHERE 1=1 AND a.status IN ('pending') AND a.scheduled_date_gmt <= '2022-04-26 11:06:31' LIMIT 0, 5 feita por shutdown_action_hook, do_action('shutdown'), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->maybe_dispatch_async_request, ActionScheduler_AsyncRequest_QueueRunner->maybe_dispatch, ActionScheduler_AsyncRequest_QueueRunner->allow, ActionScheduler_Store->has_pending_actions_due, ActionScheduler_DBStore->query_actions
I am not sure why did this start happening and what can I do in order to start fixing these errors, so some advice would be great!!
I have already ran a WordPress database optimization but nothing changed.
Even though these errors are generated and the order is not placed, emails strangely seem to be going through.
If I Disable Post SMTP plugin, no errors happen and the order is processed, except then I do not send emails.Thank you in advance for the attention and advice!
Here is a Diagnostic Test:
Mailer: phpmailer HostName: stagingxlg2.evolt.pt cURL Version: 7.68.0 OpenSSL Version: OpenSSL/1.1.1f OS: Linux v2202204173222186433 5.4.0-107-generic #121-Ubuntu SMP Thu Mar 24 16:04:27 UTC 2022 x86_64 PHP: Linux 7.4.29 C PHP Dependencies: iconv=Yes, spl_autoload=Yes, openssl=Yes, sockets=Yes, allow_url_fopen=Yes, mcrypt=No, zlib_encode=Yes WordPress: 5.9.3 pt_PT UTF-8 WordPress Theme: Twenty Sixteen WordPress Plugins: Admin Columns Pro - Advanced Custom Fields (ACF), Admin Columns Pro - WooCommerce, Admin Columns Pro, Admin Menu Editor Pro, Advanced Custom Fields PRO, Advanced Database Cleaner PRO, Advanced Dynamic Pricing for WooCommerce (Pro), FiboSearch - AJAX Search for WooCommerce (Pro), Akismet Anti-Spam, All-in-One WP Migration, Better Search Replace, CheckoutWC, Cron Logger, Cookie and Consent Solution for the GDPR & ePrivacy, My Custom Functionality, Oxygen Elements for WooCommerce, Oxygen, Post SMTP, WooCommerce Advanced Shipping, Advanced Order Export For WooCommerce (Pro), WooCommerce, WP-Optimize - Clean, Compress, Cache WordPress wp_mail Owner: /home/runcloud/webapps/Evolt-clone/wp-includes/pluggable.php WordPress wp_mail Filter(s): PostsmtpMailer->get_mail_args WordPress phpmailer_init Action(s): PostsmtpMailer->phpmailer_smtp_init Postman: 2.0.26 Postman Sender Domain (Envelope|Message): evolt.pt | evolt.pt Postman Prevent Message Sender Override (Email|Name): No | No Postman Active Transport: SMTP (smtp:tls:plain://echo.mxrouting.net:587) Postman Active Transport Status (Ready|Connected): Yes | No Postman Deliveries (Success|Fail): 7768 | 13 Postman Email Log (Enabled|Limit|Transcript Size): Yes | 1000 | 128
- The topic ‘Error 500 when placing Woocommerce orders after Cloning website’ is closed to new replies.