PHP 8 – Fatal error
-
We are having the below fatal error when running on PHP 8:
PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /www/givelede_370/public/wp-content/plugins/trust-payments-hosted-payment-pages-integration/vendor/securetrading/stpp_json/src/AbstractRequest.php:20
We think that Line 20 inside
trust-payments-hosted-payment-pages-integration/vendor/securetrading/stpp_json/src/AbstractRequest.php
needs to be changed to:return 'A' . implode($randomChars, []);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP 8 – Fatal error’ is closed to new replies.