Jump to content

update to php8.0 - getValidFileExtensions does not exist


benbyf
 Share

Recommended Posts

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

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.

  • Like 2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...