Rating: 2 stars
The plugin stopped working on PHP 8. It gave this error:
Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /…./…./…/wp-content/plugins/rave-payment-forms/includes/rave-shortcode.php
In PHP8.0, it’s compulsory to define types on Count.
count((array)$XYZVariable);
Bearing that in mind, I fixed that by editing:
Line 120
'extra_count' => count((array)$extra_fields), // I added (array)
Line 136
if(count((array)$extra_fields) != 0){ // I added (array)
Flutterwave team, please update the plugin as soon as possible.
]]>Rating: 5 stars
Great plugin
]]>