ssl-whmcs icon indicating copy to clipboard operation
ssl-whmcs copied to clipboard

Cannot activate module on WHMCS 8.7

Open tdtmusic2 opened this issue 1 year ago • 1 comments

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 avatar Aug 31 '23 11:08 tdtmusic2

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.

jas8522 avatar Oct 04 '23 15:10 jas8522