CRITICAL Uncaught Error: Call to a member function getTransaction()
-
Hey guys,
we have a Critical error in our error log, in fact, two just today:
2019-12-27T12:03:44+00:00 CRITICAL Uncaught Error: Call to a member function getTransaction() on string in /dom27602/wp-content/plugins/woocommerce-square/includes/Gateway/API/Responses/Charge.php:137 Stack trace: #0 /dom27602/wp-content/plugins/woocommerce-square/includes/Gateway/API/Responses/Charge.php(85): WooCommerce\Square\Gateway\API\Responses\Charge->get_transaction() #1 /dom27602/wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php(753): WooCommerce\Square\Gateway\API\Responses\Charge->get_transaction_id() #2 /dom27602/wp-content/plugins/woocommerce-square/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php(795): SkyVerge\WooCommerce\PluginFramework\v5_4_0\SV_WC_Payment_Gateway_Direct->do_credit_card_transaction(Object(WC_Order)) #3 /dom27602/wp-content/plugins/woocommerce-square/includes/Gateway.php(315): SkyVerge\WooCommerce\PluginFramework\v5_4_0\SV_WC_Payment_Gateway_Direct->do_transaction(Obje in /dom27602/wp-content/plugins/woocommerce-square/includes/Gateway/API/Responses/Charge.php on line 137
Part of the system log:
### WordPress Environment ###
WC Version: 3.8.1
REST API Version: ? 1.0.2
Log Directory Writable: ?
WP Version: ? 5.2.5 – There is a newer version of WordPress available (5.3.2)
WP Multisite: ?
WP Memory Limit: 3 GB
WP Debug Mode: –
WP Cron: –
Language: en_US
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.3.11-1+ubuntu16.04.1+deb.sury.org+1
PHP Post Max Size: 100 MB
PHP Time Limit: 300
PHP Max Input Vars: 10000
cURL Version: 7.47.0
OpenSSL/1.0.2gSUHOSIN Installed: –
MySQL Version: 5.6.44-log
Max Upload Size: 25 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?### Active Plugins (28) ###
### Settings ###
API Enabled: –
Force SSL: –
Currency: GBP (£)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)### Square ###
Environment: Production
Tokenization Enabled: –
Debug Mode: Save to Log### Action Scheduler ###
Complete: 9
Oldest: 2019-11-27 23:05:58 +0000
Newest: 2019-12-25 23:14:04 +0000Pending: 2
Oldest: 2019-12-30 10:04:51 +0000
Newest: 2020-01-01 23:14:04 +0000Canceled: 1
Oldest: 2019-12-23 10:04:13 +0000
Newest: 2019-12-23 10:04:13 +0000In-progress: 0
Oldest: –
Newest: –Failed: 0
Oldest: –
Newest: –`I can see a number of other tickets with complains about fatal errors and the like. Do you test the plugin before releasing a new version, as we are talking about a payment gateway, not a random shortcode plugin?
Thanks in advance!
- The topic ‘CRITICAL Uncaught Error: Call to a member function getTransaction()’ is closed to new replies.