Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter magdizajn78

    (@magdizajn78)

    FYI – there is an issue with the hosting too, not sure if the problems are related…

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @magdizajn78,

    Thanks for sharing details explanation and additional information.

    The logs you’ve shared indicate a TypeError being thrown within your WordPress installation related to the count() function. This error is usually caused when the count() function is used on a variable or value that isn’t countable, such as null or boolean values.

    It’s unusual for such errors to originate from core files, as these are thoroughly tested. This suggests that the issue might be caused by a theme or plugin on your site that’s hooked into WordPress’s action and filter system.

    Although you’ve already tried disabling all plugins and changing the theme, the issue persists. This might mean that the issue is deeper, perhaps in the core files of your WordPress installation or the database.

    Additionally, it’s hard to say if it’s related to your hosting without more information. However, increase the PHP Post Max Size from 8 MB to 2 GB and the PHP Time Limit from 30 to 1200. Also, disable all the plugins related to checkout, like Checkout Field Editor for WooCommerce.

    Furthermore, do you use block or shortcode on your checkout page? Does this error happen with default payment methods such as direct bank transfer? Have you reached out to the payment gateway plugin developer? It might also be a good idea to contact your hosting provider to see if there are any server-related issues.

    At the same time, consider reinstalling WordPress (Dashboard > Updates) to ensure all core files are up-to-date and correct.

    Let us know how that goes. Looking forward to helping you.

    Thread Starter magdizajn78

    (@magdizajn78)

    Hi,

    Finally.. ?? I found out that a PRO plugin caused the issue, which was related to shipping and the licence was not renewed. I did the testing with a virtual product, so didn’t understand why all chekcput related plugins – what I saw that are impacted in case of a virtual product not causing the issue, so I went through on ALL woo related products one by one.

    On the hosting side there were other problems too, those I don’t think were related to this issue (database change to a newer version).

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @magdizajn78,

    I’m glad you were able to find a solution to your inquiry here and thanks for sharing it with the community too! ??

    Should you have further inquiries, kindly create a new topic here.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error during payment’ is closed to new replies.