Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Fatal error when using the library with PHP version 7.2 #4

Closed
raftaar1191 opened this issue Jul 19, 2018 · 3 comments
Closed

fix Fatal error when using the library with PHP version 7.2 #4

raftaar1191 opened this issue Jul 19, 2018 · 3 comments

Comments

@raftaar1191
Copy link

Getting Fatal error when running the sites with PHP version 7.2

image

Debug Log

[19-Jul-2018 14:10:51 UTC] PHP Fatal error: Uncaught Error: Call to undefined function Kishanio\CCAvenue\mcrypt_module_open() in /app/public/wp-content/plugins/Give-CCAvenue/includes/lib/CCAvenue-PHP-Library/src/Utils.php:89 Stack trace: #0 /app/public/wp-content/plugins/Give-CCAvenue/includes/lib/CCAvenue-PHP-Library/src/Payment.php(255): Kishanio\CCAvenue\Utils->encrypt('merchant_id=990...', 'AVPB01FB51AQ01B...') #1 /app/public/wp-content/plugins/Give-CCAvenue/includes/functions.php(107): Kishanio\CCAvenue\Payment->getEncryptedData() #2 /app/public/wp-content/plugins/Give-CCAvenue/template/ccavenue-form.php(8): give_ccavenue_get_form() #3 /app/public/wp-includes/template-loader.php(74): include('/app/public/wp-...') #4 /app/public/wp-blog-header.php(19): require_once('/app/public/wp-...') #5 /app/public/index.php(17): require('/app/public/wp-...') #6 {main} thrown in /app/public/wp-content/plugins/Give-CCAvenue/includes/lib/CCAvenue-PHP-Library/src/Utils.php on line 89
@raftaar1191
Copy link
Author

@kishanio
Copy link
Owner

@raftaar1191 Would you like to take this ahead? Maybe create a pull request and i'll merge it.

@raftaar1191
Copy link
Author

Sure @kishanio will send a PR to update this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants