• Resolved jonnimunki

    (@jonnimunki)


    Hi, here is the error: “

    This plugin failed to load properly and is paused during recovery mode.

    An error of type E_ERROR was caused in line 26 of the file /usr/www/users//wp-content/plugins/yoco-payment-gateway/src/Gateway/Checkout/Method.php. Error message: Uncaught ArgumentCountError: Too few arguments to function Yoco\Gateway\Checkout\Method::setIcon(), 1 passed in /usr/www/users//wp-includes/class-wp-hook.php on line 310 and exactly 2 expected in /usr/www/users//wp-content/plugins/yoco-payment-gateway/src/Gateway/Checkout/Method.php:26 Stack trace: #0 /usr/www/users//wp-includes/class-wp-hook.php(310): Yoco\Gateway\Checkout\Method->setIcon(‘https://bhambha…’) #1 /usr/www/users//wp-includes/plugin.php(205): WP_Hook->apply_filters(‘https://bhambha…’, Array) #2 /usr/www/users//wp-content/plugins/zapper-payments/zapper-payment-gateway.php(22): apply_filters(‘woocommerce_gat…’, ‘https://bhambha…’) #3 /usr/www/users//wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(97): Zapper_Payments->__construct() #4 /usr/www/users//wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(70): WC_Payment_Gateways->init() #5 /usr/www/users//wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(43): WC_Payment_Gateways->__construct() #6 /usr/www/users//wp-content/plugins/woocommerce/includes/class-woocommerce.php(961): WC_Payment_Gateways::instance() #7 /usr/www/users//wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php(331): WooCommerce->payment_gateways() #8 /usr/www/users//wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php(78): Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage->get_incentive() #9 /usr/www/users//wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php(96): Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage->must_be_visible() #10 /usr/www/users//wp-includes/class-wp-hook.php(310): Automattic\WooCommerce\Internal\Admin\WcPayWelcomePage->register_payments_welcome_page(”) #11 /usr/www/users//wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #12 /usr/www/users//wp-includes/plugin.php(517): WP_Hook->do_action(Array) #13 /usr/www/users//wp-admin/includes/menu.php(161): do_action(‘admin_menu’, ”) #14 /usr/www/users//wp-admin/menu.php(420): require_once(‘/usr/www/users/…’) #15 /usr/www/users//wp-admin/admin.php(158): require(‘/usr/www/users/…’) #16 /usr/www/users//wp-admin/plugins.php(10): require_once(‘/usr/www/users/…’) #17 {main} thrown “

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author yocoadmin

    (@yocoadmin)

    Hi @jonnimunki
    Sorry to hear this, we are working on this issue and will update you shortly.

    Can confirm that the new update breaks the website.

    Plugin Author yocoadmin

    (@yocoadmin)

    @jonnimunki can you please email us on [email protected]

    Yes. this also crashes one of my sites… details below.

    Fatal error: Uncaught Error: Too few arguments to function Yoco\Gateway\Checkout\Method::setIcon(), 1 passed in /usr/www/users/balbazqnxu/wp-includes/class-wp-hook.php on line 310 and exactly 2 expected
    in /usr/www/users/balbazqnxu/wp-content/plugins/yoco-payment-gateway/src/Gateway/Checkout/Method.php on line 26

    Call stack:

    1. Yoco\G\C\Method::setIcon()
      wp-includes/class-wp-hook.php:310
    2. WP_Hook::apply_filters()
      wp-includes/plugin.php:205
    3. apply_filters()
      wp-content/plugins/zapper-payments/zapper-payment-gateway.php:22
    4. Zapper_Payments::__construct()
      wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:97
    5. WC_Payment_Gateways::init()
      wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:70
    6. WC_Payment_Gateways::__construct()
      wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:43
    7. WC_Payment_Gateways::instance()
      wp-content/plugins/woocommerce/includes/class-woocommerce.php:961
    8. WooCommerce::payment_gateways()
      wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php:331
    9. Automattic\W\I\A\WcPayWelcomePage::get_incentive()
      wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php:78
    10. Automattic\W\I\A\WcPayWelcomePage::must_be_visible()
      wp-content/plugins/woocommerce/src/Internal/Admin/WcPayWelcomePage.php:96
    11. Automattic\W\I\A\WcPayWelcomePage::register_payments_welcome_page()
      wp-includes/class-wp-hook.php:310
    12. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:334
    13. WP_Hook::do_action()
      wp-includes/plugin.php:517
    14. do_action()
      wp-admin/includes/menu.php:161
    15. require_once()
      wp-admin/menu.php:420
    16. require()
      wp-admin/admin.php:158
    17. require_once()
      wp-admin/plugins.php:10

    I havent done the update cause of this. but ill test it out tonight

    judging by the one saying they got slow downs could be causing a error with resourcing on a core of the CPU

    what is your Servers specs CPU cores and Ram wise

    8 core (5 available 3 for caching) 12GB Ram (2 of which are for caching)

    ill test once done

    Thread Starter jonnimunki

    (@jonnimunki)

    No updates yet from devs, I’ve switched to payfast for now, took an hour or 2. Will maybe switch back. I’ve never had a problem with the payfast plugin, yoco I’ve had 2 customers now with website crashes and payment gateway failures because of the yoco updates.

    Plugin Author yocoadmin

    (@yocoadmin)

    Hello @jonnimunki, @topps, @firex20, @techguysa

    So sorry for the delayed response. We just released a new version (V3.2.0) with a lot of fixes and enhancements. Please do the following:

    1. Deactivate the installed version and Delete it
    2. Go to Plugins -> Add New and search for Yoco – Install version 3.2.0
    3. Activate it
    4. Go to Yoco Plugin Settings and Remove the Live and Test Keys values. Make sure the input field is empty
    5. Go to Yoco Portal -> Selling Online -> Payment Gateway and Copy the Live & Test Secret Keys
    6. Go back to the Plugin Settings on your website and Paste them
    7. Click Save Changes
    8. Do a Test transaction to make sure the plugin is working

    Lastly please make sure you are using a valid SSL certificate and compatible versions of WordPress (supporting up to 6.3.1), WooCommerce (supporting up to 8.1.0) and PHP (7.4.0 or higher) as a prerequisite for the plugin to work.

    We’re keen to investigate with you any errors, just send us the error logs (Dashboard > WooCommerce > Status > Logs tab & copy and paste it in an email to [email protected]) so we get better visibility about what’s causing the issue. Thanks and looking forward to hearing how it goes with the new version installation.

    Deleted yoco plugin and installed the latest one. Upon activating it, saw the following error.

    The plugin does not have a valid header.
    
    
    This message was triggered by WordPress Core.
    
    Call stack:
    
    wp_die()
    wp-admin/plugins.php:65
    
    Plugin Author yocoadmin

    (@yocoadmin)

    Hi @topps could you please share the logs with us on [email protected] (Dashboard > WooCommerce > Status > Logs > view the logs from today > Copy and paste and send over email)

    Thanks and waiting for it.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Latest update crashes my site’ is closed to new replies.