Woocommerce Breaking Website
-
This just happened today. Website was giving a 500 error, so I deactivated all of the plugins and then activated them one by one. The only one that caused the problem was the Woocommerce plugin. Next I deactivated all the plugins and then activated the WC plugin only and again had the same issue – broke the website. Then for good measure I changed the theme and tried the WC plugin only again and still had the same issue. Did an upgrade on the WordPress to 5.9, did not fix the issue. The only way I could get the website to work was by renaming the WC plugin otherwise I would get a 500 page error. Please advise how to fix this.
The page I need help with: [log in to see the link]
-
Hi @vtorres7332 ??
Thanks for reporting this matter to us.
In order for us to get a better idea regarding this, could you please share with us the error message which is given when the error 500 is triggered?
Your Server Error logs should have it logged, but you could also enable WP Debug temporarily on your site to see it too, as explained here: https://woocommerce.com/document/woocommerce-product-search/api/debugging/
It would also be great if you could go to Tools > Site Health > Info > Copy site info to clipboard, and paste that report with us here.
Once we have that, we should be able to advise you further ??
Great question! I was also told today by a Bluehost tech support person that WooCommerce was causing errors on my website which also just updated to WordPress 5.9.
Unfortunately the “help” I’ve received so far has only made things worse and my site has now been down for 6 hours.
Hi @wausaumama ??
I can understand how frustrating this must be. I have tested WooCommerce 6.1.1 and WordPress 5.9 but did not notice any issues.
If you’re able to share the error message with us, it would be really helpful. This can be found in the Server Error Logs or if WP Debug is enabled.
Thanks!
I would give you the error log when debugging but the only I can do it is if I change the folder name for woocommerce otherwise the website will not come up (breaks). Based on looking at other responses this happening with other websites as well. What is going on? This is not like Woocommerce, have never had issues like this with your plugin.
Victor
Here is the Site Health Info:
### wp-core ### version: 5.9 site_language: en_US user_language: en_US timezone: +00:00 permalink: /%postname%/ https_status: false multisite: false user_registration: 0 blog_public: 0 default_comment_status: open environment_type: production user_count: 1 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /home/swsproje/public_html/client/kalpatree wordpress_size: loading... uploads_path: /home/swsproje/public_html/client/kalpatree/wp-content/uploads uploads_size: loading... themes_path: /home/swsproje/public_html/client/kalpatree/wp-content/themes themes_size: loading... plugins_path: /home/swsproje/public_html/client/kalpatree/wp-content/plugins plugins_size: loading... database_size: loading... total_size: loading... ### wp-active-theme ### name: OceanWP (oceanwp) version: 3.1.2 author: OceanWP author_website: https://oceanwp.org/about-me/ parent_theme: none theme_features: core-block-patterns, widgets-block-editor, align-wide, wp-block-styles, responsive-embeds, editor-styles, editor-style, menus, post-formats, title-tag, automatic-feed-links, post-thumbnails, custom-header, custom-logo, html5, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, widgets theme_path: /home/swsproje/public_html/client/kalpatree/wp-content/themes/oceanwp auto_update: Disabled ### wp-themes-inactive (2) ### Twenty Twenty: version: 1.9, author: the WordPress team, Auto-updates disabled Twenty Twenty-Two: version: 1.0, author: the WordPress team, Auto-updates disabled ### wp-plugins-active (13) ### Disable Comments: version: 2.3.3, author: WPDeveloper, Auto-updates disabled Disable Gutenberg: version: 2.6, author: Jeff Starr, Auto-updates disabled Elementor: version: 3.5.4, author: Elementor.com, Auto-updates disabled Limit Login Attempts: version: 1.7.1, author: Johan Eenfeldt, Auto-updates disabled Ninja Forms: version: 3.6.7, author: Saturday Drive, Auto-updates disabled Ocean Elementor Widgets: version: 2.1.1, author: OceanWP, Auto-updates disabled Ocean Extra: version: 1.9.2, author: OceanWP, Auto-updates disabled Ocean Pro Demos: version: 1.2.2, author: OceanWP, Auto-updates disabled Ocean Sticky Header: version: 2.0.3, author: OceanWP, Auto-updates disabled SiteOrigin Widgets Bundle: version: 1.29.0, author: SiteOrigin, Auto-updates disabled Spacer: version: 3.0.5, author: Justin Saad, Auto-updates disabled WP Edit: version: 4.0.4, author: Josh Lobe, Auto-updates disabled WP Fastest Cache: version: 0.9.7, author: Emre Vona, Auto-updates disabled ### wp-plugins-inactive (8) ### Custom Product Tabs for WooCommerce: version: 1.7.7, author: YIKES, Inc., Auto-updates disabled MC4WP: Mailchimp for WordPress: version: 4.8.6, author: ibericode, Auto-updates disabled Really Simple SSL: version: 5.2.3, author: Really Simple Plugins, Auto-updates disabled WooCommerce: version: 6.1.1, author: Automattic, Auto-updates disabled Wordfence Security: version: 7.5.7, author: Wordfence, Auto-updates disabled WP Content Copy Protection & No Right Click: version: 3.4.4, author: wp-buy, Auto-updates disabled WPS Hide Login: version: 1.9.3, author: WPServeur, NicolasKulka, wpformation, Auto-updates disabled Yoast SEO: version: 18.0, author: Team Yoast, Auto-updates disabled ### wp-media ### image_editor: WP_Image_Editor_Imagick imagick_module_version: 1690 imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2021-10-13 https://imagemagick.org imagick_version: 3.4.4 file_uploads: File uploads is turned off post_max_size: 256M upload_max_filesize: 128M max_effective_size: 128 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 63 GB imagick::RESOURCETYPE_DISK: 9.2233720368548E+18 imagick::RESOURCETYPE_FILE: 12288 imagick::RESOURCETYPE_MAP: 63 GB imagick::RESOURCETYPE_MEMORY: 31 GB imagick::RESOURCETYPE_THREAD: 8 imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: 9.25 ### wp-server ### server_architecture: Linux 3.10.0-962.3.2.lve1.5.39.el7.x86_64 x86_64 httpd_software: Apache php_version: 7.4.27 64bit php_sapi: cgi-fcgi max_input_variables: 1000 time_limit: 30 memory_limit: 256M max_input_time: 60 upload_max_filesize: 128M php_post_max_size: 256M curl_version: 7.79.1 OpenSSL/1.1.1m suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 10.3.32-MariaDB client_version: mysqlnd 7.4.27 max_allowed_packet: 268435456 max_connections: 300 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/swsproje/public_html/client/kalpatree/wp-content WP_PLUGIN_DIR: /home/swsproje/public_html/client/kalpatree/wp-content/plugins WP_MEMORY_LIMIT: 256M WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable
Hi @vtorres7332
I would give you the error log when debugging but the only I can do it is if I change the folder name for woocommerce otherwise the website will not come up (breaks).
Could you enable WordPress debug logging on your site. Here is a good guide on how to do this: https://help.dreamhost.com/hc/en-us/articles/360029327771-Enabling-the-WordPress-Debug-log
Once you’ve enabled debug logging, please try to install WooCommerce. This should trigger the error again and hopefully an error will be logged in the
wp-content/debug.log
file.In a perfect world that would work. Debugging is set at True, refreshed the browser, changed the Woocommerce folder name back to what it should be, cleared the site Cache, Actived Woocommerce… then this is what I got – same as before:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
—————————-
The only way I could be bring the site back up was by changing the Woocommerce folder name, just as before.
We’re sorry to hear about this.
Using this guide, enable debugging so we can have more technical source/details of the error
Debugging is set on True for https://swsprojects.com/client/kalpatree/ . Checked everything else, changed the htacess made no difference. WC keeps breaking the site, have it renamed for now.
Hello @vtorres7332
Thank your additional feedback. I noticed that your site’s database is running on 10.3.32-MariaDB. We recommend that the database versions be –
MySQL version 5.6 or greater OR MariaDB version 10.1 or greater
Please would you reach out to your host to update your database versions to match our requirements. I also recommend that you add a SSL certificate to your site.
We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.
- The topic ‘Woocommerce Breaking Website’ is closed to new replies.