Hi @wfcrafts
The error message you’re seeing suggests that there’s an issue with the ‘get_type()’ function, which is part of the WooCommerce Payments plugin. This function is trying to call on an object that doesn’t exist or is not recognized, hence the error message.
In the context of WooCommerce, the ‘get_type()’ function is often used to determine the type of a product, for instance, whether it’s a simple product, a variable product, etc. It seems like there’s an issue with how this function is being called or used in your WooCommerce Payments plugin.
The issue with multiple shipping listings and incorrect order subtotal could be related to this, as the ‘get_type()’ function might be used as part of the process to calculate shipping and order totals.
Here are a few steps you can take to troubleshoot this issue:
- Update all your plugins and themes: Ensure that you’re running the latest versions of all your plugins, including WooCommerce and WooCommerce Payments, and your theme. This is because the issue might be due to a bug that has been fixed in a more recent version.
- Switch to a default theme: Temporarily switch to the default Storefront theme. This is to check if the issue might be caused by your theme.
- Deactivate all other plugins: Deactivate all plugins except WooCommerce and WooCommerce Payments to check if there’s a conflict with another plugin. If the issue disappears, reactivate your plugins one by one to identify the culprit. You can find a more detailed explanation of how to conduct a conflict test here.
- Contact your web host: The error message also suggests that the issue might be related to your server configuration. It might be worth reaching out to your web host for assistance.
If none of these steps resolve the issue, please get back to us with 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.
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.
Once we have more information, we’ll be able to assist you further.
Thanks!