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

GetFields needs to be changed to GetCustomFields for Craft4 #25

Open
seanconn opened this issue Apr 26, 2023 · 1 comment
Open

GetFields needs to be changed to GetCustomFields for Craft4 #25

seanconn opened this issue Apr 26, 2023 · 1 comment

Comments

@seanconn
Copy link

src\twigextensions\ReadTimeTwigExtension.php

Getting twig error

There are references to getFieldLayout()->getFields() in the above file

Had to change this locally to getFieldLayout()->getCustomFields()

to fix

@mikolamin
Copy link

@jalendport please pay attention to this problem

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

2 participants