formie
formie copied to clipboard
Formie log file: Setting unknown property
Describe the bug
Hi
Since upgrading to Craft 4, I'm seeing this line appear in the Formie log whenever I hit a particular page containing a Formie form:
2023-03-08 10:43:41 [INFO] Setting unknown property: verbb\formie\fields\formfields\Hidden::options /xxx/vendor/yiisoft/yii2/base/Component.php:209
2023-03-08 10:43:41 [INFO] Request context:
$_GET = [
'p' => 'my-page-url'
]
Within this form I'm using a Recipients field with a display type of 'hidden'.
I should note that the form all works as expected! The value is added to my field using populateFormValues as follows:
{% do craft.formie.populateFormValues('myForm', {
hiddenEmail: recipientEmail,
}) %}
{{ craft.formie.renderForm( 'myForm' ) }}
As I said, everything works as expected. I'm just not sure why I'm seeing the 'unknown property' entry in the log every time this page is visited.
Thanks for any insight!
Steps to reproduce
- Visit a form containing a Recipient field with a Display Type of 'Hidden
- Check the log
Form settings
- Multi-page form: No
- Submission Method: Ajax
- Client-side Validation: Yes
- Custom Form Templates: No
Craft CMS version
4.3.10
Plugin version
2.0.24
Multi-site?
No
Additional context
It seems to only be happening, or at least being added to the log file, since upgrading to Craft 4
Won't be an issue to any functionality, but fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-4 as 2.0.24"
.
Thanks Josh
Updated in 2.0.25
This is happening for me after upgrading a Craft 4 site to Craft 5.
Setting unknown property: verbb\formie\models\FieldLayoutPage::notificationFlag
Get this error when creating a new form using the Contact stencil, but not when using the Basic stencil (works okay).
Fixed for the next release. To get this early, run composer require verbb/formie:"dev-craft-5 as 3.0.0-beta.5"
.
Fixed in 3.0.0-beta.6