KNK Posted November 9, 2021 Share Posted November 9, 2021 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. 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted November 10, 2021 Share Posted November 10, 2021 Try to reupload cron files and check again. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS Alex Posted November 11, 2021 WHMCS Technical Analyst II Share Posted November 11, 2021 Hi @KNK, Please update to version 8.3.1 to resolve this: https://docs.whmcs.com/Changelog:WHMCS_V8.3.1 Quote CORE-17205 - Prevent error during Delayed Affiliate Commissions when affiliate client account has been deleted I hope this helps. 0 Quote Link to comment Share on other sites More sharing options...
KNK Posted November 12, 2021 Author Share Posted November 12, 2021 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} 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.