• Resolved slservice33

    (@slservice33)


    Hi, I get a thousand or two daily deprecated PHP warnings since updating to PHP8.5. just lines 65 & 651 on my site.

    Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/mysite.net/wp-content/plugins/g-business-reviews-rating/index.php on line 65

    Deprecated: Using null as an array offset is deprecated, use an empty string instead in /var/www/html/mysite.net/wp-content/plugins/g-business-reviews-rating/index.php on line 651

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Noah Hearle

    (@designextreme)

    @slservice33 All PHP 8.5 warnings are resolved in the next release: 6.0. I’m in the final stages of testing as it is a significant release that supports the Google Places (New) API. I’ll drop you a message when this is ready to download.

    Plugin Author Noah Hearle

    (@designextreme)

    @slservice33 I’ve released version 6.0 that will resolve any PHP 8.5 warnings that occurred in 5.10. It’s the biggest plugin update in years, with significant new features and a number of improvements. WordPress.org reviews major updates before they go out, so it should reach sites in around six hours.

    Hi @designextreme

    Is it possible this one slipped through the net or has been introduced since?

    Deprecated: Case statements followed by a semicolon (;) are deprecated, use a colon (:) instead in …/plugins/g-business-reviews-rating/wp/index.php on line 469

    Thanks for your work.

    Plugin Author Noah Hearle

    (@designextreme)

    @bbceg It’s long-standing rather than new. The same case NULL; is in 5.10, and the 6.0 restructure moved it into wp/index.php unchanged. It only started showing now because PHP 8.5 deprecated the syntax. It was silently valid before, and it’s harmless either way since PHP treats ; and : identically after case. So nothing was misbehaving; it’s a notice, not a fault.

    I’ve changed this for the next release.

    @designextreme All good, thanks for sorting.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.