Jump to content

Error: Class 'Smarty_Internal_Undefined' on Daily Cron


allytkn

Recommended Posts

Hi

We have an error with WHMCS daily cron. 

 

Error: Class 'Smarty_Internal_Undefined' not found in /home/username/public_html/mp/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:168

 

Full logs bellow.

Error: Class 'Smarty_Internal_Undefined' not found in /home/username/public_html/mp/vendor/smarty/smarty/libs/sysplugins/smarty_internal_extension_handler.php:168

#0 /home/username/public_html/mp/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(277): Smarty_Internal_Extension_Handler->__get('registerPlugin')
#1 /home/username/public_html/mp/vendor/whmcs/whmcs-foundation/lib/Smarty.php(0): Smarty_Internal_TemplateBase->registerPlugin('modifier', 'sprintf2', Array)
#2 /home/username/public_html/mp/vendor/whmcs/whmcs-foundation/lib/Mail/Emailer.php(0): WHMCS\Smarty->__construct(false, 'mail')
#3 /home/username/public_html/mp/vendor/whmcs/whmcs-foundation/lib/Mail/Emailer.php(0): WHMCS\Mail\Emailer->prepare()
#4 /home/username/public_html/mp/includes/functions.php(0): WHMCS\Mail\Emailer->send()
#5 /home/username/public_html/mp/vendor/whmcs/whmcs-foundation/lib/Cron/Task/InvoiceReminders.php(0): sendMessage('First Invoice O...', 13785)
#6 /home/username/public_html/mp/vendor/whmcs/whmcs-foundation/lib/Cron/Task/InvoiceReminders.php(0): WHMCS\Cron\Task\InvoiceReminders->sendOverdueInvoiceReminders()
#7 [internal function]: WHMCS\Cron\Task\InvoiceReminders->__invoke()
#8 /home/username/public_html/mp/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): call_user_func_array(Object(WHMCS\Cron\Task\InvoiceReminders), Array)
#9 /home/username/public_html/mp/vendor/whmcs/whmcs-foundation/lib/Scheduling/Task/AbstractTask.php(0): WHMCS\Scheduling\Task\AbstractTask->execute()
#10 /home/username/public_html/mp/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Scheduling\Task\AbstractTask->run()
#11 /home/username/public_html/mp/vendor/whmcs/whmcs-foundation/lib/Cron/Console/Command/AbstractCronCommand.php(0): WHMCS\Cron\Console\Command\AbstractCronCommand->executeCollection(Object(WHMCS\Scheduling\Task\Collection))
#12 /home/username/public_html/mp/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))
#13 /home/username/public_html/mp/vendor/symfony/console/Application.php(844): Symfony\Component\Console\Command\Command->run(Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /home/username/public_html/mp/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))
#15 /home/username/public_html/mp/vendor/symfony/console/Application.php(123): Symfony\Component\Console\Application->doRun(Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /home/username/public_html/mp/crons/cron.php(0): Symfony\Component\Console\Application->run(Object(WHMCS\Cron\Console\Input\CliInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

 

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