Error LSM - Call To Undefined Function Cal_days_in_month() - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Error LSM - Call To Undefined Function Cal_days_in_month()

E

Esteban

Extension 3 years ago

Hi, it is giving me an error when I try to access the LSM component from the control panel. Call to undefined function cal_days_in_month ()

Could you help me?

tanks

0
3 Answers
Ariba
Ariba
Accepted Answer
Support Agent 3 years ago #43130

Hello

Thank you for your query. Have you tried turning on the php module 'calendar' ?

0
E
Esteban
Accepted Answer
3 years ago #43180

No, but I can test, is that from the hosting? How do I enable that?

0
RA
Rafael Alvarez
Accepted Answer
3 years ago #44514

Hi Esteban,

Is PHP function. Depends on your PHP version. We installed today on docker with Joomla4 and PHP8.

In our case we went into the docker container with "docker exec -it containername /bin/bash" and executed:

docker-php-ext-configure calendar && docker-php-ext-install calendar

Made it work, cause our docker PHP was not having calendar function enabled

If you have this hosted you will need to ask your hosting provider to add the calendar function to your PHP

0