sebastian-lenz / craft-linkfield

Link field for Craft 3
MIT License
122 stars 65 forks source link

Declaration PHP Compile Error after Craft 3 => 4 upgrade #270

Closed sander-lameco closed 1 year ago

sander-lameco commented 1 year ago

So the error we're getting whenever we try to enter the CP:

Declaration of modules\craftutilitiesmodule\models\element\FormLinkType::rules() must be compatible with lenz\linkfield\models\LinkType::rules(): array

The upgrade and migrations where successful so I'm not sure was seems to be causing the problem here.

Versions:

If you require more information I can provide more.

Also opened a ticket over at Craft CMS https://github.com/sebastian-lenz/craft-linkfield/issues/270 if this is Craft related.

sander-lameco commented 1 year ago

Issue can be closed since I found the issue. This is a project we took over from another agency and they had a custom module which didn't match with the requirements after the update.

sebastian-lenz commented 1 year ago

Okay, great, thanks for the update!