Apparently VeoWeb.Net1 upgraded PHP. This introduced a bug (feature?) which caused the above warning to be displayed even though the php script appears to work correctly.
Here’s the solution:
The offending line looks something like this:
Replacing it with this:
fixes this problem.
- Now defunct.