Jump to content

Recommended Posts

Posted

Hi all,

I just upgraded a site from 3.0.148 to 3.0.184 recently, by swapping out the Wire folder and replacing the root htaccess file.

Site is running on PHP 7.4

However I'm getting a bunch of Interface related errors such as:

Quote

Fatal Error: Uncaught Error: Interface 'ProcessWire\FieldtypeHasFiles' not found in /var/www/vhosts/example.com/httpdocs/www/wire/modules/Fieldtype/FieldtypeFile/FieldtypeFile.module:21

Out of curiosity, I actually went into this file and removed the the interface FieldtypeHasFiles from the implements statement, which then threw up another interface related error for a FiletypeImage.

So I checked and the interfaces.php file is definitely there, so im thinking its a path issue of some sort?

Has anybody experienced anything similar and have any ideas on how to resolve?

 

Posted

I always do wire version switches including this steps:

  • with old wire version, make a db dump, but for all caches use drop table, create table, without inserts. Or, if you are able, remove the inserts in the live db.
  • remove all files within the cache disc subdirectories
  • switch wire folder, load the admin for 2 or 3 times

Then its done for me in 99%.

  • Like 2
Posted

@horst Thats pretty much my own process.

Cleared out assets/cache, cleared the caches table form the DB but still running into the same fatal error.

For context I can't access any pages including the admin, to run a module refresh etc

Posted

Ah, - what about a DB dump without inserts for caches? Have you one and can upload it through phpmyadmin or the like? (Thats instead of module refreshes, without needing the admin IF)

Otherwise you have to switch back to wire 3.0.148 first.

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
×
×
  • Create New...