amphibian / time_select.ee_addon

Fieldtype for ExpressionEngine® 2 and 3 that offers a configurable dropdown menu of times.
10 stars 3 forks source link

Error when using in Grid Field #6

Open ghost opened 6 years ago

ghost commented 6 years ago

I installed Time Select and am using it in a Grid field. I am able to add/edit the channel entry containing the field, however when I try to edit a channel or add a field to the site I get this error. I get the same error when I edit the Grid Field containing the Time Select field. Happens with extensions disabled too.

We are running PHP7 MySQL 5.6.36-82.0 Thanks for your help.

(See the error below, I replaced the domain)

Fatal error: Uncaught Error: Call to a member function accepts_content_type() on boolean in /chroot/home/digitald/domain.com/html/lcmin/ee/EllisLab/Addons/grid/libraries/Grid_lib.php:665 Stack trace: #0 /chroot/home/digitald/domain.com/html/lcmin/ee/EllisLab/Addons/grid/ft.grid.php(443): Grid_lib->get_grid_fieldtypes() #1 /chroot/home/digitald/domain.com/html/lcmin/ee/legacy/libraries/api/Api_channel_fields.php(408): Grid_ft->display_settings(Array) #2 /chroot/home/digitald/domain.com/html/lcmin/ee/EllisLab/ExpressionEngine/Model/Content/FieldFacade.php(225): Api_channel_fields->apply(‘display_setting…’, Array) #3 /chroot/home/digitald/domain.com/html/lcmin/ee/EllisLab/ExpressionEngine/Model/Content/FieldModel.php(71): EllisLab\ExpressionEngine\Model\Content\FieldFacade->getSettingsForm() #4 /chroot/home/digitald/domain.com/html/lcmin/ee/EllisLab/ExpressionEngine/Controller/Fields/Fields.php(605): EllisLab\ExpressionEngine\Model\Content\FieldModel->getSettingsForm() #5 /ch in /chroot/home/digitald/domain.com/html/lcmin/ee/EllisLab/Addons/grid/libraries/Grid_lib.php on line 665 E_ERROR Error in file Grid_lib.php at line 665: Uncaught Error: Call to a member function accepts_content_type() on boolean in /chroot/home/digitald/domain.com/html/lcmin/ee/EllisLab/Addons/grid/libraries/Grid_lib.php:665 Stack trace: #0 /chroot/home/digitald/domain.com/html/lcmin/ee/EllisLab/Addons/grid/ft.grid.php(443): Grid_lib->get_grid_fieldtypes() #1 /chroot/home/digitald/domain.com/html/lcmin/ee/legacy/libraries/api/Api_channel_fields.php(408): Grid_ft->display_settings(Array) #2 /chroot/home/digitald/domain.com/html/lcmin/ee/EllisLab/ExpressionEngine/Model/Content/FieldFacade.php(225): Api_channel_fields->apply(‘display_setting…’, Array) #3 /chroot/home/digitald/domain.com/html/lcmin/ee/EllisLab/ExpressionEngine/Model/Content/FieldModel.php(71): EllisLab\ExpressionEngine\Model\Content\FieldFacade->getSettingsForm() #4 /chroot/home/digitald/domain.com/html/lcmin/ee/EllisLab/ExpressionEngine/Controller/Fields/Fields.php(605): EllisLab\ExpressionEngine\Model\Content\FieldModel->getSettingsForm() #5 /ch

amphibian commented 6 years ago

What version of EE is this under? I can't replicate this locally with EE 4.1.2. And can you confirm that you're using the latest version of Time Select (1.2.2)?