Request timeout error in backend
-
Hi,
I have a problem with Woocommerce where I get a request timeout error when navigating through products or the logs in the backend, for example. The frontend webshop works, but I cannot adjust products, among other things. I have tried deactivating several plugins but to no avail.
Woocommerce log indicates the following:
CRITICAL Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method OptimizeDatabase::odb_uninstallation_handler() cannot be called statically in /home/frent/public_html/wp-includes/class-wp -hook.php:310
Stack trace: 0 /home/frent/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() 1 /home/frent/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 2 /home/frent/public_html/wp-admin/includes/plugin.php(1269): do_action() 3 /home/frent/public_html/wp-admin/includes/plugin.php(960): uninstall_plugin() 4 /home/frent/public_html/wp-admin/includes/ajax-actions.php(4748): delete_plugins() 5 /home/frent/public_html/wp-includes/class-wp-hook.php(310): wp_ajax_delete_plugin() 6 /home/frent/public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() 7 /home/frent/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 8 /home/frent/public_html/wp-admin/admin-ajax.php(188): do_action() 9 {main}thrown in /home/frent/public_html/wp-includes/class-wp-hook.php on line 310
Is this a known problem?
What else can I do?The page I need help with: [log in to see the link]
-
Hello @sibokker,
Thank you for reaching out!The
call_user_func_array
function is utilized in numerous WooCommerce files, making it somewhat challenging to pinpoint the exact issue, especially when the error stack points to your WordPress core files.Could you please provide step-by-step instructions on how to reproduce the issue? It would be greatly appreciated if you could also include some screenshots to illustrate the process.
If you don’t already have a screenshot service installed, here are a few free options:?We’ll also need a copy of your site’s system status as well. You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support” (after you scroll down a bit)”. Once done, please paste it here in your reply or via a text-sharing service like https://gist.github.com/. :?)
Look forward to hearing back from you.
Thanks a lot for the support!
Here the step-by-step instructions:
- Click on Products: https://snipboard.io/nNBilx.jpg
- Choose product: https://snipboard.io/7voNKX.jpg
- Error is shown after a while: https://snipboard.io/ZXTLG1.jpg
System status:
### WordPress Environment ### WordPress address (URL): https://www.frent-equestrian.be Site address (URL): https://www.frent-equestrian.be WC Version: 8.2.1 REST API Version: ? 8.2.1 WC Blocks Version: ? 11.1.2 Action Scheduler Version: ? 3.6.3 Log Directory Writable: ? WP Version: 6.3.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: nl_BE External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 8.2.5 PHP Post Max Size: 512 MB PHP Time Limit: 60 PHP Max Input Vars: 10000 cURL Version: 7.87.0 OpenSSL/1.1.1p SUHOSIN Installed: – MySQL Version: 10.5.22-MariaDB-cll-lve Max Upload Size: 512 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 8.2.1 WC Database Prefix: ncdsm_ Totale databasegrootte: 41.34MB Database datagrootte: 34.50MB Database index grootte: 6.84MB ncdsm_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB ncdsm_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ncdsm_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ncdsm_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_actionscheduler_actions: Data: 0.06MB + Index: 0.11MB + Engine InnoDB ncdsm_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_aiowps_audit_log: Data: 3.02MB + Index: 0.06MB + Engine InnoDB ncdsm_aiowps_debug_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_aiowps_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_aiowps_logged_in_users: Data: 0.02MB + Index: 0.08MB + Engine InnoDB ncdsm_aiowps_login_lockdown: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ncdsm_aiowps_message_store: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_aiowps_permanent_block: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_awb_critical_css: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_burst_goal_statistics: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB ncdsm_fusion_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_fusion_form_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_fusion_form_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_fusion_form_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_gdpr_cc_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_nm_personalized: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_odb_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_options: Data: 7.33MB + Index: 0.14MB + Engine InnoDB ncdsm_postmeta: Data: 3.52MB + Index: 4.03MB + Engine InnoDB ncdsm_posts: Data: 17.52MB + Index: 0.38MB + Engine InnoDB ncdsm_termmeta: Data: 0.08MB + Index: 0.06MB + Engine InnoDB ncdsm_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB ncdsm_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_usermeta: Data: 0.03MB + Index: 0.03MB + Engine InnoDB ncdsm_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ncdsm_wc_admin_notes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB ncdsm_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB ncdsm_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB ncdsm_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ncdsm_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB ncdsm_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ncdsm_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_wc_product_attributes_lookup: Data: 0.06MB + Index: 0.05MB + Engine InnoDB ncdsm_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_wc_product_meta_lookup: Data: 0.08MB + Index: 0.13MB + Engine InnoDB ncdsm_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ncdsm_wpf_meta_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_wpf_meta_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_wpf_meta_values_bk: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_wpml_mails: Data: 0.05MB + Index: 0.00MB + Engine InnoDB ncdsm_yoast_indexable: Data: 0.17MB + Index: 0.09MB + Engine InnoDB ncdsm_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ncdsm_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB ncdsm_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB ncdsm_yoast_seo_links: Data: 0.09MB + Index: 0.03MB + Engine InnoDB ### Post Type Counts ### all-text-rule: 1 attachment: 228 custom_css: 1 fpf_fields: 1 fusion_element: 12 fusion_form: 7 fusion_icons: 4 fusion_tb_layout: 12 fusion_tb_section: 26 fusion_template: 3 nav_menu_item: 61 page: 20 post: 4 product: 121 product_variation: 384 revision: 482 shop_order: 3 upcp_catalog: 3 upcp_product: 31 wcpf_item: 3 wcpf_project: 1 wp_global_styles: 2 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (19) ### All In One WP Security: door All In One WP Security & Firewall Team – 5.2.5 Definitely allow mobile zooming: door Kybernetik Services – 1.6.0 Email Address Encoder: door Till Krüss – 1.0.22 Flexible Checkout Fields: door WP Desk – 3.5.17 Verzendkost: door Octolize – 4.23.1 Avada Builder: door ThemeFusion – 3.11.2 Avada Core: door ThemeFusion – 5.11.2 GA Google Analytics: door Jeff Starr – 20231101 GDPR Cookie Compliance: door Moove Agency – 4.12.8 Loco Translate: door Tim Whitlock – 2.6.6 Login Logo: door Mark Jaquith – 0.10.2 MainWP Child: door MainWP – 4.5.3 Price Text for WooCommerce: door KoalaApps – 1.0.0 Really Simple SSL: door Really Simple Plugins – 7.1.3 UpdraftPlus - Backup/Restore: door UpdraftPlus.Com DavidAnderson – 1.23.11 Place Order Without Payment for WooCommerce: door Nitin Prakash – 2.3 WooCommerce: door Automattic – 8.2.1 Yoast SEO: door Team Yoast – 21.5 WP Crontrol: door John Blackbourn & crontributors – 1.16.0 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: left_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: ? HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – ### WC Pages ### Winkelbasis: #5344 - /aanbod/ Winkelmand: #5345 - /winkelmand/ Afrekenen: #5346 - /afrekenen-2/ Mijn account: #5347 - /mijn-account-2/ Algemene voorwaarden: #5669 - /algemene-voorwaarden/ ### Theme ### Name: Avada Child Version: 1.0.0 Author URL: https://theme-fusion.com Child Theme: ? Parent Theme Name: Avada Parent Theme Version: 7.11.2 Parent Theme Author URL: https://themeforest.net/user/ThemeFusion WooCommerce Support: ? ### Templates ### Overrides: Avada/woocommerce/cart/cart.php Avada/woocommerce/checkout/form-pay.php Avada/woocommerce/checkout/review-order.php Avada/woocommerce/checkout/thankyou.php Avada-Child-Theme/woocommerce/emails/customer-processing-order.php Avada/woocommerce/loop/loop-start.php Avada/woocommerce/single-product/add-to-cart/variable.php Avada/woocommerce/single-product/short-description.php Avada/woocommerce/single-product/tabs/additional-information.php Avada/woocommerce/single-product/tabs/description.php ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: customize-store minified-js new-product-management-experience settings async-product-editor-category-field Daily Cron: ? Next scheduled: 2023-11-08 11:25:17 +01:00 Options: ? Notes: 153 Onboarding: completed ### Action Scheduler ### Afgerond: 41 Oldest: 2023-10-08 02:00:49 +0200 Newest: 2023-11-07 07:40:11 +0100 Mislukt: 16 Oldest: 2023-02-15 16:18:34 +0100 Newest: 2023-11-06 12:06:52 +0100 In afwachting: 1 Oldest: 2023-11-08 07:40:11 +0100 Newest: 2023-11-08 07:40:11 +0100 ### Status report information ### Generated at: 2023-11-07 20:39:22 +01:00
I just found out that the problem doesn’t occur when I change the PHP version to 7.4. When I reset the version to 8.0 or higher, the problem is back.
Is there a bug in Woocommerce in combination with php 8.x?
Hi @sibokker
WooCommerce is compatible with PHP 7.4 to 8.2.1. However, it’s possible that some of your plugins or themes may not be fully compatible with PHP 8.0 or higher. Detail information can be found here: https://woo.com/document/server-requirements/
As a workaround, you can continue using PHP 7.4 if it’s solving the issue.
However, have you tried disabling all other plugins except WoooCommerce and temporarily switching to a default theme like Storefront? After doing that, did you upgrade your PHP to 8.0 or 8.1 to see if the error reoccurs? This way, you can identify which plugin is creating this error.
Let us know how that goes. Looking forward to helping you.
Hi @shameemreza
Thanks for the suggestions. I have changed the php version to 8.2 and deactivated all plugins except Woocommmerce + changed the theme to Twenty Twenty-Three. Unforfunatly the time out issue still occurs when navigating through the Woocommerce backend…
Hey @sibokker ,
Thanks for providing an update.
It might be worth investigating server-side settings or logs that could be causing the timeout. Please share your findings with us here so that we can take a closer look.
Also, sometimes, browser cache or cookies might interfere with the backend functionality. Can you try accessing the backend using a different browser or clearing the cache/cookies in your current browser to see if that resolves the issue?
Additionally, enabling
WP Debug
mode may be helpful in capturing detailed error messages when the timeout occurs. EnablingWP Debug
mode and checking error logs might capture any specific database-related errors or warnings that could hint at resource-intensive queries.The support guide below provides steps on enabling debug logging for the site:
Let us know what you find!
- The topic ‘Request timeout error in backend’ is closed to new replies.