Screenshot : https://ibb.co/v4PWSmhT
i have set this cron job for version 3.7.2 in hostinger but cron out put is blank if i check though cron url link its throwing error 500 and invoice overdue etc not fuctioning automatically due to this kindly help
- MSAnswered
Hello,
Please check your php error logs and let me know the error details.
If you are not sure abjure server error logs, you can try enable app log by changing the
log_threshold
to 1 in theapp/config/config.php
file and then try to access the url again. Lastly check the latest log file in theapp/logs/
folder.Please start using v4 as there won’t be any more updated for v3.
Thank you
- SSAnswered
ERROR - 2025-02-08 18:09:50 --> Severity: Warning --> Undefined variable $cc /home/u725281135/domains/innoveil.com/public_html/bills.innoveil.com/app/controllers/Cron.php 96 ERROR - 2025-02-08 18:09:50 --> Severity: Warning --> Undefined variable $bcc /home/u725281135/domains/innoveil.com/public_html/bills.innoveil.com/app/controllers/Cron.php 96 ERROR - 2025-02-08 18:09:50 --> Severity: error --> Exception: No block-level parent found. Not good. /home/u725281135/domains/innoveil.com/public_html/bills.innoveil.com/vendor/dompdf/dompdf/src/Positioner/Inline.php 44 ERROR - 2025-02-08 18:09:50 --> 404 Page Not Found: Robotstxt/index
this is the error i got
- SSAnswered
i followed your suggestion still if i run link : https://bills.innoveil.com/cron/run, i am getting error 500
- SSAnswered
Mian Saleem Please help
- MSAnswered
Hello,
Please edit
app/controllers/Cron.php
and remove, $cc, $bcc
from line no 170 so the lineif ($this->sim->send_email($to, $subject, $message, null, null, $attachment, $cc, $bcc)) {
will be
if ($this->sim->send_email($to, $subject, $message, null, null, $attachment)) {
After this try again. Thanks
- SSAnswered
Mian Saleem tried still gettting error , cron job showing error 500 and this error coming
ERROR - 2025-02-11 01:10:21 --> Severity: error --> Exception: No block-level parent found. Not good. /home/u725281135/domains/innoveil.com/public_html/bills.innoveil.com/vendor/dompdf/dompdf/src/Positioner/Inline.php 44 ERROR - 2025-02-11 01:10:22 --> 404 Page Not Found: Robotstxt/index
note if i run cron from hostinger it appears blank and if i run cron from link i am getting 500 error page error log capture upper error
- MSAnswered
Hello,
The error is from dompdf what’s your php version? V3 can only be used with php7.4 or php8.0
Thank you
- SSAnswered
Mian Saleem all cron things are running fine previosuly but few days ago only problem arise , and currently script runninng in 7.4 but still getting same error log and cron throwing error 500
ERROR - 2025-02-11 19:07:17 --> Severity: error --> Exception: No block-level parent found. Not good. /home/u725281135/domains/innoveil.com/public_html/bills.innoveil.com/vendor/dompdf/dompdf/src/Positioner/Inline.php 44 ERROR - 2025-02-11 19:07:17 --> 404 Page Not Found: Robotstxt/index ERROR - 2025-02-11 19:07:19 --> Severity: error --> Exception: No block-level parent found. Not good. /home/u725281135/domains/innoveil.com/public_html/bills.innoveil.com/vendor/dompdf/dompdf/src/Positioner/Inline.php 44 ERROR - 2025-02-11 19:07:19 --> 404 Page Not Found: Robotstxt/index
- MSAnswered
Hello,
If it was running fine there there might be some change on your server that caused this. Please check with your server admin if any thing changed or any versions updated.
I suggest, you start using the v4 as the v3 is no more supported and outdated/reached end of life.
Thank you
- SSAnswered
As per your instructions i have installed the latest version 4, and here i am getting same issue cron job output is blank for that issue i have to manually need to click on generate invoices so recurring invoices are generating also after due date cross invoices should automatically goes to overdue section that is also not happening, please help , i trust you , please try to help
- Login to Reply