Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find component class 'fruitstudios\linkit\fields\LinkitField'. #117

Open
theskyfloor opened this issue Sep 17, 2024 · 1 comment

Comments

@theskyfloor
Copy link

I recently helped a client update from Craft 3 to Craft 4... everything seemed fine but recently they noticed links had stopped working. I went to investigate and saw this error in the backend:

Unable to find component class 'fruitstudios\linkit\fields\LinkitField'.

When I checked on the field that had the LinkIt it had a blank spot for fieldtype, I attempted to switch that to LinkIt since thats installed under pressed digital but now I just get this error on the front-end and back-end:

Class "fruitstudios\linkit\models\Url" not found

Any tips?

@theskyfloor
Copy link
Author

theskyfloor commented Sep 17, 2024

I ended up fixing this by adding:

"replace": { "fruitstudios/linkit": "*" },

to the composer.json and dumping the autoload but this feels very silly for me to have to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant