Product Icon

Square for WooCommerce

Woo's preferred POS partner, Square, makes online and in-person payments seamless with transparent rates, fast deposits, and integrated inventory management.

Support for PHP8

My hosting provider currently upgraded to PHP 8.0.4 and your plugin stopped working. My hosting provider downgraded me to 7.4 and it started working again.

2023/02/03 20:43:42 [error] 7541#7541: *15 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function CoreUtilsphp_uname() in /var/www/wptbox/wp-content/plugins/woocommerce-square/vendor/apimatic/core/src/Utils/CoreHelper.php:159

Stack trace:
#0 /var/www/wptbox/wp-content/plugins/woocommerce-square/vendor/apimatic/core/src/ClientBuilder.php(181): CoreUtilsCoreHelper::getOsInfo()
#1 /var/www/wptbox/wp-content/plugins/woocommerce-square/vendor/apimatic/core/src/ClientBuilder.php(195): CoreClientBuilder->addUserAgentToGlobalHeaders()
#2 /var/www/wptbox/wp-content/plugins/woocommerce-square/vendor/square/square/src/SquareClient.php(172): CoreClientBuilder->build()
#3 /var/www/wptbox/wp-content/plugins/woocommerce-square/includes/API.php(64): SquareSquareClient->__construct()
#4 /var/www/wptbox/wp-content/plugins/woocommerce-square/includes/Plugin.php(656): WooCommerceSquareAPI->__construct()
#5 /var/www/wptbox/wp-content/plugins/woocommerce-square/includes/Settings.php(717): WooCommerceSquarePlugin->get_api()
#6 /var/” while reading response header from upstream, client: 142.116.121.153, server: , request: “GET /wp-admin/admin.php?page=wc-settings&tab=square HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm-default-one.sock:”, host: “overgrowncanada.com”, referrer: “http://overgrowncanada.com/wp-admin/admin.php?page=wc-settings “

Author

Aaron Taylor

Current Status

Open

Last updated: February 13, 2023

0 comments

Log in to comment on this feature request.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.