wolffe / fx-builder

FX Builder is an improved page builder plugin for ClassicPress that provides visual columns in the post editor without using shortcodes.
https://getbutterfly.com/classicpress-plugins/fx-builder/
GNU General Public License v3.0
4 stars 0 forks source link

Warning: Undefined array key “row_html_width” #2

Closed elisabettac77 closed 4 months ago

elisabettac77 commented 4 months ago

ISSUE I get this error after upgrading to latest release (1.2.0) on ClassicPress 2.1, PHP 8.1. It happens only on one of the pages (https://elica-webservices.it/classicpress-resources/).

Warning: Undefined array key “row_html_width” in /data/vhosts/elica-webservices.it/httpdocs/wp-content/plugins/fx-builder/includes/builder/class-functions.php on line 261

EXPECTED BEHAVIOR

No error should be triggered

UNDERLYING PROBLEM the code is trying to access a key named row_html_width from an array element in $rows_data but that key doesn't exist for the specific row being processed ($row_id)

wolffe commented 4 months ago

I know, I fixed it and I will soon push an updated version.

wolffe commented 4 months ago

Update 1.2.1 is live. Please let me know if the error is gone.

elisabettac77 commented 4 months ago

updated, error still shows

Schermata del 2024-06-13 18-37-52

wolffe commented 4 months ago

Can you manually update using this version?

https://getbutterfly.com/static/fx-builder-1.2.1.1.zip

elisabettac77 commented 4 months ago

solved with this last version.

wolffe commented 4 months ago

Perfect! Closing issue.