PHP Fatal Errors, Warnings – PHP8
-
Hi,
Please see below PHP Notices, Warnings and Fatal errors in WP debug when testing “test_” mode, using PHP8, WP v5.7.2 and Trust Payments 3.0.5.
——————————————–
PHP Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.0.) in /public_html/wp-includes/functions.php on line 5313PHP Warning: Undefined array key “wc-st_gateway-payment-token” in /public_html/wp-content/plugins/secure-trading-gateway-for-woocommerce/classes/class-wc-st-gateway.php on line 804
PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /public_html/wp-content/plugins/secure-trading-gateway-for-woocommerce/vendor/securetrading/stpp_json/src/AbstractRequest.php:20
——————————————–As well as the above I can see the printed HTML on the order received page still shows HTML
<br>
tags as opposed to being correctly rendered.“Payment<br>Last 4 digits of card used: 2701<br>Card Type: VISA”
- The topic ‘PHP Fatal Errors, Warnings – PHP8’ is closed to new replies.