• Resolved evergf88

    (@evergf88)


    Hi Miles, nice to salute you again and thanks for your work on AREOI.

    After the update to 1.3.20 i receive an error:

    Uncaught TypeError: Cannot access offset of type string on string in **WEBPAGE**/public_html/wp-content/plugins/all-bootstrap-blocks/blocks/_partials/background.php:34

    This is the line with the problem:

    style="background: ' . areoi_get_rgba_str( $attributes['background_color']['rgb'] ) . '">

    The error repeats on line 54.

    The problem shows when i have a areoi/post-grid gutemberg block with “Display background active” and a color background = #F0F2F5.

    The $attributes[‘background-color’][‘rbg’] value is array([r] => 240, [g] => 242, [b] => 245, [a] => 1)

    Reverting to 1.3.19 fixes the error.

    Thanks for your help

Viewing 1 replies (of 1 total)
  • Plugin Author Miles

    (@areoimiles)

    Hi @evergf88

    Thank you for flagging this issue and thanks for the detailed description of the error. I have just released an update (1.3.21) which should resolve this for you. However, if you continue to have issues, please don’t hesitate to get back in touch.

    Thanks
    Miles

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught TypeError in AREOI 1.3.20’ is closed to new replies.