ExpressionEngine 7.5 has been Released! Learn More!
Hello,
I upgraded a site from EE 5x to 7.4.10 and before the upgrade I uninstalled Freeform. However, I am getting Errors when I try to access entries in the CP.
ExpressionEngine\Error\AddonNotFound Caught
Unable to load requested fieldtype file: ft.freeform.php. Confirm the fieldtype file is located in the /eesystem/user/addons/ directory
ee/legacy/libraries/api/Api_channel_fields.php:302
Stack Trace: Please include when reporting this error
#0 ee/ExpressionEngine/Library/CP/EntryManager/ColumnFactory.php(193): Api_channel_fields->include_handler('freeform')
#1 [internal function]: ExpressionEngine\Library\CP\EntryManager\ColumnFactory::ExpressionEngine\Library\CP\EntryManager\{closure}('freeform')
#2 ee/ExpressionEngine/Library/CP/EntryManager/ColumnFactory.php(192): array_filter(Array, Object(Closure))
#3 ee/ExpressionEngine/Library/CP/EntryManager/ColumnFactory.php(120): ExpressionEngine\Library\CP\EntryManager\ColumnFactory::getCompatibleFieldtypes()
#4 [internal function]: ExpressionEngine\Library\CP\EntryManager\ColumnFactory::ExpressionEngine\Library\CP\EntryManager\{closure}(Object(ExpressionEngine\Model\Channel\ChannelField))
#5 ee/ExpressionEngine/Library/Data/Collection.php(265): array_filter(Array, Object(Closure))
#6 ee/ExpressionEngine/Service/Model/Collection.php(82): ExpressionEngine\Library\Data\Collection->filter(Object(Closure))
#7 ee/ExpressionEngine/Library/CP/EntryManager/ColumnFactory.php(117): ExpressionEngine\Service\Model\Collection->filter(Object(Closure))
#8 ee/ExpressionEngine/Library/CP/EntryManager/ColumnFactory.php(77): ExpressionEngine\Library\CP\EntryManager\ColumnFactory::getCustomFieldColumns(Object(ExpressionEngine\Model\Channel\Channel))
#9 ee/ExpressionEngine/Service/EntryListing/EntryListing.php(430): ExpressionEngine\Library\CP\EntryManager\ColumnFactory::getAvailableColumns(Object(ExpressionEngine\Model\Channel\Channel))
#10 ee/ExpressionEngine/Service/EntryListing/EntryListing.php(231): ExpressionEngine\Service\EntryListing\EntryListing->createColumnFilter(Object(ExpressionEngine\Model\Channel\Channel))
#11 ee/ExpressionEngine/Service/EntryListing/EntryListing.php(139): ExpressionEngine\Service\EntryListing\EntryListing->setupFilters()
#12 ee/ExpressionEngine/app.setup.php(93): ExpressionEngine\Service\EntryListing\EntryListing->__construct(1, true, Array, 1716988861, false, 'titles', false, NULL, Array)
#13 [internal function]: ExpressionEngine\Core\Application->{closure}(Object(ExpressionEngine\Core\Provider), false, 'titles', false, NULL, Array)
#14 ee/ExpressionEngine/Core/Provider.php(461): call_user_func_array(Object(Closure), Array)
#15 [internal function]: ExpressionEngine\Core\Provider->ExpressionEngine\Core\{closure}(Object(ExpressionEngine\Service\Dependency\InjectionContainer), false, 'titles', false, NULL, Array)
#16 ee/ExpressionEngine/Service/Dependency/InjectionContainer.php(173): call_user_func_array(Object(Closure), Array)
#17 ee/ExpressionEngine/Boot/boot.php(159): ExpressionEngine\Service\Dependency\InjectionContainer->make('CP/EntryListing', false, 'titles', false, NULL, Array)
#18 ee/ExpressionEngine/Controller/Publish/Edit.php(72): ee('CP/EntryListing', false, 'titles', false, NULL, Array)
#19 [internal function]: ExpressionEngine\Controller\Publish\Edit->index()
#20 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array(Array, Array)
#21 ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController(Array)
#22 ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))
#23 admin.php(139): require_once('...')
#23 admin.php(139): require_once('...')
I don’t plan to use Freeform, so I would like to effectively remove the cause of this error.
I would appreciate some guidance on how to do this.
Thanks.
Is it still in use in a channel in your control panel? Or maybe a template that you forgot about? You might also look in the database in the “exp_fieldtypes” and “exp_extensions” tables and see if an entry for that fieldtype got left behind by the uninstaller. If so, you could probably just remove them manually (But BU your database first).
Might also look in the Control panel under “Tools” and have a look at “Debug Template tags” and “Debug FieldTypes”. If you just missed a tag in a template you should find it there I think (I know I have done that before… thought i got them all then hadn’t)
Home maybe there’s something in there to help.
Agree with Russ, it’s likely in the database. Check exp_fieldtypes in particular, but it could also be used in a grid, in which case, check exp_grid_columns. And if you STILL can’t find it, export your database as sql and then open it up in an editor and do a search for freeform - it’s in there somewhere.
Also note- if you do find it in fieldtypes or grid columns? Rather than remove it, I’d change the type to text or something- then you can remove it by deleting the field and not worry about leaving anything behind.
Hat’s off to both of you. I went through all the tools and removed all traces of any missing tags. There was only one template that had a freeform tag. I removed that and then I removed freeform from exp_fieldtypes. When I did that all was right in the world.
Thank you for taking the time to help out. I really appreciate it.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.