Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.2] Undefined property: stdClass::$modified_by #44947

Open
QuyTon opened this issue Feb 19, 2025 · 3 comments
Open

[5.2] Undefined property: stdClass::$modified_by #44947

QuyTon opened this issue Feb 19, 2025 · 3 comments

Comments

@QuyTon
Copy link
Contributor

QuyTon commented Feb 19, 2025

Steps to reproduce the issue

Do an API call to /api/index.php/v1/newsfeeds/feeds.
See PHP error log.

Actual result

Undefined property: stdClass::$modified_by in \api\components\com_newsfeeds\src\Serializer\NewsfeedSerializer.php on line 110
Undefined property: stdClass::$modified_by in \api\components\com_newsfeeds\src\Serializer\NewsfeedSerializer.php on line 111

@brianteeman
Copy link
Contributor

#44914

@QuyTon
Copy link
Contributor Author

QuyTon commented Feb 19, 2025

Sadly, this PR does not fix the issue.

@AkameOuO
Copy link
Contributor

modified_by is in JsonapiView::$relationship but not in JsonapiView::$fieldsToRenderList and Model::getListQuery

BTW, It also happens when calling to /api/index.php/v1/contacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants