Issue on payment functionnality

I have a issue whenever i want to use payment fonctionnality. When i hit the button I get a blank page with :

Deprecated: Creation of dynamic property GuzzleHttp\Handler\CurlMultiHandler::$_mh is deprecated in /ieshivrin/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php on line 58

Warning: Cannot modify header information - headers already sent by (output started at /ieshivrin/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php:58) in /ieshivrin/src/Services/Payment/Payment.php on line 161

Using latest Gibbon version installed on container running on php:8.2-apache image

Any recommandation on how I can investigate this issue ?

Thanks for your support

Hi @odihamdalaye Gibbon currently supports up to PHP 8.1, however we’re working to find all the 8.2+ related issues to fix them for the upcoming release. Luckily, in your case, this is just a deprecation message (aimed at developers) and not an error.

When you’re using Gibbon, be sure to set the error reporting for your system so that it only logs errors and doesn’t display them to the screens (displaying them is only useful for development, otherwise it’s more secure to not display errors when using any PHP system in production).

There’s two ways to do this, depending on your server setup. You can edit your php.ini file and change display_errors to off. Or, if htaccess is enabled on a folder-level, you can add the following to the bottom of your htaccess file:

php_flag display_errors off

Hi @sandra ,

thanks for the tip, i downgraded my php version, the error is gone now,

Thanks,

1 Like