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

Cannot activate module on WHMCS 8.7 #85

Open
tdtmusic2 opened this issue Aug 31, 2023 · 1 comment
Open

Cannot activate module on WHMCS 8.7 #85

tdtmusic2 opened this issue Aug 31, 2023 · 1 comment

Comments

@tdtmusic2
Copy link

Hello. We are having an issue with the activation of the module in WHMCS. One we click on the activate button, we get the error bellow:

Oops!
Something went wrong and we couldn't process your request.

Please go back to the previous page and try again.

For additional assistance, please reference the [WHMCS TroubleShooting Guide »](https://docs.whmcs.com/Troubleshooting_Guide)

TypeError: mysqli_num_rows(): Argument #1 ($result) must be of type mysqli_result, string given in /home/xxxx/public_html/billing/modules/servers/namecheapssl/namecheapapi.php:375
Stack trace:
#0 /home/xxxxx/public_html/billing/modules/servers/namecheapssl/namecheapapi.php(375): mysqli_num_rows('SELECT id FROM ...')
#1 /home/xxxxxx/public_html/billing/modules/addons/namecheap_ssl/namecheap_ssl.php(45): NcSql::numRows('SELECT id FROM ...')
#2 /home/xxxxxx/public_html/billing/admin/configaddonmods.php(0): namecheap_ssl_activate()
#3 {main}
@tdtmusic2 tdtmusic2 changed the title Cannot activate module on WHMCS 8.8 Cannot activate module on WHMCS 8.7 Aug 31, 2023
@jas8522
Copy link

jas8522 commented Oct 4, 2023

Try my fork of the module here: https://github.com/websavers/WHMCS-Namecheap-SSL

I just submit a commit that should fix this. Let me know the results.

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