EE4 compatibility updates:
- Publisher is EE4 and EE5 compatible, but it does not currently support the Fluid field (it's in the works).
- Reel is EE4 and EE5 compatible, but it does not currently support the Fluid field.
Ticket: Fatal error: Uncaught Error: Call to undefined method Basee\App::isGteEE4()
Status | Resolved |
Add-on / Version | Bloqs 4.0.13 |
Severity | |
EE Version | 4.3.6 |
Andrew Studios
Nov 26, 2018Hey Brian,
I’m getting the following error when I upgraded from Bloqs 4.0.0 to 4.0.12 ... and I’m still getting the error with 4.0.13. I’m using PHP 7.2, and latest version of EE4.
The full error is:
Fatal error: Uncaught Error: Call to undefined method Basee\App::isGteEE4() in xxx/system/user/addons/bloqs/libraries/EEBlocks/Controller/PublishController.php:456 Stack trace: #0 xxx/system/user/addons/bloqs/libraries/EEBlocks/Controller/PublishController.php(179): EEBlocks\Controller\PublishController->publishAtom(3871, Object(EEBlocks\Model\AtomDefinition), 6, ‘blocks_block_id…’, ‘’) #1 xxx/system/user/addons/bloqs/libraries/EEBlocks/Controller/PublishController.php(99): EEBlocks\Controller\PublishController->renderBlock(6, Object(EEBlocks\Model\Block)) #2 xxx/system/user/addons/bloqs/ft.bloqs.php(202): EEBlocks\Controller\PublishController->displayField(6, Array, Array) #3 xxx/system/ee/legacy/fieldtypes/EE_Fieldtype.php(325): Bloq in xxx/system/user/addons/bloqs/libraries/EEBlocks/Controller/PublishController.php on line 456
(obviously I’ve changed the full path to relevant files to xxx)
I’ve got a quick fix in place, but thought you should know that this is still an issue. It is similar to ticket number 1876.
Thanks mate!
Cheers.
BoldMinded (Brian)
Nov 26, 2018Do you have any of my other add-ons installed? Publisher, Simple Tables etc? If so make sure to update those too. They all have that package installed, and since EE doesn’t have a global Composer file you may be loading different versions, and in this case Bloqs is loading the incorrect/old version.
BoldMinded (Brian)
Nov 26, 2018Upgrade to Publisher 2.10.3.
Andrew Studios
Nov 26, 2018Have just done that, and cleared my cache (and also tried in Incognito window) ... but didn’t fix the issue.
BoldMinded (Brian)
Nov 26, 2018Any other of my add-ons? Try searching the entire add-on folder for “namespace Basee” to see if there are other copies of that file laying around.
Andrew Studios
Nov 26, 2018There are 6 files in total that have “namespace Basee” in them ... 3 for Bloqs (App.php, Updater.php, AbstractUpdate.php) and 3 for Publisher (App.php, Updater.php, AbstractUpdate.php).
BoldMinded (Brian)
Nov 26, 2018What about searching for all instances of the App.php file to see if that function exists in all of them?
Andrew Studios
Nov 28, 2018Sorry for the delayed response. You were right ... it wasn’t in the Publisher version of App.php.
BoldMinded (Brian)
Nov 29, 2018It looks like I forgot to update it’s dependancies :(
I’ll get a new build out today.