HOSKIA INDIA Posted August 29, 2019 Share Posted August 29, 2019 pls help Cron job not working https://prnt.sc/oyz06u https://prnt.sc/oyyzbr, when i check System Activity Log cron job stated and stoped 0 Quote Link to comment Share on other sites More sharing options...
Remitur Posted August 29, 2019 Share Posted August 29, 2019 Where did you see that cron stopped? In your logs there're a number of activitied done by cron (i.e. currency change update) There're also a number of undelibered messages because your email server is blacklisted... 😕 0 Quote Link to comment Share on other sites More sharing options...
HOSKIA INDIA Posted August 29, 2019 Author Share Posted August 29, 2019 1 minute ago, Remitur said: Where did you see that cron stopped? In your logs there're a number of activitied done by cron (i.e. currency change update) there are many more need to run like Invoice & Overdue Reminders Overdue Suspensions, Overdue Terminations etc but not run for last 3 days 2 minutes ago, Remitur said: There're also a number of undelibered messages because your email server is blacklisted... 😕 the log from module i am using 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted August 29, 2019 Share Posted August 29, 2019 Our cron job doesn't complete either. I see this in the error_log: [29-Aug-2019 00:00:21 Europe/Copenhagen] [WHMCS Application] ERROR: Error: Call to a member function isCreditCard() on null in /home/username/public_html/includes/ccfunctions.php:0 Stack trace: #0 /home/username/public_html/includes/ccfunctions.php(0): captureCCPayment(11256) #1 /home/username/public_html/vendor/whmcs/whmcs-foundation/lib/Cron/Task/ProcessCreditCardPayments.php(0): ccProcessing(Object(WHMCS\Cron\Task\ProcessCreditCardPayments)) #2 /home/username/public_html/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Cron\Task\ProcessCreditCardPayments->__invoke() #3 /home/username/public_html/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Scheduling\Task\AbstractTask->execute() #4 /home/username/public_html/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Scheduling\Task\AbstractTask->run() #5 /home/username/public_html/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Cron\Console\Command\AbstractCronCommand->executeCollection(Object(WHMCS\Scheduling\Task\Collection)) #6 /home/username/public_html/vendor/symfony/console/Command/Command.php(259): WHMCS\Cron\Console\Command\AbstractCronCommand->execute(Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #7 /home/username/public_html/vendor/symfony/console/Application.php(844): Symfony\Component\Console\Command\Command->run(Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #8 /home/username/public_html/vendor/symfony/console/Application.php(192): Symfony\Component\Console\Application->doRunCommand(Object(WHMCS\Cron\Console\Command\AllCommand), Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #9 /home/username/public_html/vendor/symfony/console/Application.php(123): Symfony\Component\Console\Application->doRun(Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #10 /home/username/whmcs/crons/cron.php(0): Symfony\Component\Console\Application->run(Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #11 {main} {"exception":"[object] (Error(code: 0): Call to a member function isCreditCard() on null at /home/username/public_html/includes/ccfunctions.php:0)"} [] 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 29, 2019 Share Posted August 29, 2019 1 hour ago, HOSKIA INDIA said: there are many more need to run like Invoice & Overdue Reminders Overdue Suspensions, Overdue Terminations etc but not run for last 3 days can you view recently generated invoices (as PDFs) without issue? that activity log looks like it's crashing after generating invoices. https://help.whmcs.com/m/automation/l/683269-advanced-cron-troubleshooting you could manually run the overdue cron jobs as separate tasks if you have to, but your best bet is to find the cause of this error. 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted August 30, 2019 Share Posted August 30, 2019 Our issue was fixed in this hotfix: 1 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.