jan-vince/smallcontactform

Error with php 8.0

kavishdahekar opened this issue · 0 comments

Error encountered on backend dashboard:

"Required parameter $formAlias follows optional parameter $componentProperties" on line 353 of /..path../plugins/janvince/smallcontactform/models/Message.php

Issue : php 8.0 enforces a stricter order on default and required arguments.

Reference : https://www.php.net/manual/en/migration80.deprecated.php

Solution : php documentation suggests we simply remove the default argument value.