PFG - Adding RichText field breaks view

I'm running PFG 1.8.0 on Plone 5.0 Everything works smoothly until I add a RichText field to a form. We then get the following error

Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Products.CMFFormController.FSControllerPageTemplate, line 91, in call
Module Products.CMFFormController.BaseControllerPageTemplate, line 32, in _call
Module Shared.DC.Scripts.Bindings, line 322, in call
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 237, in _exec
Module Products.CMFCore.FSPageTemplate, line 177, in pt_render
Module Products.PageTemplates.PageTemplate, line 87, in pt_render
Module zope.pagetemplate.pagetemplate, line 132, in pt_render
Module, line 93, in call
Module, line 163, in render
Module chameleon.zpt.template, line 258, in render
Module chameleon.template, line 191, in render
Module chameleon.template, line 171, in render
Module, line 964, in render
Module, line 1223, in render_master
Module, line 420, in render_content
Module, line 952, in __fill_content_core
Module, line 331, in render_content_core
Module, line 368, in render_body
Module, line 138, in render_edit
Module, line 665, in render_edit
Module, line 100, in __fill_widget_body
Module Products.Archetypes.Widget, line 1396, in edit
Module Products.Archetypes.Widget, line 1366, in _base_args
TypeError: archetypes.edit.beforefieldsets|nothing

  • Expression: "python:widget.edit(context, field, request)"
  • Filename: ... Products/Archetypes/browser/templates/
  • Location: (line 19: col 36)
  • Source: ... tructure python:widget.edit(context, field, request)">
  • Expression: "provider:archetypes.edit.beforefieldsets|nothing"
  • Filename: ... cts/PloneFormGen/skins/PloneFormGen/
  • Location: (line 92: col 38)
  • Source: ... tructure provider:archetypes.edit.beforefieldsets|nothing"
  • Arguments: repeat: {...} (0)
    template: <ImplicitAcquisitionWrapper fg_base_view_p3 at 0x7fbdc89adc80>
    modules: <instance - at 0x7fbde34b1dd0>
    portal_type: formrichtextfield
    here: <ImplicitAcquisitionWrapper sop at 0x7fbdc89ad3c0>
    js: <list - at 0x7fbdc61205a8>
    portal: <ImplicitAcquisitionWrapper Plone at 0x7fbdb590b460>
    user: <ImplicitAcquisitionWrapper - at 0x7fbdc89ad820>
    loop: {...} (1)
    nothing: <NoneType - at 0x91a870>
    target_language: <NoneType - at 0x91a870>
    container: <ImplicitAcquisitionWrapper sop at 0x7fbdc89ad3c0>
    default: <object - at 0x7fbdeaf16510>
    fields: <tuple - at 0x7fbdb59cd3d0>
    request: <instance - at 0x7fbdc71015f0>
    wrapped_repeat: <SafeMapping - at 0x7fbdc4e37c00>
    traverse_subpath: <list - at 0x7fbdc4996b48>
    context: <ImplicitAcquisitionWrapper sop at 0x7fbdc89ad3c0>
    translate: <function translate at 0x7fbdc8add938>
    root: <ImplicitAcquisitionWrapper Zope at 0x7fbdb590b280>
    options: {...} (2)
    css: <list - at 0x7fbdc49963f8>

(late response! just ran into this myself) This was filed here, but not closed