Open DevMwd opened 4 months ago
Hi @DevMwd,
Thank you for raising this issue!
Coincidentally, I have the same setup for my local environment, but I have not managed to replicate your issue.
What versions of WooCommerce/WordPress are you using?
Also, would it be possible to check the actual string value that is passed to the count method, please? Is it just an empty string?
We came across the same error and figured out it resulted from our client's TaxJar account becoming inactive due to an old credit card tied to their payment. Once our client renewed their service, we continued to receive the error and the TaxJar settings page was also throwing an error that wouldn't allow us to reconnect the service.
We had tried deactivating and reactivating the plugin, but this didn't do the trick. Next we removed the stored hashed token from the DB, and this allowed us to reconnect the account through the TaxJar settings page in WP/WooCommerce.
Plugin and service has continued working as expected since then.
During step 1, returning from logging in and connecting on "app.taxjar.com", the plugin causes a fatal error due to passing a string to the PHP
count()
function.Here is the stack trace:
The PHP version on the server is 8.1.29 and the website is being served with FPM on an Apache server.