fishdefender
Forum Replies Created
-
Thanks, I think I have isolated the issue.
I added the cron job with the exact command you suggested. I wasn’t sure whether I needed to adjust the path.
I also finally received a useful message from Printful support:“This looks like an error we’re aware of, and our Developer team is looking into. My apologies for the inconvenience. In the latest versions of the WooCommerce Plugin, they have made some changes so that now the Printful plugin conflicts at checkout. Based on advice from WooCommerce for recent cases with the same error, I would recommend switching to classic (shortcode) checkout.
- Go to your WordPress dashboard → Pages → find your Checkout page
- Edit the page and remove the WooCommerce Checkout block
- Replace it with a Shortcode block and enter:
[woocommerce_checkout] - Save/update the page
Alternatively, you can roll back to a previous version of WooCommerce that worked for you.”
I checked the /checkout page. It already had the shortcode block. It was the only block on the page.
With printful deactivated, I am able to access the /cart and /checkout pages using the direct URLs. I can edit the quantities in the cart and the checkout page responds. I can also add items from the /shop page (but only the ones with no size options).
I updated the woocommerce plugin, deleted and reinstalled the printful integration for woocommerce plugin, and tried again and the error returned. So it seems there is a conflict between the printful and woocommerce plugins themselves.I can add to cart and use the checkout page by disabling printful shipping, but I still cannot choose sizes, which makes almost all of my products impossible to add to cart.
What can I do at this point? Printful said to roll back to a woocommerce version that worked for me. I have never had one work.
Thank you. Can you direct me toward a step-by-step instruction for how to check with my host to ensure WP Cron is enabled and running correctly? I found this in my Hostinger interface. Does this look right? Do I need to add a job? Or do I install a wordpress plugin?

Also, just realizing it may be worth mentioning I was initially able to put in an order, but the payment failed. So there is one order in the orders section. Could this be crashing the cart?
EDIT: I tried deleting the order and reactivating the plugin after using the woocommerce tools tab to clear a bunch of transients, etc. It still crashed on add to cart. I also noticed that all of the size options for my printful items are now gone. Here is the message I receive from the crash:
Howdy!
WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.
In this case, WordPress caught an error with one of your plugins, WooCommerce.
First, visit your website (https://fishdefender.org/) and check for any visible issues. Next, visit the page where the error was caught (https://fishdefender.org/wp-admin/admin-ajax.php) and check for any visible issues.
Please contact your host for assistance with investigating this issue further.
If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.
https://fishdefender.org/wp-login.php?action=enter_recovery_mode&rm_token=Z9T4PFtwLzLabrV5YPofQc&rm_key=0td2Tr1pH2Yp4qCHetI765
To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.9.4
Active theme: Astra (version 4.12.1)
Current plugin: WooCommerce (version 10.6.0)
PHP version 8.2.28
Error Details
============An error of type E_ERROR was caused in line 377 of the file /home/u249806196/domains/fishdefender.org/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php. Error message: Uncaught Error: Call to a member function supports() on null in /home/u249806196/domains/fishdefender.org/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php:377
Stack trace: 0 /home/u249806196/domains/fishdefender.org/public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(261): WC_Shipping->calculate_shipping_for_package() 1 /home/u249806196/domains/fishdefender.org/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1609): WC_Shipping->calculate_shipping() 2 /home/u249806196/domains/fishdefender.org/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(352): WC_Cart->calculate_shipping() 3 /home/u249806196/domains/fishdefender.org/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(856): WC_Cart_Totals->get_shipping_from_cart() 4 /home/u249806196/domains/fishdefender.org/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(148): WC_Cart_Totals->calculate_shipping_totals() 5 /home/u249806196/domains/fishdefender.org/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(138): WC_Cart_Totals->calculate() 6 /home/u249806196/domains/fishdefender.org/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1555): WC_Cart_Totals->__construct() 7 /home/u249806196/domains/fishdefender.org/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(292): WC_Cart->calculate_totals() 8 /home/u249806196/domains/fishdefender.org/public_html/wp-includes/class-wp-hook.php(341): WC_Cart_Session->get_cart_from_session() 9 /home/u249806196/domains/fishdefender.org/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() 10 /home/u249806196/domains/fishdefender.org/public_html/wp-includes/plugin.php(522): WP_Hook->do_action() 11 /home/u249806196/domains/fishdefender.org/public_html/wp-settings.php(764): do_action() 12 /home/u249806196/domains/fishdefender.org/public_html/wp-config.php(109): require_once('/home/u24980619…') 13 /home/u249806196/domains/fishdefender.org/public_html/wp-load.php(50): require_once('/home/u24980619…') 14 /home/u249806196/domains/fishdefender.org/public_html/wp-admin/admin-ajax.php(22): require_once('/home/u24980619…') 15 {main}
thrownI see that there are buttons in woocommerce tools to wipe payment data, etc. Is it possible to start from a clean slate by pressing all of these buttons, then deactivating/deleting the plugins? I just want to start over. Why is it so difficult?
- This reply was modified 2 months, 1 week ago by fishdefender.
- This reply was modified 2 months, 1 week ago by fishdefender.