IBAN validation in error log

ontarget

Active Member
Hi I have a very large error log which started in Feb 2019
[21-Feb-2019 17:41:28 UTC] PHP Warning: gmp_init(): Unable to convert variable to GMP - string is not an integer in /home/mywebsite/public_html/plugins/fabrik_validationrule/isiban/libs/php-iban.php on line 153

I am running Fabrik 3.9 - should I update from Git?

Thanks
 
There's nothing new in GitHub related to validation rules.
I assume the lib is not up-to-date (php version?)
 
Ok thanks do you mean the library doesnt support php7.2 ? Is this something that will be fixed by Fabrik or is there another IBAN library that can be used?
 
plugins\fabrik_validationrule\isiban\libs\README
This library is from:

https://github.com/globalcitizen/php-iban

At some point, we will add this to the Composer dependencies for Fabrik, but the full library is
quite large, and all we really need are two files - php-iban.php and registry.txt. So until we have
moved the Fabrik optional library files into their own install package, so size isn't an issue,
we'll just include these files in the plugin's own ./libs folder.

To update, just download the latest version of php-iban, and copy those two files into this folder.

Version at time of writing is 2.5.9, October 2016.

Maybe you can try the newest files from
https://github.com/globalcitizen/php-iban
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top