• Good day,

    I am having a huge issue with my Woocommerce website loading really REALLY slowly and giving API errors, literally overnight. During some investigation, I removed my Yoco payment gateway plugin as a test, after which the issue disappeared and my site functioned as normally as before.

    However, this is not a solution, as I need this plugin to work. I tried reverting to older Yoco versions, but this made my site crash completely and I had to restore a backup.

    I am running the latest Yoco payment gateway plugin 2.0.10, on WordPress 6.0.2 (WooCommerce Version 6.9.1).

    I have not installed any other new plugins or themes in months, so it is not a new plugin or theme conflict. I also haven’t made any drastic changes to my website recently.

    This is very frustrating, as Yoco is currently my main payment gateway and I cannot properly conduct business without it.

    Below are the error messages I get, which are followed by a whole string of error codes:

    https://yoco.api.semantica.co.za/login
    cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received
    class_yoco_wc_error_logging::login()
    Plugin: yoco-payment-gateway

    class_yoco_wc_error_logging::login()
    wp-content/plugins/yoco-payment-gateway/includes/logging/class-yoco-wc-error-logging.php:232
    class_yoco_wc_error_logging::getYocoSystemMessages()
    wp-content/plugins/yoco-payment-gateway/includes/logging/class-yoco-wc-error-logging.php:259
    WC_Yoco_Card->__construct()
    wp-content/plugins/yoco-payment-gateway/includes/payment-methods/class-wc-yoco-card.php:32
    WC_Payment_Gateways->init()
    wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:97
    WC_Payment_Gateways->__construct()
    wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:70
    WC_Payment_Gateways::instance()
    wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:43
    WooCommerce->payment_gateways()
    wp-content/plugins/woocommerce/includes/class-woocommerce.php:920
    WC_PayFast_Blocks_Support->is_active()
    wp-content/plugins/woocommerce-payfast-gateway/includes/class-wc-gateway-payfast-blocks-support.php:30
    Automattic\W\B\P\PaymentMethodRegistry->Automattic\W\B\P\{closure}()
    wp-content/plugins/woo-gutenberg-products-block/src/Payments/PaymentMethodRegistry.php:28
    array_filter()
    wp-content/plugins/woo-gutenberg-products-block/src/Payments/PaymentMethodRegistry.php:28
    Automattic\W\B\P\PaymentMethodRegistry->get_all_active_registered()
    wp-content/plugins/woo-gutenberg-products-block/src/Payments/PaymentMethodRegistry.php:29
    Automattic\W\B\P\PaymentMethodRegistry->get_all_active_payment_method_script_dependencies()
    wp-content/plugins/woo-gutenberg-products-block/src/Payments/PaymentMethodRegistry.php:40
    Automattic\W\B\P\Api->add_payment_method_script_dependencies()
    wp-content/plugins/woo-gutenberg-products-block/src/Payments/Api.php:66
    apply_filters('woocommerce_blocks_register_script_dependencies')
    wp-includes/plugin.php:191
    Automattic\W\B\A\Api->register_script()
    wp-content/plugins/woo-gutenberg-products-block/src/Assets/Api.php:156
    Automattic\W\B\B\AbstractBlock->register_block_type_assets()
    wp-content/plugins/woo-gutenberg-products-block/src/BlockTypes/AbstractBlock.php:131
    Automattic\W\B\B\Cart->register_block_type_assets()
    wp-content/plugins/woo-gutenberg-products-block/src/BlockTypes/Cart.php:246
    Automattic\W\B\B\AbstractBlock->initialize()
    wp-content/plugins/woo-gutenberg-products-block/src/BlockTypes/AbstractBlock.php:115
    Automattic\W\B\B\AbstractBlock->__construct()
    wp-content/plugins/woo-gutenberg-products-block/src/BlockTypes/AbstractBlock.php:70
    Automattic\W\B\BlockTypesController->register_blocks()
    wp-content/plugins/woo-gutenberg-products-block/src/BlockTypesController.php:64
    do_action('init')
    wp-includes/plugin.php:476

    My website was working perfectly, until the repeated API errors started popping up today. Now my whole site has slowed down ridiculously. It speeds up the instant I remove the Yoco plugin.

    I logged a ticket with my hosting provider, even they are stumped. They went as far as to reset the PHP. They see no reason on my end or on their end for the plugin to be malfunctioning.

    If this is not resolved, I will be forced to remove the plugin permanently and rely solely on my other payment gateway, which would make things a lot more complicated for business.

    The page I need help with: [log in to see the link]

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

    (@woolinky)

    And to add to the above, I have logged a ticket with Yoco, but have not received any feedback yet, in the hours that both me and my hosting provider were doing troubleshooting.

    I can confirm the same, adds about 7 seconds to every page load, hopefully they fix it, I have disabled the plugin for now and am using Payfast until they fix.

    WP 6.0.2 PHP 7.4 Litespeed

    Also to add why on every page load front end and admin is it querying that domain is concerning, it should only be querying something when its used in cart or on actual payment.

    Also noticed this now when my brand new site was acting slow after installing Yoco. Please fix Yoco… This does not need to be called on every page – only pages where Yoco module is required such as checkout or settings screens.

    They have released an update but it doesn’t seem to make the site that much faster with this new logging service they have implemented…

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin is Slowing Down Website’ is closed to new replies.