• Hi, with the current version I get this warning on all backend pages printed out at the top: Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/portalleviarto/public_html/wp-content/plugins/toolbar-extras/includes/admin/tbex-addons.php on line 96

    And some other plugins stop working, like the SG Optimizer which does not load the settings anymore if I enter the admin settings screen.
    I get a SyntaxError: Unexpected token < in JSON at position 0 SyntaxError: Unexpected token < in JSON at position 0 in JS console after the plugins tries it’s ajax request to get the settings. This only happens if your plugin is active.

    Could be important: I use PHP 7.4

Viewing 2 replies - 1 through 2 (of 2 total)
  • found same issue with “Query Monitor” Version 3.5.2
    and affects also line 97.

    May I suggest
    line 96 $addons_by_type = “$addons_$type”;
    line 97 $addons_by_type[ $addon ] = $addon_data;

    I confirm. Still present in error log: “Deprecated: Array and string offset access syntax with curly braces is deprecated”

    Time for some refresh. David, please do not leave us. We like your plugins.

    Thx!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP warning and breaking backend functionality’ is closed to new replies.