Latest update crashes my site
-
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 “
- The topic ‘Latest update crashes my site’ is closed to new replies.