Error with new PayPal Plus Plugin

  • Posts: 70
  • Thank you received: 3
  • Hikashop Business
6 months 4 weeks ago #360558

-- HikaShop version -- : 5.0.4
-- Joomla version -- : 5.1.0
-- PHP version -- : 8.1
-- Error-message(debug-mod must be tuned on) -- : Deprecated: Optional parameter $handlers declared before required parameter $method is implicitly treated as a required parameter in /homepages/40/d294820700/htdocs/dev-enzymes/plugins/hikashoppayment/paypalplus/lib/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 53

Hi, I have installed the new PayPal Plus plugin and I get an error when going to the credit card payment screen. My error is as below:
Do you know what this would be:



Deprecated: Optional parameter $handlers declared before required parameter $method is implicitly treated as a required parameter in /homepages/40/d294820700/htdocs/dev-enzymes/plugins/hikashoppayment/paypalplus/lib/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Transport/PayPalRestCall.php on line 53

Fatal error: Declaration of PayPal\Log\PayPalLogger::log($level, $message, array $context = []) must be compatible with Psr\Log\AbstractLogger::log($level, Stringable|string $message, array $context = []): void in /homepages/40/d294820700/htdocs/dev-enzymes/plugins/hikashoppayment/paypalplus/lib/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Log/PayPalLogger.php on line 75
FatalError
HTTP 500 Whoops, looks like something went wrong.
Compile Error: Declaration of PayPal\Log\PayPalLogger::log($level, $message, array $context = []) must be compatible with Psr\Log\AbstractLogger::log($level, Stringable|string $message, array $context = []): void
Symfony\Component\ErrorHandler\Error\ FatalError
Show exception properties
Symfony\Component\ErrorHandler\Error\FatalError {#4386 ▼
-error: array:4 [▶]
}
in /homepages/40/d294820700/htdocs/dev-enzymes/plugins/hikashoppayment/paypalplus/lib/PayPal/vendor/paypal/rest-api-sdk-php/lib/PayPal/Log/PayPalLogger.php (line 75)

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 70
  • Thank you received: 3
  • Hikashop Business
6 months 4 weeks ago #360562

Please ignore this ticket for now I think I found the issue

Please Log in or Create an account to join the conversation.

  • Posts: 137
  • Thank you received: 33
  • MODERATOR
6 months 3 weeks ago #360564

Hello,

Thank you for your feedback, can you give us more information about your issue and if you fixed it ?


Kind regards,
Mohamed.
Tsuki Dev
tsukidev.contact[at]gmail[dot]com

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum