Skip to content

PHP 8 compatibility issue #98

@cornemrc

Description

@cornemrc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions