Jump to content

Daily Cron Completing fails due to CentovaCast Addon


Recommended Posts

Hi,

the daily Cron Completing fails due to CentovaCast Addon. Error debugging shows following issue. Is the addon outdated? How can I fix this issue?

#15 {main}root@srv:~# /opt/plesk/php/8.1/bin/php -q /var/www/vhosts/mydomain.com/crons/cron.php all -F -vvv

WHMCS Automation Task Utility: all
==================================

 Daily Cron Automation Mode

Queuing Tasks
-------------

 Force run any tasks: ignore "in progress" and "is due"
 Task queues ready

Executing Application Queue
---------------------------

  0/34 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░]   0% < 1 sec/< 1 sec 36.0 MiB
 Currency Exchange Rates
  1/34 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░]   2%  1 sec/34 secs 36.0 MiB
 Product Pricing Updates
  2/34 [▓░░░░░░░░░░░░░░░░░░░░░░░░░░░]   5%  1 sec/17 secs 36.0 MiB
 Tenant Usage Metrics
  3/34 [▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░]   8%  1 sec/11 secs 38.0 MiB
 Invoices
  4/34 [▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░]  11%  1 sec/9 secs 38.0 MiB
 Late Fees
  5/34 [▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░]  14%  1 sec/7 secs 38.0 MiB
 Credit Card Charges
  6/34 [▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░]  17%  1 sec/6 secs 38.0 MiB
 Invoice & Overdue Reminders
  7/34 [▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░]  20%  1 sec/5 secs 38.0 MiB
 Domain Renewal Notices
  8/34 [▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░]  23%  1 sec/4 secs 38.0 MiB
 Cancellation Requests
  9/34 [▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░]  26%  1 sec/4 secs 38.0 MiB
 Overdue Suspensions
 10/34 [▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░]  29%  1 sec/3 secs 38.0 MiB
 Overdue Terminations
 11/34 [▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░]  32%  1 sec/3 secs 38.0 MiB
 Fixed Term Terminations
 12/34 [▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░]  35%  1 sec/3 secs 38.0 MiB
 Inactive Tickets
 13/34 [▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░]  38%  1 sec/3 secs 38.0 MiB
 Prune Ticket Attachments
 14/34 [▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░]  41%  1 sec/2 secs 38.0 MiB
 Delayed Affiliate Commissions
 15/34 [▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░]  44%  1 sec/2 secs 38.0 MiB
 Affiliate Reports
 16/34 [▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░]  47%  1 sec/2 secs 38.0 MiB
 Process Email Queue
 17/34 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░]  50%  1 sec/2 secs 38.0 MiB
 Email Marketer Rules
 18/34 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░]  52%  1 sec/2 secs 38.0 MiB
 Process Email Campaigns
 19/34 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░]  55%  1 sec/2 secs 40.0 MiB
 Credit Card Expiry Notices
 20/34 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░]  58%  1 sec/2 secs 40.0 MiB
 SSL Sync
 21/34 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░]  61%  1 sec/2 secs 40.0 MiB
 Server Usage Stats
 22/34 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░]  64%  1 sec/2 secs 40.0 MiB[WHMCS Application] ERROR: TypeError: Cannot access offset of type string on string in /var/www/vhosts/mydomain.com/httpdocs/modules/servers/centovacast/centovacast.php:0 Stack trace: #0 [internal function]: centovacast_UsageUpdate() #1 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): call_user_func() #2 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Module/Server.php(0): WHMCS\Module\AbstractModule->call() #3 /var/www/vhosts/mydomain.com/httpdocs/includes/modulefunctions.php(0): WHMCS\Module\Server->call() #4 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Cron/Task/UpdateServerUsage.php(0): ServerUsageUpdate() #5 [internal function]: WHMCS\Cron\Task\UpdateServerUsage->__invoke() #6 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): call_user_func_array() #7 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Scheduling\Task\AbstractTask->execute() #8 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Scheduling\Task\AbstractTask->run() #9 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Cron\Console\Command\AbstractCronCommand->executeCollection() #10 /var/www/vhosts/mydomain.com/httpdocs/vendor/symfony/console/Command/Command.php(298): WHMCS\Cron\Console\Command\AbstractCronCommand->execute() #11 /var/www/vhosts/mydomain.com/httpdocs/vendor/symfony/console/Application.php(1028): Symfony\Component\Console\Command\Command->run() #12 /var/www/vhosts/mydomain.com/httpdocs/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand() #13 /var/www/vhosts/mydomain.com/httpdocs/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun() #14 /var/www/vhosts/mydomain.com/crons/cron.php(0): Symfony\Component\Console\Application->run() #15 {main} {"exception":"[object] (TypeError(code: 0): Cannot access offset of type string on string at /var/www/vhosts/mydomain.com/httpdocs/modules/servers/centovacast/centovacast.php:0)"} []
TypeError: Cannot access offset of type string on string in /var/www/vhosts/mydomain.com/httpdocs/modules/servers/centovacast/centovacast.php:0

#0 [internal function]: centovacast_UsageUpdate()
#1 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Module/AbstractModule.php(0): call_user_func()
#2 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Module/Server.php(0): WHMCS\Module\AbstractModule->call()
#3 /var/www/vhosts/mydomain.com/httpdocs/includes/modulefunctions.php(0): WHMCS\Module\Server->call()
#4 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Cron/Task/UpdateServerUsage.php(0): ServerUsageUpdate()
#5 [internal function]: WHMCS\Cron\Task\UpdateServerUsage->__invoke()
#6 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): call_user_func_array()
#7 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Scheduling\Task\AbstractTask->execute()
#8 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Scheduling\Task\AbstractTask->run()
#9 /var/www/vhosts/mydomain.com/httpdocs/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Cron\Console\Command\AbstractCronCommand->executeCollection()
#10 /var/www/vhosts/mydomain.com/httpdocs/vendor/symfony/console/Command/Command.php(298): WHMCS\Cron\Console\Command\AbstractCronCommand->execute()
#11 /var/www/vhosts/mydomain.com/httpdocs/vendor/symfony/console/Application.php(1028): Symfony\Component\Console\Command\Command->run()
#12 /var/www/vhosts/mydomain.com/httpdocs/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand()
#13 /var/www/vhosts/mydomain.com/httpdocs/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#14 /var/www/vhosts/mydomain.com/crons/cron.php(0): Symfony\Component\Console\Application->run()

 

Edited by TrippleEx
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