• Resolved sheriffbigbywolf

    (@sheriffbigbywolf)


    Hi,

    I’m having an issue with the latest free version of SportsPress.

    When WP_Debug is on, there are several warning messages:

    Deprecated: Array and string offset access syntax with curly braces is deprecated in ...\wp-content\plugins\sportspress\includes\sp-formatting-functions.php on line 192
    Deprecated: Array and string offset access syntax with curly braces is deprecated in ...\wp-content\plugins\sportspress\includes\sp-formatting-functions.php on line 192
    Deprecated: Array and string offset access syntax with curly braces is deprecated in ...\wp-content\plugins\sportspress\includes\sp-formatting-functions.php on line 193
    Deprecated: Array and string offset access syntax with curly braces is deprecated in ...\wp-content\plugins\sportspress\includes\sp-formatting-functions.php on line 193
    Deprecated: Array and string offset access syntax with curly braces is deprecated in ...\wp-content\plugins\sportspress\includes\sp-formatting-functions.php on line 194
    Deprecated: Array and string offset access syntax with curly braces is deprecated in ...\wp-content\plugins\sportspress\includes\sp-formatting-functions.php on line 194

    There are also messages like these:

    Warning: Cannot modify header information - headers already sent by (output started at ...\wp-content\plugins\sportspress\includes\sp-formatting-functions.php:192) in ...\wp-includes\functions.php on line 6221
    Warning: Cannot modify header information - headers already sent by (output started at ...\wp-content\plugins\sportspress\includes\sp-formatting-functions.php:192) in ...\wp-admin\includes\misc.php on line 1282
    Warning: Cannot modify header information - headers already sent by (output started at ...\wp-content\plugins\sportspress\includes\sp-formatting-functions.php:192) in ...\wp-admin\admin-header.php on line 9
    Warning: Cannot modify header information - headers already sent by (output started at ...\wp-content\plugins\sportspress\includes\sp-formatting-functions.php:192) in ...\wp-includes\option.php on line 961
    Warning: Cannot modify header information - headers already sent by (output started at ...\wp-content\plugins\sportspress\includes\sp-formatting-functions.php:192) in ...\wp-includes\option.php on line 962

    WordPress version is 5.4.2.
    PHP version is 7.4

    Regards!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you provide the theme you are using, as well as list the other plugins you have installed?

    Thread Starter sheriffbigbywolf

    (@sheriffbigbywolf)

    It happens with every theme including default ones.
    And even when only SportsPress plugin is installed.

    Thankfully they are only Warnings, and should not have an impact on using the plugin. I’m sure you’ll get more detailed answers from a SportPress support team. In the meantime, you should be able to setup and use the plugin without issue.

    Plugin Contributor Savvas

    (@savvasha)

    Hi @sheriffbigbywolf,

    This issue is already solved with a patch that will be included in the next update.

    Thanks,
    Savvas

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deprecated syntax’ is closed to new replies.