Jump to content

Daily RCON not working.


KNK

Recommended Posts

Hey guys daily rcon was working fine till a random day this week.

 

I do this:  /usr/bin/php -q /var/www/html/crons/cron.php --force -vvv

 

and this error comes:

 

 15/33 [▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░]  45%  1 sec/2 secs 54.5 MiB[WHMCS Application] ERROR: Error: Call to undefined method stdClass::save() in /var/www/html/vendor/whmcs/whmcs-foundation/lib/Cron/Task/AffiliateCommissions.php:0 Stack trace: #0 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Cron\Task\AffiliateCommissions->__invoke() #1 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Scheduling\Task\AbstractTask->execute() #2 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Scheduling\Task\AbstractTask->run() #3 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Cron\Console\Command\AbstractCronCommand->executeCollection() #4 /var/www/html/vendor/symfony/console/Command/Command.php(255): WHMCS\Cron\Console\Command\AbstractCronCommand->execute() #5 /var/www/html/vendor/symfony/console/Application.php(912): Symfony\Component\Console\Command\Command->run() #6 /var/www/html/vendor/symfony/console/Application.php(264): Symfony\Component\Console\Application->doRunCommand() #7 /var/www/html/vendor/symfony/console/Application.php(140): Symfony\Component\Console\Application->doRun() #8 /var/www/html/crons/cron.php(0): Symfony\Component\Console\Application->run() #9 {main} {"exception":"[object] (Error(code: 0): Call to undefined method stdClass::save() at /var/www/html/vendor/whmcs/whmcs-foundation/lib/Cron/Task/AffiliateCommissions.php:0)"} []
Error: Call to undefined method stdClass::save() in /var/www/html/vendor/whmcs/whmcs-foundation/lib/Cron/Task/AffiliateCommissions.php:0

#0 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Cron\Task\AffiliateCommissions->__invoke()
#1 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Scheduling\Task\AbstractTask->execute()
#2 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Scheduling\Task\AbstractTask->run()
#3 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Cron\Console\Command\AbstractCronCommand->executeCollection()
#4 /var/www/html/vendor/symfony/console/Command/Command.php(255): WHMCS\Cron\Console\Command\AbstractCronCommand->execute()
#5 /var/www/html/vendor/symfony/console/Application.php(912): Symfony\Component\Console\Command\Command->run()
#6 /var/www/html/vendor/symfony/console/Application.php(264): Symfony\Component\Console\Application->doRunCommand()
#7 /var/www/html/vendor/symfony/console/Application.php(140): Symfony\Component\Console\Application->doRun()
#8 /var/www/html/crons/cron.php(0): Symfony\Component\Console\Application->run()

I'm on version Version: 8.3.0

Thank you and kind regards, I hope someone is able to help me.

Link to comment
Share on other sites

On 11/11/2021 at 1:13 PM, WHMCS Alex said:

Hi @KNK,

Please update to version 8.3.1 to resolve this: https://docs.whmcs.com/Changelog:WHMCS_V8.3.1

I hope this helps.

That fixed it. What about

 

Exception: Laminas\Diactoros\Exception\InvalidArgumentException: Query string must not include a URI fragment in /var/www/html/vendor/laminas/laminas-diactoros/src/Uri.php:406 Stack trace: #0 /var/www/html/vendor/laminas/laminas-diactoros/src/functions/marshal_uri_from_sapi.php(223): Laminas\Diactoros\Uri->withQuery() #1 /var/www/html/vendor/laminas/laminas-diactoros/src/ServerRequestFactory.php(74): Laminas\Diactoros\marshalUriFromSapi() #2 /var/www/html/vendor/whmcs/whmcs-foundation/lib/Http/Message/ServerRequest.php(0): Laminas\Diactoros\ServerRequestFactory::fromGlobals() #3 /var/www/html/index.php(0): WHMCS\Http\Message\ServerRequest::fromGlobals() #4 {main}
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