Bug PHP 8.1: XF\Repository\Payment#logCallback, strlen()

There is a bug in this version
P

PaulB

Guest
Code:

ErrorException: Error logging payment to payment provider: [E_DEPRECATED] strlen(): Passing null to parameter #1 ($string) of type string is deprecated src/XF/Repository/Payment.php:103

Code:

Code:
#0 src/XF/Repository/Payment.php(103): XF::handlePhpError(8192, '[E_DEPRECATED] ...', 's...', 103)
#1 src/XF/Payment/AbstractProvider.php(229): XF\Repository\Payment->logCallback(NULL, 'stripe', '...', 'error', 'Event data rece...', Array, '...')
#2 payment_callback.php(70)...

Read more

Continue reading...