[Bug]: Workflow app php errors
@blizzz is already working on this.
Since Aug 26, 2025.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Describe the bug
Nextcloud 31.0.8
php 8.2.29
My log is full of these:
foreach() argument must be of type array|object, bool given at /var/www/nextcloud/apps/workflowengine/lib/AppInfo/Application.php#52
Full log:
{"reqId":"xqgyKHE3FQ1Nx0YFwb7r","level":2,"time":"August 17, 2025 01:40:23","remoteAddr":"165.140.184.34","user":"w0vg","app":"PHP","method":"GET","url":"/nextcloud/ocs/v2.php/apps/user_status/api/v1/user_status?format=json","message":"foreach() argument must be of type array|object, bool given at /var/www/nextcloud/apps/workflowengine/lib/AppInfo/Application.php#52","userAgent":"Mozilla/5.0 (Windows) mirall/3.16.6 (build 20250618) (Nextcloud, windows-10.0.22621 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"31.0.8.1","clientReqId":"bd923bb2-1f8c-4ee3-b8ae-d
94ce191b4ee","data":{"app":"PHP"}}
I've manually replaced the workflow engine app from the release tarball and this still happens.
Steps/Code to Reproduce
User access generates the error
Expected Results
No error
Actual Results
As in the description
Setup configuration
Nextcloud 31.0.8
php 8.2.29
Debian bookworm
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.