Call to undefined function cal_days_in_month
-
This is the error I get
Uncaught Error: Call to undefined function cal_days_in_month() in /var/www/html/web/app/plugins/countdown-timer/fergcorp_countdownTimer.php:805 Stack trace: #0 /var/www/html/web/app/plugins/countdown-timer/fergcorp_countdownTimer.php(756): Fergcorp_Countdown_Timer->fuzzyDate(1567324800, 1567039396) #1 /var/www/html/web/app/plugins/countdown-timer/fergcorp_countdownTimer.php(654): Fergcorp_Countdown_Timer->formatEvent(Object(Fergcorp_Countdown_Timer_Event), true) #2 /var/www/html/web/app/plugins/countdown-timer/fergcorp_countdownTimer.php(968): Fergcorp_Countdown_Timer->singleTimer('1 September 201...') #3 /var/www/html/web/cms/wp-includes/shortcodes.php(325): Fergcorp_Countdown_Timer->shortcode_singleTimer(Array, '', 'fergcorp_cdt_si...') #4 [internal function]: do_shortcode_tag(Array) #5 /var/www/html/web/cms/wp-includes/shortcodes.php(199): preg_replace_callback('/\\[(\\[?)(fergco...', 'do_shortcode_ta...', '[fergcorp_cdt_s...') #6 /var/www/html/web/app/plugins/timber-library/vendor/twig/twig/src/Environmen in /var/www/html/web/app/plugins/countdown-timer/fergcorp_countdownTimer.php on line 805
I am running apache + php7.2 in a docker container.
In a changelog from 2013 you wrote ‘removed cal_days_in_month’ but there’s still one call to it left in the code.
- The topic ‘Call to undefined function cal_days_in_month’ is closed to new replies.