• Resolved [email protected]

    (@navmansolutionsgmailcom)


    Hi. I updated my wordpress site (using DIVI theme) to PHP version 8.3 today from 7.4 and on the pages that shows the Google review. it started giving the following errors. Anything suggested to correct this? I have rolled it back to 7.4 to keep my site up and running

    Warning: Undefined array key “1695415462_5_52a533acfd66e9ad2aba7c0ca30d4f2c” in /home4/navjot/massagicalcare.ca/wp-content/plugins/g-business-reviews-rating/index.php on line 3949

    Warning: Trying to access array offset on null in /home4/navjot/massagicalcare.ca/wp-content/plugins/g-business-reviews-rating/index.php on line 3949

    Warning: Undefined array key “1649720613_5_f7f70f28eceeea43c4ec485a1efa851d” in /home4/navjot/massagicalcare.ca/wp-content/plugins/g-business-reviews-rating/index.php on line 3949

    Warning: Trying to access array offset on null in /home4/navjot/massagicalcare.ca/wp-content/plugins/g-business-reviews-rating/index.php on line 3949

    Warning: Undefined array key “1649720613_5_f7f70f28eceeea43c4ec485a1efa851d” in /home4/navjot/massagicalcare.ca/wp-content/plugins/g-business-reviews-rating/index.php on line 3949

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Design Extreme

    (@designextreme)

    @navmansolutionsgmailcom Thanks for reporting this warning. I will check the sort function that it concerns and produce a fix in the next release.

    It’s likely this warning would appear in all versions of PHP 8+ if it attempts to sort an array with missing keys(?).

    • This reply was modified 1 year, 1 month ago by Design Extreme. Reason: Last paragraph
    Thread Starter [email protected]

    (@navmansolutionsgmailcom)

    Great.. Thanks!

    Plugin Author Design Extreme

    (@designextreme)

    @navmansolutionsgmailcom This is a PHP 8.3 error. If you can, please use PHP 8.2 as this is fully supported.

    There could be something newly introduced in PHP 8.3 that fails to “find” an array entry despite it existing. I will report this error to PHP Bugs.

    I will add something to perform a check prior to sorting so this functionality will be disabled until the bug is fixed in PHP 8.3.

    Plugin Author Design Extreme

    (@designextreme)

    @navmansolutionsgmailcom This is now listed a confirmed as a bug in PHP 8.3 (8.3.2 specifically). It is caused by adding new entries to an existing array which somehow breaks the bond between its keys and values. Thanks for reporting this within the plugin as it will now affect the next release of PHP.

    In the meantime, I have added a work-around, so please download version 4.28.

    Plugin Author Design Extreme

    (@designextreme)

    @navmansolutionsgmailcom This bug in PHP is now marked as fixed, so this issue will disappear in the next minor release.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP 8.3 gave error’ is closed to new replies.