You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When comparing old and new version of a record while debug mode is switched on I get:
Warning: strncmp() expects parameter 1 to be string, array given
Exception Logs 1 Stack Trace
ErrorException
in vendor/contao/core-bundle/src/Resources/contao/classes/Versions.php (line 508)
It however works when debug mode is switched off.
How to reproduce
Define a DCA field using Doctrine Schema Representation as described in the documentation, e.g.:
Affected version(s)
Contao 4.8.7
Description
When comparing old and new version of a record while debug mode is switched on I get:
It however works when debug mode is switched off.
How to reproduce
Define a DCA field using Doctrine Schema Representation as described in the documentation, e.g.:
instead of
create a new version of such a record and click the compare icon with debug mode switched on.
Cause is probably the
DCAExtractor
which usesand thus creating an array entry as opposed to the expected string entry.
The text was updated successfully, but these errors were encountered: