After update to PHP 8 500 error + 504 Gateway Time-out
-
After update to PHP 8 I get a 500 error + 504 Gateway Time-out
I can not make a new menu or add a categorie.
When I add one and click on apply the site is loading and loading and after it I get a 504 gateway time-out
Also, when I click on let’s say a product on my site and click some further the site get a white screen with a 500 error.
I deactivate my plugins and tried again without luck.
The plugins that I have are updated already.
It’s for sure that the problem is related to the PHP 8 update.
Before I had never any problems of this.
If someone want to see a log or something that will be good ??
-
Hi @0108daniel ,
Thanks for reaching out!
I understand that after updating to PHP 8.0, your site is producing these errors, is this correct?
Kindly note that both the
500
error as well as the504
error, are server related, where the server is not responding as it should.As a first step, I’d suggest checking your server-side error log for any information that could identify what is causing this issue. Please share any findings with us here.
Here is a helpful guide on how to find PHP error logs on the server.
Also, does the issue resolve if rolling back to an earlier PHP version (such as PHP 7.4)?
If testing the rollback, please ensure that you have a good?backup?of your?full site and database?in place before doing this, so that, should something go wrong, you are able to easily restore your site to a functioning state.
Additionally, I’d like to have a better understanding of your sites current environment, please could you share the following:
- System Status Report: navigate to?WooCommerce?→?Status. Select?
Get system report
?and then?Copy for support
. - Fatal Error log: Share a copy of any fatal error log found under?WooCommerce?→?Status?→?Logs.
Once you have these, please share them in your response here.
I would also like to include this helpful guide on troubleshooting performance issues, feel free to check this out.
Cheers!
My webhost can not find any server related issue. I discover this problem specially when I add a category in the menu and save it. When I click on save the page is loading and then I get the 504 timeout. Sometimes when I click on some buttons for examble my orders I get the 500 error. Here is the system report: WordPress Environment WordPress address (URL): https://www.model-kits.nl Site address (URL): https://www.model-kits.nl WC Version: 7.5.0 REST API Version: ?</img> 7.5.0 WC Blocks Version: ?</img> 9.6.5 Action Scheduler Version: ?</img> 3.5.4 Log Directory Writable: ?</img> WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: – Language: nl_NL External object cache: – Server Environment Server Info: Apache/2 PHP Version: 8.1.16 PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.61.1 OpenSSL/1.1.1k SUHOSIN Installed: – MySQL Version: 10.4.28-MariaDB-cll-lve Max Upload Size: 64 MB Default Timezone is UTC: ?</img> fsockopen/cURL: ?</img> SoapClient: ?</img> DOMDocument: ?</img> GZip: ?</img> Multibyte String: ?</img> Remote Post: ?</img> Remote Get: ?</img> Database WC Database Version: 7.5.0 WC Database Prefix: wp_ Totale database grootte: 340.52MB Database gegevens grootte: 112.52MB Database index grootte: 228.00MB wp_woocommerce_sessions: Data: 25.06MB + Index: 0.52MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 0.31MB + Index: 0.28MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 3.02MB + Index: 2.02MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 2.02MB + Index: 1.66MB + Engine InnoDB wp_berocket_termmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 0.27MB + Index: 0.36MB + Engine InnoDB wp_defender_audit_log: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_defender_email_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_defender_lockout: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_defender_lockout_log: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_defender_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_defender_scan_item: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gla_attribute_mapping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB wp_gla_merchant_issues: Data: 1.33MB + Index: 0.00MB + Engine InnoDB wp_gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_gpf_feeds: Data: 0.03MB + Index: 0.00MB + Engine InnoDB wp_is_inverted_index: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_automations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_automation_runs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_automation_run_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_automation_run_subjects: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_automation_triggers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_automation_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_custom_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_dynamic_segment_filters: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_feature_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_mapping_to_external_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletters: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_newsletter_links: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_newsletter_option: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_option_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_segment: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_newsletter_templates: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_scheduled_tasks: Data: 0.08MB + Index: 0.06MB + Engine InnoDB wp_mailpoet_scheduled_task_subscribers: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_segments: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_sending_queues: Data: 0.08MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_bounces: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailpoet_statistics_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_forms: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_statistics_newsletters: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_statistics_opens: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_mailpoet_statistics_unsubscribes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_mailpoet_statistics_woocommerce_purchases: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_mailpoet_stats_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscribers: Data: 0.16MB + Index: 0.22MB + Engine InnoDB wp_mailpoet_subscriber_custom_field: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_subscriber_segment: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_subscriber_tag: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_mailpoet_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_agents: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailpoet_user_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_maxbuttonsv3: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_maxbuttons_collections: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_maxbuttons_collections_trans: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mwp_media: Data: 0.13MB + Index: 0.05MB + Engine InnoDB wp_nextend2_image_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nextend2_section_storage: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_nextend2_smartslider3_generators: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nextend2_smartslider3_sliders: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_nextend2_smartslider3_sliders_xref: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nextend2_smartslider3_slides: Data: 0.05MB + Index: 0.19MB + Engine InnoDB wp_options: Data: 11.45MB + Index: 0.34MB + Engine InnoDB wp_postmeta: Data: 34.56MB + Index: 16.83MB + Engine InnoDB wp_posts: Data: 8.52MB + Index: 1.31MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.25MB + Index: 0.36MB + Engine InnoDB wp_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 0.34MB + Index: 0.19MB + Engine InnoDB wp_term_taxonomy: Data: 0.13MB + Index: 0.06MB + Engine InnoDB wp_usermeta: Data: 0.36MB + Index: 0.27MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 0.11MB + Index: 0.08MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.25MB + Index: 0.45MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_webwinkelkeur_invite_error: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpf_meta_data: Data: 1.38MB + Index: 1.63MB + Engine InnoDB wp_wpf_meta_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpf_meta_values: Data: 0.02MB + Index: 197.16MB + Engine InnoDB wp_wpf_meta_values_bk: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpf_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpf_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpf_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpmailsmtp_debug_events: Data: 0.14MB + Index: 0.00MB + Engine InnoDB wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpml_mails: Data: 8.52MB + Index: 0.00MB + Engine InnoDB wp_yoast_indexable: Data: 6.23MB + Index: 0.70MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.16MB + Index: 0.20MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.11MB + Index: 0.13MB + Engine InnoDB wp_yoast_prominent_words: Data: 0.11MB + Index: 0.25MB + Engine InnoDB wp_yoast_seo_links: Data: 0.08MB + Index: 0.03MB + Engine InnoDB Post Type Counts astra_adv_header: 1 attachment: 4034 br_product_filter: 1 customize_changeset: 24 custom_css: 2 elementor-hf: 1 elementor_library: 1 is_search_form: 4 mailpoet_page: 1 nav_menu_item: 249 oembed_cache: 2 page: 15 post: 8 product: 1988 revision: 1038 shop_coupon: 2 shop_order: 749 shop_order_refund: 34 wpcf7_contact_form: 1 wpforms: 1 wpmm_theme: 3 wp_global_styles: 2 wp_navigation: 6 yith_wcan_preset: 1 Security Secure connection (HTTPS): ?</img> Hide errors from visitors: ?</img> Active Plugins (9) Add to Cart Button Custom Text: door Enrique J. Ros – 3.1.0 Customize My Account for WooCommerce: door SysBasics – 1.4.7 Google Listings and Ads: door WooCommerce – 2.4.1 Mollie Payments for WooCommerce: door Mollie – 7.3.5 Smart Slider 3: door Nextend – 3.5.1.14 CTX Feed: door WebAppick – 5.3.1 Checkout Field Editor for WooCommerce: door ThemeHigh – 1.8.1 WooCommerce: door Automattic – 7.5.0 WPMU DEV Dashboard: door WPMU DEV – 4.11.18 Inactive Plugins (22) Astra Bulk Edit: door Brainstorm Force – 1.2.6 Astra Pro: door Brainstorm Force – 4.0.1 Astra Widgets: door Brainstorm Force – 1.2.12 Contact Form 7: door Takayuki Miyoshi – 5.7.4 Custom Order Numbers for WooCommerce: door Tyche Softwares – 1.4.0 Ivory Search: door Ivory Search – 5.5 MailPoet: door MailPoet – 4.8.1 Pre-Orders for WooCommerce: door Bright Plugins – 1.2.11 Print Invoice & Delivery Notes for WooCommerce: door Tyche Softwares – 4.7.2 Product Filter by WooBeWoo: door WooBeWoo – 2.3.1 Related Products for WooCommerce: door WebToffee – 1.4.7 Site Kit by Google: door Google – 1.96.0 Smush Pro: door WPMU DEV – 3.12.6 Snapshot Pro: door WPMU DEV – 4.15.0 Spectra: door Brainstorm Force – 2.4.0 WooCommerce Google Analytics Integration: door WooCommerce – 1.6.2 WooCommerce Weight Based Shipping: door weightbasedshipping.com – 5.5.0 WP Crontrol: door John Blackbourn & crontributors – 1.15.2 WPForms Lite: door WPForms – 1.8.0.2 WP Mail Logging: door WP Mail Logging Team – 1.11.0 WP Mail SMTP: door WPForms – 3.7.0 Yoast SEO: door Team Yoast – 20.3 Must Use Plugins (6) Global ManagedWPHosting file: door Ramon Fincken && ManagedWPHosting.nl – 8.0.4 ManagedWPHosting 2 factor (2FA) WordPress: door Ramon Fincken && ManagedWPHosting.nl – 4.0.1 ManagedWPHosting caching helpers; WP Rocket, W3TC, WP Fastest: door Ramon Fincken && ManagedWPHosting.nl – 7.3.0 ManagedWPHosting CDN media rewrite file: door Ramon Fincken && ManagedWPHosting.nl – 8.1.2 ManagedWPHosting helper to sent plugin status updates: door Ramon Fincken && ManagedWPHosting.nl – 2.2.0 Beta WP Password bcrypt: door Roots – 1.0 Settings API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: left 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: – Order datastore: WC_Order_Data_Store_CPT WC Pages Winkelbasis: #25 - /shop/ Winkelwagen: #26 - /cart/ Afrekenen: #27 - /afrekenen/ Mijn account: #28 - /my-account/ Algemene voorwaarden: #249 - /algemene-voorwaarden/ Theme Name: Astra Version: 4.0.2 Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme Child Theme: ?</img> – Als je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf gebouwd hebt raden we het gebruik van een sub thema aan. Zie: Hoe maak je eensub thema WooCommerce Support: ?</img> Templates Overrides: – Admin Enabled Features: activity-panels analytics coupons customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks 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: minified-js new-product-management-experience product-variation-management settings Daily Cron: ?</img> Next scheduled: 2023-03-18 22:06:38 +01:00 Options: ?</img> Notes: 40 Onboarding: completed Action Scheduler Geannuleerd: 1 Oldest: 2023-03-04 21:57:43 +0000 Newest: 2023-03-04 21:57:43 +0000 Afgerond: 4.789 Oldest: 2023-02-15 18:13:04 +0000 Newest: 2023-03-18 17:24:43 +0000 Mislukt: 2.157 Oldest: 2022-05-19 13:03:03 +0000 Newest: 2023-03-18 16:54:22 +0000 In afwachting: 3 Oldest: 2023-03-18 20:33:06 +0000 Newest: 2023-03-19 03:00:00 +0000 Status report information Generated at: 2023-03-18 18:26:37 +01:00 `
Here is 1 of the fatal error log:
2023-03-18T16:43:41+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 524288 bytes) in /home/ba22042039/domains/model-kits.nl/public_html/wp-content/plugins/astra-addon/addons/spacing/classes/dynamic.css.php op de lijn 1315
2023-03-18T16:46:35+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /home/ba22042039/domains/model-kits.nl/public_html/wp-admin/includes/template.php op de lijn 2420
Hi @0108daniel
Thanks for sharing the requested information above.
As for the error logs, this is one of the most common WordPress errors, and you can easily fix it by increasing the PHP memory limit in WordPress. You can follow the solutions on the article below to fix WordPress memory exhausted error by increasing PHP memory:
https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/
Hope it helps!
Thank you for your message.
My webhost changed it to 800, but I get another error now.
Here is a screenshot.
https://i.ibb.co/Q61DBbN/Error-2.jpgHi @0108daniel
503 error means that the web server trying to be reached is unavailable – this could be because it is overloaded, down for maintenance, or not fully functional for another reason.
Error log:?share a copy of the fatal error log found under WooCommerce > System Status > Logs (if available)Also share this error with your host team and request them to check the server error log and share it with us.
Let me know how that goes!Thank you for your message.
I have many fatal logs,
For example this one is from yesterday:2023-03-20T09:33:53+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /home/ba22042039/domains/model-kits.nl/public_html/wp-content/plugins/astra-addon/classes/astra-common-functions.php on line 318
2023-03-20T09:33:53+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /home/ba22042039/domains/model-kits.nl/public_html/wp-content/plugins/google-site-kit/includes/Core/Authentication/Clients/OAuth_Client.php on line 1
2023-03-20T10:00:06+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /home/ba22042039/domains/model-kits.nl/public_html/wp-content/plugins/astra-addon/classes/astra-common-functions.php on line 283
2023-03-20T10:01:38+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /home/ba22042039/domains/model-kits.nl/public_html/wp-content/plugins/astra-addon/classes/astra-common-functions.php on line 283
2023-03-20T10:31:57+00:00 CRITICAL Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /home/ba22042039/domains/model-kits.nl/public_html/wp-content/plugins/astra-addon/classes/astra-common-functions.php on line 318
Hi @0108daniel
Thanks for sharing the fatal error logs above.
This is one of the most common WordPress errors, and you can easily fix it by increasing the PHP memory limit in WordPress. You can follow the solutions in the article below to fix the WordPress memory exhaustion error:
https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/
Hope this helps!
You say that 2 days already.
Please read my message.
Hi @0108daniel ,
Thanks for providing the error logs.
As a next step, can you please ask your host to update the below values as follows:
PHP Post Max Size: 128 MB PHP Time Limit: 300 Upload Size: 128 MB
Additionally, I can see in the System Status Report that the database is pretty big:
Totale database grootte: 340.52MB
Can you try optimizing the database and see if this makes any difference? You can use a plugin for this, such as?WP Optimize.
Please ensure that you have a good?backup?of your?full site and database?in place before doing the above suggestions, so that, should something go wrong, you are able to easily restore your site to a functioning state.
Let us know how this goes!
- System Status Report: navigate to?WooCommerce?→?Status. Select?
- The topic ‘After update to PHP 8 500 error + 504 Gateway Time-out’ is closed to new replies.