• Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Backend/Core
  • Assigned To No-one
  • Operating System Windows 10
  • Severity Medium
  • Priority Very Low
  • Reported Version 1.0 devel (github master)
  • Due in Version 1.0-rc11
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Flyspray
Opened by lucax - 27.08.2021
Last edited by peterdd - 14.04.2022

FS#2652 - Invalid argument supplied for foreach() in /var/www/html/includes/


I have the last version rc10

When I try to update/delete a item from a list in “Categories” I have this message in the top of the page:


Warning: Invalid argument supplied for foreach() in /var/www/html/includes/ on line 2215

When I try to update/delete a item from a list in “Versions” I have this message in the top of the page:


Warning: Invalid argument supplied for foreach() in /var/www/html/includes/ on line 2119 


Warning: Invalid argument supplied for foreach() in /var/www/html/includes/ on line 2215
Closed by  peterdd
14.04.2022 08:34
Reason for closing:  Not a bug
Additional comments about closing:  

as it is in unmaintained unofficial docker version

Project Manager

Could you please provide the PHP version, ADODB version, Database info?

How do you run it under Windows 10? Using wampp?

You can find the info easy in the admin checks area.

lucax commented on 27.08.2021 17:13

PHP version: 7.4.22
ADOdb version: 5.21.0
Swiftmailer version: Swift-5.4.12
HTMLPurifier version: 4.13.0
passwdcrypt: sha512

Default character set: en_US.utf8
Default collation: en_US.utf8

The client is w10, the server is a docker from this repository:

Everything works correctly only has problems with the lists

Project Manager

Is the Docker you use patching Flyspray’s version of into ADOdb 5.21.0 ?

Before ADOdb 5.21.0 Flyspray detected it on install and pointed the user to the required replacing/patching. As the detection not works anymore I added the patching to the composer.json itself, see

cp setup/upgrade/1.0/ vendor/adodb/adodb-php/datadict/
lucax commented on 27.08.2021 19:03

Sorry, I only use "docker-compose up -d" and the magic started.

I replace



cp vendor/adodb/adodb-php/datadict/

but still not working :(

Project Manager


Could you please add a screenshot of your




to make it a bit easier to reproduce?

lucax commented on 27.08.2021 19:30

Those are the screenshoots

Project Manager

Are you really using 1.0-rc10 and not the dev version?

I was able to reproduce on github master version.
And I know why this warning appears as I changed something but not yet finished it, will be finished in the next rc11 release.

But not with the rc10 release.

lucax commented on 27.08.2021 23:01

I use the docker version

RUN set -ex; \
        curl -fsSL -o flyspray.tar.gz \
                ""; \
  tar -xzf flyspray.tar.gz -C /usr/src; \
  rm flyspray.tar.gz; \
        mv /usr/src/flyspray-master /usr/src/flyspray; \
        cd /usr/src/flyspray; \
        curl -sS | php; \
        php composer.phar install --no-dev

How can I change the master(rc11 dev) to rc10?

Thanx a lot!

Project Manager

@lucax please contact the author @bbase of this docker experiment

as I am not using docker.

The issue you had is only with the current dev version.

lucax commented on 01.09.2021 00:28

OK, Thaks for you support!

FlySpray is a Great Software, congratulations.

bbase commented on 14.10.2021 10:52

I just noticed this issue. I haven't noticed the notification mail…

Anyhow. Regarding the different releases.

There is a template for the Dockerfiles and build directories. It is used to derive discreet build directories, one for each release, and one for the master branch.

In the readme of the repository, I stated the commands to build the container for the master branch. In the section Just get started, instead of changing into the master/apache directory, use 1.0-r10/apache.

Since preparing the docker container was mainly an exercise, thinking initially this would be a useful contribution, I did not invested a lot of time to thoroughly test the container building. That's why I won't put the container into docker's registry - until maybe there is some real usage to be expected.

bbase commented on 14.10.2021 10:57

Correction: 1.0-rc10/apache


Available keyboard shortcuts


Task Details

Task Editing