When using Joomla’s versioning system to compare two versions of an item that includes subform fields, the following error is thrown:
htmlspecialchars(): Argument #1 ($string) must be of type string, stdClass given
This occurs when subform field values are stored as an object (stdClass
) and Joomla attempts to render them as if they were simple strings.
Joomla should highlight the specific changes in subform values without throwing an error.
The system throws the following error:
htmlspecialchars(): Argument #1 ($string) must be of type string, stdClass given
com_content
with subform fields) and custom components generated by Component Creator.Labels |
Added:
No Code Attached Yet
|
@richard67 Joomla 5.3
I am unable to replucate this with core com_content and subforms. Are you sure? This does not surprise me as versioning of custom fields is not currently supported and is why we have a pr in progress to add that
@deepalimad Which Joomla version?