Jump to content

(TCA v1) advanced module


dimitrifrom31
 Share

Recommended Posts

I am still using TCA v1 and recently upgraded to whmcs 7.10

tcadmin advanced module is returning me the following error when saving a product configuration in whmcs:

ArgumentCountError: Too few arguments to function tcadmin_advanced_GetDescription(), 1 passed in /home/roxservers/public_html/modules/servers/tcadmin_advanced/tcadmin_advanced.php on line 51 and exactly 2 expected in /home/roxservers/public_html/modules/servers/tcadmin_advanced/tcadmin_advanced.php:215
Stack trace:
#0 /home/roxservers/public_html/modules/servers/tcadmin_advanced/tcadmin_advanced.php(51): tcadmin_advanced_GetDescription('The game id tha...')
#1 /home/roxservers/public_html/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): tcadmin_advanced_ConfigOptions(Array)
#2 /home/roxservers/public_html/vendor/whmcs/whmcs-foundation/lib/Module/Server.php(0): WHMCS\Module\AbstractModule->call('ConfigOptions', Array)
#3 /home/roxservers/public_html/roxwhmcsadmin/configproducts.php(0): WHMCS\Module\Server->call('ConfigOptions', Array)
#4 {main}

Also the "module settings file" is loading indefinitely.
I edited tcadmin_advanced.php to update mysql to mysqli syntax but I am still getting these errors.

Any help apreciated!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Who's Online   0 Members, 0 Anonymous, 5 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use