Product page shows blank page
-
Hi there,
I see the following JavaScript errors in my browser’s console when inspectitng your site’s product page:
DevTools failed to load SourceMap: Could not load content for https://vladalexandrescu.com/wp-content/plugins/learndash-course-grid/assets/css/custom.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE DevTools failed to load SourceMap: Could not load content for https://vladalexandrescu.com/wp-content/themes/Divi/js/custom.unified.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE DevTools failed to load SourceMap: Could not load content for https://vladalexandrescu.com/wp-content/themes/Divi/includes/builder/scripts/cpt-modules-wrapper.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
The above errors indicate that something is preventing your site from loading the required code for that page.
I haven’t been able to replicate what you’re seeing with Twenty Twenty-One and only WooCommerce active, so conflict testing would be my first suggestion. Issues like the one you’re seeing are usually caused by code from a plugin or theme causing a conflict.
If you’ve already performed a full conflict test, my next suggestion would be to contact your site’s host to see if there are any settings or optimizations in place on their side that may impact how JavaScript files load on your site.
If your host isn’t aware of any issues that could cause this, I’d also suggest asking them to help you set up a brand new staging site, with only WooCommerce and a default theme active. You could then see if the issue can be replicated on the staging site.
Let us know how you get on with that.
The errors you mentioned earlier wouldn’t show up all the times.
I’ve activated wp debug, and found those errors:Warning: include(/home/mensisro/public_html/vladalexandrescu.com/wp-content/plugins/woocommerce/templates/loop/rating.php): failed to open stream: No such file or directory in /home/mensisro/public_html/vladalexandrescu.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 345 Warning: include(): Failed opening '/home/mensisro/public_html/vladalexandrescu.com/wp-content/plugins/woocommerce/templates/loop/rating.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home/mensisro/public_html/vladalexandrescu.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 345 Warning: include(/home/mensisro/public_html/vladalexandrescu.com/wp-content/plugins/woocommerce/templates/loop/price.php): failed to open stream: No such file or directory in /home/mensisro/public_html/vladalexandrescu.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 345 Warning: include(): Failed opening '/home/mensisro/public_html/vladalexandrescu.com/wp-content/plugins/woocommerce/templates/loop/price.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home/mensisro/public_html/vladalexandrescu.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 345 Warning: include(/home/mensisro/public_html/vladalexandrescu.com/wp-content/plugins/woocommerce/templates/loop/sale-flash.php): failed to open stream: No such file or directory in /home/mensisro/public_html/vladalexandrescu.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 345 Warning: include(): Failed opening '/home/mensisro/public_html/vladalexandrescu.com/wp-content/plugins/woocommerce/templates/loop/sale-flash.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home/mensisro/public_html/vladalexandrescu.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 345
Reinstalled woo and now it works 😉
- This reply was modified 3 years, 11 months ago by Ivan.
I’m glad to hear that reinstalling WooCommerce resolved things!
If you have any further questions, feel welcome to create a new thread.
- The topic ‘Product page shows blank page’ is closed to new replies.