Bad Request and invisible text when editing and publishing products
-
I’m getting a “Bad Request” error page when I try to publish a product. It got better when I deleted an image from the product gallery – it only published when I had only 1 product picture, as the designated Product Image.
However, I’m now experiencing an additional error: When I try to update a product page that only has 1 picture, it gives me “ERR_EMPTY_RESPONSE”.
When I’m editing a product, the text starts off in white instead of black color. (I have to highlight it to see it even though I didn’t change the font color to white)
The page I need help with: [log in to see the link]
-
Hello @a7xfanben,
Thank you for reaching out.
It sounds like you’re experiencing a few different issues when trying to work with product images and text within your product editor.
To better assist you and understand your site, could you please share with us the necessary information below for us to investigate the issue further:
- System Status Report:?Navigate to?WooCommerce → Status. Select?Get System Report?and then?Download for Support.
- Fatal Error log:?Share a copy of any fatal error log found under?WooCommerce → Status → Logs.
You could copy and paste your reply here or paste it via?https://gist.github.com/?and send the link here. This will help us investigate further and provide you with a more accurate solution.
In the meantime, you can run a conflict test to help you identify the cause of the issue. More info: https://woocommerce.com/document/how-to-test-for-conflicts/
Let me know once you have done a conflict test! Looking forward to hearing from you soon.
Thanks for the help!
Just did a conflict test. Theme and plugins do not seem to be the issue. Still get a Bad Request when updating a product page with a new picture in the Product gallery with all plugins except WooCommerce disabled.
Fatal error log from 5/27 (I think the issue I described at the start only happened yesterday though)
2024-05-27T14:17:32+00:00Critical syntax error, unexpected ‘}’, expecting end of file Additional context{ “error”: { “type”: 4, “file”: “\/var\/www\/volumes\/xvdh\/vhosts\/pirateswithben.com\/httpdocs\/wp-content\/themes\/vantage.1.15.3\/vantage\/functions.php”, “line”: 767 }, “backtrace”: [ { “file”: “\/var\/www\/volumes\/xvdh\/vhosts\/pirateswithben.com\/httpdocs\/wp-content\/plugins\/woocommerce\/includes\/class-woocommerce.php”, “line”: 348, “function”: “critical”, “class”: “WC_Logger”, “type”: “->” }, { “function”: “log_errors”, “class”: “WooCommerce”, “type”: “->” } ] }
System Status Report:
` WordPress Environment WordPress address (URL): https://pirateswithben.com Site address (URL): https://pirateswithben.com WC Version: 8.9.1 REST API Version: ? 8.9.1 Action Scheduler Version: ? 3.7.4 Log Directory Writable: ? WP Version: 6.5.3 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: – Language: en_US External object cache: – Server Environment Server Info: Apache/2.4.37 (Debian) PHP Version: 7.4.16 PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.62.0 OpenSSL/1.1.1c SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.10-MariaDB-log Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.9.1 WC Database Prefix: wp_ Total Database Size: 134.95MB Database Data Size: 119.10MB Database Index Size: 15.85MB wp_woocommerce_sessions: Data: 0.07MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 0.04MB + Index: 0.03MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wp_admin_columns: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_bp_activity: Data: 7.95MB + Index: 0.95MB + Engine MyISAM wp_bp_activity_meta: Data: 0.31MB + Index: 0.12MB + Engine MyISAM wp_bp_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_bp_groups_groupmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_bp_groups_members: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_bp_invitations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_bp_messages_messages: Data: 0.41MB + Index: 0.06MB + Engine MyISAM wp_bp_messages_meta: Data: 0.03MB + Index: 0.01MB + Engine MyISAM wp_bp_messages_notices: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_bp_messages_recipients: Data: 0.04MB + Index: 0.10MB + Engine MyISAM wp_bp_notifications: Data: 0.22MB + Index: 0.37MB + Engine MyISAM wp_bp_notifications_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_bp_optouts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_bp_user_blogs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_bp_user_blogs_blogmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_bp_xprofile_data: Data: 0.09MB + Index: 0.07MB + Engine MyISAM wp_bp_xprofile_fields: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_bp_xprofile_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_bp_xprofile_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_commentmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_comments: Data: 0.35MB + Index: 0.05MB + Engine MyISAM wp_ewwwio_images: Data: 8.17MB + Index: 4.00MB + Engine MyISAM wp_ewwwio_queue: Data: 1.42MB + Index: 0.87MB + Engine MyISAM wp_fo_elements: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_fo_usable_fonts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_jetpack_sync_queue: Data: 0.04MB + Index: 0.01MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_newsletter: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_newsletter_emails: Data: 0.11MB + Index: 0.00MB + Engine MyISAM wp_newsletter_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_newsletter_sent: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_newsletter_stats: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_newsletter_user_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_newsletter_user_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_options: Data: 5.46MB + Index: 0.20MB + Engine MyISAM wp_postmeta: Data: 21.01MB + Index: 2.42MB + Engine MyISAM wp_posts: Data: 65.47MB + Index: 1.61MB + Engine MyISAM wp_signups: Data: 0.93MB + Index: 0.70MB + Engine MyISAM wp_ta_link_clicks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ta_link_clicks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_terms: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_term_relationships: Data: 0.06MB + Index: 0.13MB + Engine MyISAM wp_term_taxonomy: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_usermeta: Data: 1.42MB + Index: 1.15MB + Engine MyISAM wp_users: Data: 0.21MB + Index: 0.19MB + Engine MyISAM wp_wc_admin_notes: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_orders: Data: 0.00MB + Index: 0.02MB + Engine MyISAM wp_wc_orders_meta: Data: 0.00MB + Index: 0.02MB + Engine MyISAM wp_wc_order_addresses: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_operational_data: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wdi_feeds: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wdi_themes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfu_dbxqueue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfu_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfu_userdata: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpc_accesslocks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpc_login_fails: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_indexable: Data: 1.88MB + Index: 0.87MB + Engine MyISAM wp_yoast_indexable_hierarchy: Data: 0.27MB + Index: 0.71MB + Engine MyISAM wp_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_yoast_primary_term: Data: 0.05MB + Index: 0.05MB + Engine MyISAM wp_yoast_seo_links: Data: 2.90MB + Index: 0.81MB + Engine MyISAM wp_yoast_seo_meta: Data: 0.08MB + Index: 0.08MB + Engine MyISAM Post Type Counts attachment: 6703 bnfw_notification: 1 bp-email: 24 custom_css: 2 customize_changeset: 9 forum: 2 nav_menu_item: 56 oembed_cache: 149 page: 120 podcast: 1 post: 890 product: 4 product_variation: 2 reply: 5247 revision: 3715 shop_coupon: 1 shop_order: 1 shop_order_placehold: 7 topic: 271 wdi_instagram: 1 wp_font_face: 33 wp_font_family: 12 wp_navigation: 1 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (18) Advanced Google reCAPTCHA: by WebFactory Ltd – 1.21 Autoptimize: by Frank Goossens (futtta) – 3.1.11 bbPress: by The bbPress Contributors – 2.6.9 bbPress Moderation: by Ian Stanley – 1.8.3 BP Classic: by The BuddyPress Community – 1.4.0 BuddyPress: by The BuddyPress Community – 12.5.0 Classic Editor: by WordPress Contributors – 1.6.3 Classic Widgets: by WordPress Contributors – 0.3 Custom Sidebars: by WebFactory Ltd – 3.36 EWWW Image Optimizer: by Exactly WWW – 7.6.0 Font Organizer: by Hive – 2.1.1 Newsletter: by Stefano Lissa & The Newsletter Team – 8.3.5 Open External Links in a New Window: by WebFactory Ltd – 1.44 Post Tags and Categories for Pages: by curtismchale – 1.4.1 WooCommerce.com Update Manager: by Automattic – 1.0.2 WooPayments: by Automattic – 7.7.0 WooCommerce: by Automattic – 8.9.1 Yoast SEO: by Team Yoast – 22.8 Inactive Plugins (0) Must Use Plugins (1) Wealthyaffiliate SMTP Plugin: by Wealthyaffiliate – 1.0 Settings API Enabled: – Force SSL: – Currency: USD ($) 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: ? HPOS feature enabled: ? Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: – Logging Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: – Log directory size: 3 MB WC Pages Shop base: #18315 - /store/ Cart: #18316 - /cart/ Checkout: #18317 - /checkout/ My account: #18318 - /my-account/ Terms and conditions: ? Page not set Theme Name: Vantage Version: 1.15.3 Author URL: https://siteorigin.com/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? Templates Overrides: – WooPayments Version: 7.7.0 Connected to WPCOM: Yes WPCOM Blog ID: 233564144 Account ID: acct_1PLGfb2HAeELS5t7 Payment Gateway: Enabled Test Mode: Disabled Enabled APMs: card WooPay: Enabled (cart,checkout) WooPay Incompatible Extensions: No Apple Pay / Google Pay: Enabled (product,cart,checkout) Fraud Protection Level: basic Multi-currency: Enabled Auth and Capture: Enabled Documents: Disabled Logging: Enabled Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store 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 product-virtual-downloadable product-external-affiliate product-grouped product-linked product-pre-publish-modal product-custom-fields 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 settings async-product-editor-category-field launch-your-store Daily Cron: ? Next scheduled: 2024-05-30 10:38:41 -08:00 Options: ? Notes: 64 Onboarding: completed Action Scheduler Canceled: 1 Oldest: 2024-05-31 17:08:35 +0000 Newest: 2024-05-31 17:08:35 +0000 Complete: 133 Oldest: 2024-05-13 10:39:59 +0000 Newest: 2024-06-01 13:14:06 +0000 Failed: 1 Oldest: 2024-05-31 16:58:27 +0000 Newest: 2024-05-31 16:58:27 +0000 Pending: 2 Oldest: 2024-06-01 16:46:38 +0000 Newest: 2024-06-02 01:14:06 +0000 Status report information Generated at: 2024-06-01 05:29:00 -08:00 `
Hi @a7xfanben
I’m now experiencing an additional error: When I try to update a product page that only has 1 picture, it gives me “ERR_EMPTY_RESPONSE”.
This often indicates a problem with your server or hosting provider. Please contact them to check for any issues on their end.
- https://support.google.com/chrome/thread/214265543/how-do-i-fix-err-empty-response?hl=en
- https://ncu.libanswers.com/faq/221768
- https://10web.io/blog/err_empty_response/
- https://kinsta.com/knowledgebase/err_empty_response/
2024-05-27T14:17:32+00:00Critical syntax error, unexpected ‘}’, expecting end of file Additional context{ “error”: { “type”: 4, “file”: “\/var\/www\/volumes\/xvdh\/vhosts\/pirateswithben.com\/httpdocs\/wp-content\/themes\/vantage.1.15.3\/vantage\/functions.php”, “line”: 767 }, “backtrace”: [ { “file”: “\/var\/www\/volumes\/xvdh\/vhosts\/pirateswithben.com\/httpdocs\/wp-content\/plugins\/woocommerce\/includes\/class-woocommerce.php”, “line”: 348, “function”: “critical”, “class”: “WC_Logger”, “type”: “->” }, { “function”: “log_errors”, “class”: “WooCommerce”, “type”: “->” } ] }
As per the error log, there’s a syntax error in your theme’s functions.php file. The error is at the end of the file, where it’s expecting the end of the file but finding an unexpected ‘}’. This could be causing the issues you’re experiencing with product updates and images.
Additionally, for optimal performance, try increasing the PHP Post Max Size from 64 MB to 2 GB and the PHP Time Limit from 30 to 1200.
I hope this helps! If you have any other questions, feel free to ask.
As per the error log, there’s a syntax error in your theme’s functions.php file. The error is at the end of the file, where it’s expecting the end of the file but finding an unexpected ‘}’. This could be causing the issues you’re experiencing with product updates and images.
I don’t know how to fix it. Line 767 of my functions.php file has this:
add_action(‘init’, ‘admin_bar’ );
I’ve tried deleting the } bracket from lines near the end of the document and adding it to the end of line 767 (and after it), but it always throws up a syntax error. There’s no syntax error (on the backend of the site) with the functions.php file intact when the WooCommerce issue occurs.
As far as line 348 of class-woocommerce.php, the only thing I see on that line is
$message,
Thanks for your suggestions! I’ve reached out to my hosting provider for help as well.
Hi ,
I don’t know how to fix it. Line 767 of my functions.php file has this:
As this is a third-party theme, I’d recommend reaching out to the theme support team for further assistance on this. They stand a better chance at helping you fix the issue on line 767.
I’ve reached out to my hosting provider for help as well.
Let us know how this goes and we’ll be happy to assist you further.
Hi @a7xfanben
I’m marking this topic as “resolved” due to recent inactivity. If more assistance is needed, feel free to post back here or open a new topic.
Thanks!
I am still experiencing this issue. It is rather strange in that it is very intermittent – in one instance I get the Bad Request error, but sometimes I can go back and hit Update again right after and it works. My hosting provider has been unable to help because whenever they’ve tried it on their end, the update goes through and works.
As this is a third-party theme, I’d recommend reaching out to the theme support team for further assistance on this. They stand a better chance at helping you fix the issue on line 767.
I updated my theme and now have a child theme successfully running, but they didn’t have an answer for the Bad Request error.
These are the other things I’ve tried that didn’t help: Clearing cookies, cache, and flushing DNS, Changing themes, Changing browsers; Disabling all plugins except WooCommerce.
Here is a WooCommerce fatal error log from yesterday:
2024-07-23T06:53:28+00:00Critical Allowed memory size of 268435456 bytes exhausted (tried to allocate 94661632 bytes) Additional context{ “error”: { “type”: 1, “file”: “/var/www/volumes/xvdh/vhosts/pirateswithben.com/httpdocs/wp-content/plugins/ewww-image-optimizer/common.php”, “line”: 9581 }, “backtrace”: [ { “file”: “/var/www/volumes/xvdh/vhosts/pirateswithben.com/httpdocs/wp-content/plugins/woocommerce/includes/class-woocommerce.php”, “line”: 359, “function”: “critical”, “class”: “WC_Logger”, “type”: “->” }, { “function”: “log_errors”, “class”: “WooCommerce”, “type”: “->” } ] }
I don’t think the EIO plugin is the issue, as disabling that does not solve the problem.
I also still have the issue where the product description and short descriptions mysteriously disappear, whether or not I’ve had the Bad Request error. When the text appears invisible, I can only see it by highlighting all of it, but it only shows up as the Text/code version of it (even when on the Visual tab). Example:
Example of product that has the issue: https://pirateswithben.com/product/custom-6-masted-junk/
System Status Report:
### WordPress Environment ### WordPress address (URL): [Redacted] Site address (URL): [Redacted] WC Version: 9.1.2 Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site. Action Scheduler Version: ? 3.7.4 Log Directory Writable: ? WP Version: 6.6.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: – Language: en_US External object cache: – ### Server Environment ### Server Info: Apache/2.4.37 (Debian) PHP Version: 7.4.16 PHP Post Max Size: 64 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.62.0 OpenSSL/1.1.1c SUHOSIN Installed: – MySQL Version: 5.5.5-10.3.10-MariaDB-log Max Upload Size: 64 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### [REDACTED] ### Post Type Counts ### attachment: 6846 bnfw_notification: 1 bp-email: 24 custom_css: 3 customize_changeset: 5 emailoctopus_form: 2 forum: 2 nav_menu_item: 56 oembed_cache: 149 page: 121 podcast: 1 post: 892 product: 19 product_variation: 7 reply: 5319 revision: 3821 shop_coupon: 3 shop_order: 48 shop_order_refund: 1 topic: 273 wdi_instagram: 1 wp_font_face: 33 wp_font_family: 12 wp_navigation: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (18) ### Advanced Google reCAPTCHA: by WebFactory Ltd – 1.22 Autoptimize: by Frank Goossens (futtta) – 3.1.11 bbPress: by The bbPress Contributors – 2.6.11 bbPress Moderation: by Ian Stanley – 1.8.3 BP Classic: by The BuddyPress Community – 1.4.0 BuddyPress: by The BuddyPress Community – 14.0.0 Classic Editor: by WordPress Contributors – 1.6.4 Classic Widgets: by WordPress Contributors – 0.3 Custom Sidebars: by WebFactory Ltd – 3.36 EmailOctopus: by EmailOctopus – 3.1.6 EWWW Image Optimizer: by Exactly WWW – 7.7.0 Font Organizer: by Hive – 2.1.1 Open External Links in a New Window: by WebFactory Ltd – 1.44 Post Tags and Categories for Pages: by curtismchale – 1.4.1 WooCommerce.com Update Manager: by Automattic – 1.0.3 WooPayments: by WooCommerce – 7.9.2 WooCommerce: by Automattic – 9.1.2 Yoast SEO: by Team Yoast – 23.1 ### Inactive Plugins (0) ### ### Must Use Plugins (1) ### Wealthyaffiliate SMTP Plugin: by Wealthyaffiliate – 1.0 ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) 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: ? HPOS feature enabled: ? Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore HPOS data sync enabled: ? ### Logging ### Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: – Log directory size: 14 MB ### WC Pages ### Shop base: #18315 - /store/ Cart: #18316 - /cart/ - Contains the woocommerce/cart block Checkout: #18317 - /checkout/ - Contains the woocommerce/checkout block My account: #18318 - /my-account/ Terms and conditions: #18528 - /terms-and-conditions/ ### Theme ### Name: Vantage Child Version: 1.0.0 Author URL: https://siteorigin.com/ Child Theme: ? Parent Theme Name: Vantage Parent Theme Version: 1.20.21 – 1.20.22 is available Parent Theme Author URL: https://siteorigin.com/ WooCommerce Support: ? ### Templates ### Overrides: – ### WooPayments ### Version: 7.9.2 Connected to WPCOM: Yes WPCOM Blog ID: 233564144 Account ID: acct_1PLGfb2HAeELS5t7 Payment Gateway: Enabled Test Mode: Disabled Enabled APMs: card WooPay: Disabled WooPay Incompatible Extensions: No Apple Pay / Google Pay: Enabled (product,cart,checkout) Fraud Protection Level: basic Multi-currency: Enabled Auth and Capture: Enabled Documents: Disabled Logging: Enabled ### Admin ### Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store 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-custom-fields 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 launch-your-store Disabled Features: experimental-blocks minified-js pattern-toolkit-full-composability product-pre-publish-modal printful settings async-product-editor-category-field product-editor-template-system Daily Cron: ? Next scheduled: 2024-07-18 10:38:41 -07:00 Options: ? Notes: 70 Onboarding: completed ### Action Scheduler ### Canceled: 19 Oldest: 2024-06-28 15:44:43 -0700 Newest: 2024-07-04 23:58:09 -0700 Complete: 700 Oldest: 2024-06-24 00:22:23 -0700 Newest: 2024-07-24 15:49:44 -0700 Failed: 2 Oldest: 2024-05-31 09:58:27 -0700 Newest: 2024-06-07 21:52:04 -0700 Pending: 3 Oldest: 2024-07-24 16:49:44 -0700 Newest: 2024-08-09 08:01:24 -0700 ### Status report information ### Generated at: 2024-07-24 16:31:35 -07:00
Hello a7xfanben
Thank you for your reply.
I checked your site’s SSR and noticed <span style=”box-sizing: border-box; margin: 0px; padding: 0px;”>the?WP Memory Limit?is?</span>256MB.
The error “Critical Allowed memory size of 268435456 bytes exhausted” also suggested that 256MB memory is not sufficient to run this site.Could you increase the WP Memory Limit to 1GB?
You may need to contact your host to make this change.Please don’t hesitate to contact us again if you have more questions or concerns.
We are here to help ??Best regards.
Could you increase the WP Memory Limit to 1GB?
You may need to contact your host to make this change.Hi, thanks for the recommendation. I asked them but unfortunately they said “due to shared hosting It is not possible to increase the PHP values.”
Hello a7xfanben
Thank you for your reply.
I suggest you look for alternate web hosting that offers at least 512MB of WP Memory.
If it is in your budget, I recommend using a better hosting package.
Shared web hosting is quite low in performance.Please don’t hesitate to contact us again if you have more questions or concerns.
We are here to help ??Best regards,
Please don’t hesitate to contact us again if you have more questions or concerns.
We are here to helpDoes that mean the WP Memory/PHP values are the only cause of the Bad Request error?
I’d rather not switch hosting, so I just want to make sure I go down all other avenues in case there is some kind of solution.
Thanks!
The symptoms here point to an underpowered server with very low memory – especially considering the memory exhaustion error messages you’re getting. Looking at the rest of the server stats on the status report, I see the the server is currently using PHP 7.4.16 (that was release in March 2021).
To test whether this is indeed the root cause, you could created a backup copy of your site and then use a tool like WordPress Studio or LocalWP on your computer to test your website and see if the error persist.
- The topic ‘Bad Request and invisible text when editing and publishing products’ is closed to new replies.