Support Forums

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

LMS Error

Featured Lock Resolved Issue
When I try to access SP LMS from the backend I receive this error.

"0 Call to undefined function cal_days_in_month()"

Can you tell me what this means and if there's a way for me to fix this? Thanks .

2 Answers

Ofi Khan - Staff

More than a month ago #Permalink
This seems to be a PHP fatal error.
Which PHP version are you using?

- Best regards
I'm using php 7.2. When I turn on debugging it tells me where the error is. This is the code on that line: (/home/aidthost/maritimedev/administrator/components/com_splms/views/dashboard/tmpl/default.php:91) This is what is on that line:
$days = cal_days_in_month(CAL_GREGORIAN, $month, $year);

Is there something that I need to change here?

There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 121


Total Accepted Answers: 112
Mehtaz Afsana Borsha

Mehtaz Afsana Borsha

Total Accepted Answers: 58
Ofi Khan

Ofi Khan

Total Accepted Answers: 56
Rashida Rahman

Rashida Rahman

Total Accepted Answers: 35




Community Users


Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us