Title: Plugin errors
Last modified: September 6, 2023

---

# Plugin errors

 *  [pichauhan](https://wordpress.org/support/users/paresh_cs/)
 * (@paresh_cs)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/plugin-errors-31/)
 * Hi,
   I am trying to reach out as the plugin [https://wordpress.org/plugins/global-payments-woocommerce/](https://wordpress.org/plugins/global-payments-woocommerce/)
   causing errors. It has not been investigated in detail yet but this could potentially
   stop customers to make payments. After installing this on a live site we received
   this error more than a couple of times. Can you please let us know if there is
   a fix for this or any other site had similar issues. System report is attached
   with the email.When seeking help with this issue, you may be asked for some of
   the following information:WordPress version 6.1.1Active theme: Salient Child 
   Theme (version 1.0) Current plugin: GlobalPayments WooCommerce (version 1.9.2)
   PHP version 8.1.8Error Details=============An error of type E_ERROR was caused
   in line 85 of the file /var/www/www.colourfence.co.uk/builds/7/wp-content/plugins/
   global-payments-woocommerce/globalpayments-gateway-provider-for-woocommerce.php.
   Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be
   of type array, null given in /var/www/www.colourfence.co.uk/builds/7/wp-content/
   plugins/global-payments-woocommerce/globalpayments-gateway-provider-for-woocommerce.
   php:85Stack trace:#0 /var/www/www.colourfence.co.uk/builds/7/wp-content/plugins/
   global-payments-woocommerce/globalpayments-gateway-provider-for-woocommerce.php(
   85): in_array()#1 /var/www/www.colourfence.co.uk/builds/7/wp-includes/class-wp-
   hook.php(308): globalpayments_update_plugin_version()#2 /var/www/www.colourfence.
   co.uk/builds/7/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()#3/
   var/www/www.colourfence.co.uk/builds/7/wp-includes/plugin.php(517): WP_Hook->
   do_action()#4 /var/www/www.colourfence.co.uk/builds/7/wp-admin/includes/class-
   wp-upgrader.php(859): do_action()#5 /var/www/www.colourfence.co.uk/builds/7/wp-
   admin/includes/class-plugin-upgrader.php(137): WP_Upgrader->run()#6 /var/www/
   www.colourfence.co.uk/builds/7/wp-admin/includes/ajax-actions.php(4471): Plugin_Upgrader-
   >install()#7 /var/www/www.colourfence.co.uk/builds/7/wp-includes/class-wp-hook.
   php(308): wp_ajax_install_plugin()#8 /var/www/www.colourfence.co.uk/builds/7/
   wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()#9 /var/www/www.colourfence.
   co.uk/builds/7/wp-includes/plugin.php(517): WP_Hook->do_action()#10 /var/www/
   www.colourfence.co.uk/builds/7/wp-admin/admin-ajax.php(188): do_action()#11 {
   main}  thrown
    -  This topic was modified 2 years, 8 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-errors-31%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Plugin errors’ is closed to new replies.

 * ![](https://ps.w.org/global-payments-woocommerce/assets/icon-256x256.png?rev=
   3361638)
 * [GlobalPayments Gateway Provider for WooCommerce](https://wordpress.org/plugins/global-payments-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/global-payments-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/global-payments-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/global-payments-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/global-payments-woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [pichauhan](https://wordpress.org/support/users/paresh_cs/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/plugin-errors-31/)
 * Status: not resolved