Hi,
I am getting a cron error when trying to send reports,
Forma 3.0.1, php7.4.
Cron script
/usr/bin/php74 -q public_html/cron/cron.report.php
'PHP Fatal error: Uncaught Error: Class 'DoceboMailer' not found in /home/....../public_html/cron/cron.report.php:307
Stack trace:
#0 {main}
thrown in /home/...../public_html/cron/cron.report.php on line 307'
Any help would be appreciated
Cheers
Graeme
Cron error
Re: Cron error
Are you sure you are using 3.0 /cron/cron.report.php?
Per supporto GRATUITO contattatemi in privato qui
-
- FormaLms User
- Posts: 124
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: Cron error
Hi Alfa,
Forma version 3.01
Cheers
Graeme
Forma version 3.01
Cheers
Graeme
-
- FormaLms User
- Posts: 124
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: Cron error
line 307
$mailer = DoceboMailer::getInstance();
$mailer = DoceboMailer::getInstance();
Re: Cron error
Ready to bet you have still cron.report.php from a 2.x version.
Per supporto GRATUITO contattatemi in privato qui
-
- FormaLms User
- Posts: 124
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: Cron error
I am downloading a fresh copy of 3.01, I will delete the old and replace the cron folder and test.
Let you know what happens
Let you know what happens
-
- FormaLms User
- Posts: 124
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: Cron error
Same error
PHP Fatal error: Uncaught Error: Class 'DoceboMailer' not found in /home/...../public_html/cron/cron.report.php:307
Stack trace:
#0 {main}
thrown in /home/....../public_html/cron/cron.report.php on line 307
PHP Fatal error: Uncaught Error: Class 'DoceboMailer' not found in /home/...../public_html/cron/cron.report.php:307
Stack trace:
#0 {main}
thrown in /home/....../public_html/cron/cron.report.php on line 307
Re: Cron error
Unfortunately I've not access to 3.01, it seems much has changed since 3.0.
Per supporto GRATUITO contattatemi in privato qui
-
- FormaLms User
- Posts: 124
- Joined: Thu May 05, 2016 6:53 am
- Version: forma.lms 2.0
- Location: UK
- Contact:
Re: Cron error
Your right it is very different, I have just looked at the version 3.0 cron.report.php
3.0
$mailer = FormaMailer::getInstance();
3.01
$mailer = DoceboMailer::getInstance();
3.0
$mailer = FormaMailer::getInstance();
3.01
$mailer = DoceboMailer::getInstance();
Re: Cron error
Yes, 3.0 has that line but it's 278.
I can debug it (and fix) on your instance, as I - repeat - can't access a 3.01.
I can debug it (and fix) on your instance, as I - repeat - can't access a 3.01.
Per supporto GRATUITO contattatemi in privato qui