SVG block repeater warning

Hi there,

I am encountering a warning when accessing an svg image with an svg block in a repeater.

Warning: Undefined array key 1 in \wp-content\plugins\cwicly\core\includes\classes\class-acf.php on line 141

Warning: Undefined array key “” in \wp-content\plugins\cwicly\core\includes\classes\class-acf.php on line 141

This only occurs when I try to use the dynamic option in a repeater:

grafik

The same happens when nesting repeaters:
grafik

In queries, the svg block works fine with dynamic data.

I could not test in the Cwicly test environment because SVG uploads are not switchable:

Cheers

  • Firefox
  • WordPress version: 6.4.3
  • Cwicly Plugin version: 1.4

Hello @T-low,

Thanks for the report.
Indeed, I can confirm there is currently an issue retrieving dynamic SVGs in the Repeater block.

We’ll have a fix for this as soon as possible.

Cheers,

1 Like

Hi @T-low,

Thank you for bringing this to our attention!

This should now be fixed with 1.4.0.1:

Kindly let me know if this is the case on your end.

Thank you in advance.