Search the Community
Showing results for tags 'interfaces'.
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: 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?
Hi, is there a way to implement own interfaces to processwire modules? I am working on some new "submodules" (putting some optional sub-functionality into modules) and I thought it would be nice if they complied to an interface. I am requiring the interface file in the main module file. Now, the installation of the new sub-module fails with Interface 'ProcessWire\MarkupPwpswpGalleryInterface' not found. ... hm. Any ideas? cheers Steffen