Jump to content

mysql_result is not supported


faisal

Recommended Posts

Hi,

 

We have a custom payment gateway made by hostthebest but their website is closed so if anybody can help me with this:

 

The module was working fine even after upgrade to WHMCS 7 but after upgrading to PHP 7 I see this error in the view invoice:

 

 Fatal error: Uncaught BadFunctionCallException: mysql_result is not supported in /home/xxx/domains/xxx/public_html/includes/dbcompatfunctions.php:0
Stack trace:
#0 /home/xxx/domains/xxx/public_html/modules/gateways/gate2play.php(20): mysql_result(Object(PDOStatement), 0, 'gatewayid')
#1 [internal function]: gate2play_link(Array)
#2 /home/xxx/domains/xxx/public_html/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): call_user_func('gate2play_link', Array)
#3 /home/xxx/domains/xxx/public_html/vendor/whmcs/whmcs-foundation/lib/Module/Gateway.php(0): WHMCS\Module\AbstractModule->call('link', Array)
#4 /home/xxx/domains/xxx/public_html/vendor/whmcs/whmcs-foundation/lib/Invoice.php(0): WHMCS\Module\Gateway->call('link', Array)
#5 /home/xxx/domains/xxx/public_html/viewinvoice.php(0): WHMCS\Invoice->getPaymentLink()
#6 {main}

Next BadFunctionCallException: mysql_result is not supported  in /home/xxx/domains/xxx/public_html/vendor/whmcs/whmcs-foundation/lib/Terminus.php on line 0

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated