Bug #23412 Bug Fixed

Deleting all content in a Fluid field throws errors.

Version: 4.0.5 Reporter: Mike Mella

Steps:

  1. Publish an entry in a channel that has a Fluid field, ensuring that the Fluid field has some content.
  2. Edit that entry and delete all the Fluid content.

This will throw the errors below. I have tested this in a channel where the only content stored in the Fluid field was a text input field.

Notice
Undefined index: fields
ee/EllisLab/Addons/fluid_field/ft.fluid_field.php, line 141

Severity: E_NOTICE
Warning
Invalid argument supplied for foreach()
ee/EllisLab/Addons/fluid_field/ft.fluid_field.php, line 141

Severity: E_WARNING
Notice
Undefined index: fields
ee/EllisLab/Addons/fluid_field/ft.fluid_field.php, line 167

Severity: E_NOTICE
Warning
Invalid argument supplied for foreach()
ee/EllisLab/Addons/fluid_field/ft.fluid_field.php, line 167

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)
ee/legacy/core/Input.php, line 233

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)
ee/legacy/core/Input.php, line 233

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)
ee/legacy/core/Input.php, line 233

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)
ee/legacy/core/Input.php, line 233

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:111)
ee/legacy/libraries/Functions.php, line 392

Severity: E_WARNING
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases