[Fatal error] Cannot access protected property Drupal\field\Entity\FieldStorageConfig::$type
[0] file:///var/www/site/docroot/profiles/hungry_kickstart/modules/contrib/office_hours/office_hours.module.office_hours_form_field_ui_field_storage_edit_form_alter:63
[1] file:///var/www/site/docroot/core/lib/Drupal/Core/Extension/ModuleHandler.php.Drupal\Core\Extension\ModuleHandler->alter:494
[2] file:///var/www/site/docroot/core/lib/Drupal/Core/Form/FormBuilder.php.Drupal\Core\Form\FormBuilder->prepareForm:633
[3] file:///var/www/site/docroot/core/lib/Drupal/Core/Form/FormBuilder.php.Drupal\Core\Form\FormBuilder->buildForm:211
[4] file:///var/www/site/docroot/core/lib/Drupal/Core/Controller/FormController.php.Drupal\Core\Controller\FormController->getContentResult:79
[5] file:///var/www/site/docroot/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php.call_user_func_array:145
[6] file:///var/www/site/docroot/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php.Symfony\Component\HttpKernel\HttpKernel->handleRaw:145
[7] file:///var/www/site/docroot/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpKernel.php.Symfony\Component\HttpKernel\HttpKernel->handle:66
[8] file:///var/www/site/docroot/core/lib/Drupal/Core/StackMiddleware/Session.php.Drupal\Core\StackMiddleware\Session->handle:62
[9] file:///var/www/site/docroot/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php.Drupal\Core\StackMiddleware\KernelPreHandle->handle:53
[10] file:///var/www/site/docroot/core/lib/Drupal/Core/StackMiddleware/PageCache.php.Drupal\Core\StackMiddleware\PageCache->pass:115
[11] file:///var/www/site/docroot/core/lib/Drupal/Core/StackMiddleware/PageCache.php.Drupal\Core\StackMiddleware\PageCache->handle:94
[12] file:///var/www/site/docroot/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php.Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle:58
[13] file:///var/www/site/docroot/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php.Drupal\Core\StackMiddleware\NegotiationMiddleware->handle:65
[14] file:///var/www/site/docroot/core/vendor/stack/builder/src/Stack/StackedHttpKernel.php.Stack\StackedHttpKernel->handle:23
[15] file:///var/www/site/docroot/core/lib/Drupal/Core/DrupalKernel.php.Drupal\Core\DrupalKernel->handle:565
[16] file:///var/www/site/docroot/index.php.{main}:24
Comment | File | Size | Author |
---|---|---|---|
#1 | 2485433-1-fatal_error_on_field_settings_page.patch | 833 bytes | Mschudders |
Comments
Comment #1
Mschudders CreditAttribution: Mschudders at Randstad Digital commentedComment #2
Mschudders CreditAttribution: Mschudders at Randstad Digital commentedThis happens when you try to edit the field.
For example: admin/structure/types/manage/shop/fields/node.shop.field_opening_hours
Comment #3
Mschudders CreditAttribution: Mschudders at Randstad Digital commentedComment #4
johnvThe Widget interface was changed. Repaired this.
The office_hours widget still has a bug: setting the cardinality to the field is necessary for having multiple slots per day, but this insert a '+' in front of the widget.