Hi, I just upgraded to EE 4.0.9 from EE 3.5.15 and from the newest EE2. I had a few Matrix and Playa fields and ran the converter to Grid/Relationship while on EE2.
Now I can’t edit or add fields in EE4. I get this error when clicking “New Field”:
Fatal error: Call to a member function accepts_content_type() on boolean in /var/www/virtual/{WEBSITE}/htdocs/manager/ee/EllisLab/Addons/grid/libraries/Grid_lib.php on line 665
Has anyone run into this?
Did you run all the updates successfully? (In line with your other thread)
If so, check your exp_fieldtypes table for add-ons that are no longer installed. It’s possible that someone removed the files but didn’t uninstall the add-on, or that the add-on did not clean up after itself.
I have the same issue. I upgraded a site from EE 4.3.4 to EE 5. At first I didn’t notice the problem. It is only when I go into channel manager and try to edit a channel that I see the error:
>Fatal error: Uncaught Error: Call to a member function accepts_content_type() on bool in /<local file path>/deploy/sys/ee/EllisLab/Addons/grid/libraries/Grid_lib.php on line 681 > ( ! ) Error: Call to a member function accepts_content_type() on bool in /<local file path>/deploy/sys/ee/EllisLab/Addons/grid/libraries/Grid_lib.php on line 681
I can’t see anything unusual in exp_fieldtypes
Where else should I look? Thanks, Dorothy
FYI If it is helpful to anyone else, i got this error upgrading from EE2 because the grid field type was uninstalled since the site was not using grid. without noticing, i ran the playa matrix importer and it did not give any errors and successfully created the fields in the entries. I did not see the issue until i tried to get into mange the channel fields.
So, before my next attempt to upgrade i installed all the fields that were not being used that EE comes with and ran the upgrade again successfully.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.