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 five.pt.engine, line 93, in call
Module z3c.pt.pagetemplate, 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 447e0d9d5c6ce0717143f3ece8c17630.py, line 964, in render
Module c773b65c74a01f6784c5dba96d8e150f.py, line 1223, in render_master
Module c773b65c74a01f6784c5dba96d8e150f.py, line 420, in render_content
Module 447e0d9d5c6ce0717143f3ece8c17630.py, line 952, in __fill_content_core
Module 447e0d9d5c6ce0717143f3ece8c17630.py, line 331, in render_content_core
Module 416a8fdd548c3758fbe7323b3f50d038.py, line 368, in render_body
Module f45a352e893a4ada9de05a95f1faa994.py, line 138, in render_edit
Module a0ca48792fdfd3a6016c25fdbb4c46a7.py, line 665, in render_edit
Module f45a352e893a4ada9de05a95f1faa994.py, 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/patterns_widget.pt
  • Location: (line 19: col 36)
  • Source: ... tructure python:widget.edit(context, field, request)">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  • Expression: "provider:archetypes.edit.beforefieldsets|nothing"
  • Filename: ... cts/PloneFormGen/skins/PloneFormGen/fg_edit_macros_p3.pt
  • 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