com_api-plugins icon indicating copy to clipboard operation
com_api-plugins copied to clipboard

PHP 8 compatibility issue

Open cornemrc opened this issue 2 years ago • 0 comments

Hello,

I am using the get articles list of the articles plugin without any issues for years.

GET /index.php?option=com_api&app=articles&resource=article&format=raw

As PHP 7.4 is now out of support, we have to move on to PHP 8. But as soon as I switch from 7.4 to 8, I receive an error for this GET request. It seems like some kind of nullpointer exception.

0 - Attempting to assign property "id" on "null"

Are there any plans to fix that or can you tell me how to do so? As soon as I switch back to PHP 7.4 everything is fine again.

API framework is already updated to v3.0.2 but no improvement.

cornemrc avatar Jan 07 '23 07:01 cornemrc