Jump to content

Upgrading from 3.0.148 to 3.0.184 throws fatal Interface errors


999design
 Share

Recommended Posts

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?

 

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

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

×
×
  • Create New...