FINALLY found PHP7.4 fix for GiveWP
-
I spent four hours today, and countless days since November (about 3 months) trying to understand why our donation forms (for standard transactions, PayPal Standard) suddenly stopped working. Always a Critical Error on the website. FINALLY found that for iPage, iPower, and many other mega-hosts, for PHP 7.4 — they do NOT have the ctype extension enabled!! OMG. All I had to do was add this: extension=ctype.so
add to the very bottom of PHP.ini file and voila, PayPal worked when proceeding with contribution! I hope GiveWP can build in a workaround for the code that appears in line 652 of Str.php – this line:
if (! ctype_lower($value)) {
$value = preg_replace(‘/\s+/u’, ”, ucwords($value));Because now there are hundreds of thousands of WP users on those mega host platforms, missing the ctype extension. Here’s details if needed:
https://www.ipage.com/help/article/how-to-enable-ctype-so-extensions-in-php-ini
Hope this helps.
- The topic ‘FINALLY found PHP7.4 fix for GiveWP’ is closed to new replies.