wohahobg / pterosync

PteroSync new WHMCS Pterodactyl Module
76 stars 17 forks source link

User creation error #42

Closed NaysKutzu closed 4 days ago

NaysKutzu commented 4 days ago
AH01071: Got error 'PHP message: [WHMCS Application] ERROR: TypeError: Unsupported operand types: int + string in /var/www/vhosts/mythicalsystems.xyz/billing.mythicalsystems.xyz/modules/servers/pterosync/helper.php:541 Stack trace: #0 /var/www/vhosts/mythicalsystems.xyz/billing.mythicalsystems.xyz/modules/servers/pterosync/pterosync.php(576): pteroSyncProcessAllocations() #1 [internal function]: pterosync_CreateAccount() #2 /var/www/vhosts/mythicalsystems.xyz/billing.mythicalsystems.xyz/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): call_user_func() #3 /var/www/vhosts/mythicalsystems.xyz/billing.mythicalsystems.xyz/vendor/whmcs/whmcs-foundation/lib/Module/Server.php(0): WHMCS\\Module\\AbstractModule->call() #4 /var/www/vhosts/mythicalsystems.xyz/billing.mythicalsystems.xyz/includes/modulefunctions.php(0): WHMCS\\Module\\Server->call() #5 /var/www/vhosts/mythicalsystems.xyz/billing.mythicalsystems.xyz/vendor/whmcs/whmcs-foundation/lib/Service/Service.php(0): ModuleCallFunction() #6 /var/www/vhosts/mythicalsystems...', referer: https://billing.mythicalsystems.xyz/cart.php?a=checkout
--
wohahobg commented 4 days ago

The problem is in your WHMCS. Not in the module

NaysKutzu commented 4 days ago

wdym in my whmcs?

NaysKutzu commented 4 days ago

then update the docs i just copy pasted from docs 😂

wohahobg commented 4 days ago

Well, how I can know what's wrong when details are not being shared ?

Share with me your product setup, module log and etc. Tell me more what you have done to get that error.

NaysKutzu commented 4 days ago

image

And then if i buy the product i get this error on the server creation:

AH01079: Got error 'PHP message: [WHMCS Application] ERROR: TypeError: Unsupported operand types: int + string in /var/www/vhosts/mythicalsystems.xyz/billing.mythicalsystems.xyz/modules/servers/pterosync/helper.php:541 Stack trace: #0 /var/www/vhosts/mythicalsystems.xyz/billing.mythicalsystems.xyz/modules/servers/pterosync/pterosync.php(576): pteroSyncProcessAllocations() #1 [internal function]: pterosync_CreateAccount() #2 /var/www/vhosts/mythicalsystems.xyz/billing.mythicalsystems.xyz/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): call_user_func() #3 /var/www/vhosts/mythicalsystems.xyz/billing.mythicalsystems.xyz/vendor/whmcs/whmcs-foundation/lib/Module/Server.php(0): WHMCS\\Module\\AbstractModule->call() #4 /var/www/vhosts/mythicalsystems.xyz/billing.mythicalsystems.xyz/includes/modulefunctions.php(0): WHMCS\\Module\\Server->call() #5 /var/www/vhosts/mythicalsystems.xyz/billing.mythicalsystems.xyz/vendor/whmcs/whmcs-foundation/lib/Service/Service.php(0): ModuleCallFunction() #6 /var/www/vhosts/mythicalsystems...', referer: https://billing.mythicalsystems.xyz/cart.php?a=checkout
wohahobg commented 4 days ago

Please download the main branch and try with that.

NaysKutzu commented 4 days ago

Sure wait a min

NaysKutzu commented 4 days ago

Nope

wohahobg commented 4 days ago

What same error ?

NaysKutzu commented 4 days ago

Yeah ;(

wohahobg commented 4 days ago

image I can see you are not running paid version of WHMCS. Maybe that's the issue. I don't give support for cracked versions.

NaysKutzu commented 4 days ago

Its not cracked i pay for it 😂

I got it form a reseller!

NaysKutzu commented 4 days ago

image

And the download link from my downloads is: https://releases.whmcs.com/v2/pkgs/whmcs-8.10.1-release.1.zip

wohahobg commented 4 days ago

In that case. This so wired. I will look into this more.

wohahobg commented 4 days ago

Ok i was checking with my friend and definitely your not using licensed whmcs. In that case i can't help you. Even if you buy it from reseller whmcs should show that your billing is valid.

So i won't spend hours for searching for an issue for a cracked version.

Also the module has 0 issues for such as problem on over 200 hostings even more, u r the only one and the only one with not valid whmcs.

Closing this. When you get you valid whmcs please try again.