• I am getting this fatal error continually from your plugin, can you please tell me how to fix this?

    2025/04/02 19:50:28 [error] 50330#50330: *203958 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mc_legacy_template_draw_event() in /www/madisondanceacademycom_600/public/wp-content/plugins/my-calendar/my-calendar-output.php:234

    Stack trace:

    #0 /www/madisondanceacademycom_600/public/wp-content/plugins/my-calendar/my-calendar-output.php(155): my_calendar_draw_event(Object(stdClass), ‘calendar’, ‘2021-09-06’, ‘month’, ”, ‘mc-948a6a8e8cd1…’, Array)

    #1 /www/madisondanceacademycom_600/public/wp-content/plugins/my-calendar/my-calendar-output.php(2153): my_calendar_draw_events(Array, Array, ‘2021-09-06’, ”, ‘mc-948a6a8e8cd1…’)

    #2 /www/madisondanceacademycom_600/public/wp-content/plugins/my-calendar/my-calendar-shortcodes.php(101): my_calendar(Array)

    #3 /www/madisondanceacademycom_600/public/wp-includes/shortcodes.php(434): my_calendar_insert(Array, ”, ‘my_calendar’)

    #4 [internal function]: do_shortcode_tag(Array)

    #5 /www/madisondanceacademycom_600/public/wp-includes/shortcodes.php(273): preg_replace_callback(‘/\\[(\\[?)” while reading response header from upstream, client: 20.171.207.38, server: madisondanceacademy.com, request: “GET /calendar/?cid=mc-948a6a8e8cd15db324902317a630b853&dy=26&mcat=4%2C1%2C2%2C3%2C5&month=9&time=week&yr=2021 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.1-fpm-madisondanceacademycom.sock:”, host: “madisondanceacademy.com:51389”

Viewing 1 replies (of 1 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    That seems like maybe you have an incomplete update of the plugin? That function was moved a few releases ago, and if you have some updated files and not others, you could conceivably get that error.

    You can safely delete the plugin from WordPress if you make sure that the options “Drop database tables on uninstall” and “Delete plugin settings on uninstall” are *not* checked in the General settings for the plugin. Then you can reinstall.

Viewing 1 replies (of 1 total)

The topic ‘Getting Fatal Error on Plugin’ is closed to new replies.