Resend Receipt should work on PHP 8
complete
As an admin, I want to resend the receipt but if I'm using PHP 8 on my server, it will display a fatal error.
Fatal error: Uncaught TypeError: strtolower(): Argument #1 ($string) must be of type string, array given in /wp-content/plugins/give/includes/admin/admin-pages.php on line 136
Jessica Thomas
complete
r
rik
Thanks Ben Meredith. This type of error is happening in more places in the site. E.g. I get a fatal error also when I try to delete a donor. Currently, it is impossible for us to delete donors. When we try to delete donations, we also get a fatal error, but the donation does end up getting deleted.
Rik
Ben Meredith
under review
Our team will definitely have a look at this. We're currently not prioritizing PHP 8-related tickets as "drop everything and fix this" type of issues for 2 reasons:
- We aren't aware of any host forcing PHP 8. In every case so far, web hosts are happy to roll back to 7.4 which is stable and fully supported.
- The number of people reporting issues is still fairly low.
Obviously, if lots more folks start reporting issues, that could cause us to reevaluate things. Please vote and comment below.
Alex Miller
Ben Meredith: If I'm not mistaken, PHP 7.4 will stop getting security updates later this year, in November, according to their Supported Version page ( https://www.php.net/supported-versions.php ). Will GiveWP be PHP 8 ready this year?
Ben Meredith
Alex Miller: Hey Alex! Yes, that's the plan for sure. As of now, the vast majority of problems related to PHP 8 are resolved. This one issue is definitely important though, and I'm making sure that the team is aware of it. I'd expect it to be resolved sooner than later.