• Resolved Justin McGuire

    (@vijustin)


    The plugin seems to be generating an error when used on a site trying to run PHP 8.2

    PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/plugins/genesis-simple-sidebars/includes/views/entry-metabox-content.php:19

Viewing 7 replies - 1 through 7 (of 7 total)
  • rameshmahala

    (@rameshmahala)

    Me also facing same issue with PHP 8+

    hirejordansmith

    (@hirejordansmith)

    Also seeing the same issue on sites using this plugin with PHP 8.2. Is there a fix in the works? Thanks!

    Plugin Support Nick C

    (@modernnerd)

    Thank you for the report, @vijustin, @rameshmahala and @hirejordansmith, and sorry for this error!

    We’d like to fix it but I can’t reproduce it with a fresh copy of Simple Sidebars on a new site so far.

    If you have time, please could you share the response from this WP-CLI command?

    wp option get ss-settings

    (If you don’t use WP-CLI, you can find the same value in your wp-options table under the ss-settings key.)

    It sounds like the issue might be sidebars with a missing ‘name’, but I’d just like to confirm this before we create an update with a fix.

    Thread Starter Justin McGuire

    (@vijustin)

    a:2:{i:0;s:20:”__return_empty_array”;s:18:”individual-teacher”;a:2:{s:4:”name”;s:18:”Individual Teacher”;s:11:”description”;s:0:””;}}

    Plugin Support Nick C

    (@modernnerd)

    Thanks, @vijustin, that helps! I’ll post again here as soon as there’s an update to fix this.

    Plugin Support Nick C

    (@modernnerd)

    Version 2.2.3 is out now with a fix for this (and for another PHP deprecation notice — see the changelog).

    Thanks for your patience while we worked to solve this.

    Thread Starter Justin McGuire

    (@vijustin)

    Nick,

    This is great news! Thanks for for taking a look and finding a fix so quickly!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP 8.2 Error’ is closed to new replies.