On our version 3.28.0, with the Trigger Manager, attempting to create a new child, or to aquire a lock on an existing trigger generates 18 "PHP Warnings":
Message: htmlspecialchars() expects parameter 1 to be string, array given
Backtrace: Show[/quote]
and on the Trigger | Details screen, under "Events", instead of displaying 27 checkboxes each with an event name, it diplays the 27 checkboxes each with the word "Array"
Do you know, or can you suggest what might have gone wrong?
Any help you can give will be greatly appreciated.
We have tried those steps, but the problem remains.
We upgraded from V3.26.0 progressively to V3.26.1 through V3.26.2 to V3.26.3 and to V3.26.4, following the steps per the upgrade instructions, then from V3.26.4. to V3.28.0.
There were no errors during the upgrades.
Instead of overwriting the existing code we put the new source code in a new directory, and renamed the directories.
But we have discoverd the the problem is not only with the Trigger Manager, it also applies to the Paint Layout.
On Paint Layout, acquiring a lock fails to populate the combo box “Add Custom Asset Type” on the Paint Layout Details Screen.
Hi,
I had a look and this really surprises me. The end class it is complaining about seems to be working fine. Was it working fine on any of the 3.26.X version ? Or rather what was the version you had previously that it was working fine on ?
We didn't find ot what was wrong, but the problem was solved by installing V3.28.1. Then we migrated the old database to the new installation, following the upgrade instructions.
I've seen this before, and actually ran into it again today. I didn't get a chance to fully debug it, but I discovered that this probably occurs when step_03.php does not finish correctly.
More specifically, step_03.php calls uninstall_asset_types() at the very beginning. It then loops over all the files and installs all the types again. In between the point where it removes them and then installs them all again, anything in the system thats getting a list of installed types seems to just return "Array".
I bumped into this on a system that was taking a long time to run step_03.php, and reproduced it by putting in a pause just after the uninstall_asset_types() call.
So anyone else who comes across this again, make sure your step_03.php finishes normally (meaning it should finish with "ASSET TYPES CACHED").