Fatal Error – Woocommerce update
-
Hello,
Currently using your plugin and it has been working very well. After an upgrade of Woocommerce and swish to the latest version with other woocommerce updates, the plugin has stopped working and produces a fatal error at checkout and blocks all woocommerce payment methods. When the plugin is explicitly deactivated the site works as intended with no errors. See below. I have removed the specfic site path for privacy reasons and replaced with: “<site_path>”.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function Woo_Swish_Ecommerce::apply_gateway_icons(), 1 passed in <site_path>/wp-includes/class-wp-hook.php on line 287 and exactly 2 expected in <site_path>/wp-content/plugins/woo-swish-e-commerce/woo-swish-e-commerce.php:1449 Stack trace: #0
and later down highlited in black/bold:
<site_path>/wp-content/plugins/woo-swish-e-commerce/woo-swish-e-commerce.php on line 1449Here is some System information:
Wordpress: 5.5.3
Woocommerce: 4.7.0
Swish plugin: 3.0.7 (latestCould there have been som update issue during the upgrade that causes the error?
- The topic ‘Fatal Error – Woocommerce update’ is closed to new replies.