benbyf Posted March 8, 2023 Share Posted March 8, 2023 Just upgrading from PWP3.0146 to latest as well as php7.4 to php8.0 and getting this error on any page in the admin with an image field Method. Any help would be wicked. FieldtypeFile::getValidFileExtensions does not exist or is not callable in this context Link to comment Share on other sites More sharing options...
BitPoet Posted March 8, 2023 Share Posted March 8, 2023 This seems to imply that the version of FieldtypeFile in memory is still at 3.0.146, since getValidFileExtensions was added in release 3.0.167. Clean out site/assets/cache/FileCompiler and make sure that FieldtypeFile is in fact found at wire/modules/FieldtypeFile. 2 Link to comment Share on other sites More sharing options...
benbyf Posted March 9, 2023 Author Share Posted March 9, 2023 Thanks @BitPoet but no dice. It's also complaining about gropimage no longer working but im unable to change those fields to normal image fields... just text by default - wonder if thats part of it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now