• Resolved bridgetwes

    (@bridgetwes)


    Using Sugar Calendar Version 3.9.0 causes the following error when adding a new page/post/cpt:

    PHP Fatal error: Uncaught Error: Undefined constant “Sugar_Calendar\Admin\SC_VENUE_POST_TYPE” in /wp-content/plugins/sugar-calendar-lite/src/Admin/Area.php:1595#012Stack trace:#012#0 /wp-content/plugins/sugar-calendar-lite/src/Admin/FlyoutMenu.php(42): Sugar_Calendar\Admin\Area->is_admin_page()#012#1 /wp-includes/class-wp-hook.php(324): Sugar_Calendar\Admin\FlyoutMenu->output(”)#012#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#012#3 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#4 /wp-admin/admin-footer.php(78): do_action(‘admin_footer’, ”)#012#5 /wp-admin/post-new.php(83): require_once(‘/nas/content/li…’)#012#6 {main}#012 thrown in /wp-content/plugins/sugar-calendar-lite/src/Admin/Area.php on line 1595

    I verified this happens with only the Sugar Calendar plugin active (all other plugins disabled) and theme “Twenty Twenty-Five” on three sites. All three sites are FSE themes. Reverting to Sugar Calendar 3.8.2 fixes the error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Patrick

    (@paddyam)

    Hi @bridgetwes,

    Thanks for flagging this and apologies for the inconvenience. I’ve looped in the dev team for further investigation and fixing. I’ll be in touch with an update on this soon.

    Thanks for your patience in the meantime.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @bridgetwes,

    Thank you very much for reporting this issue. We released version 3.9.1 which fixes this error.

    Please update the plugin and the issues will be fixed.

    Thank you again for reporting this and have a great weekend!

    Thread Starter bridgetwes

    (@bridgetwes)

    Thank you for the quick fix. I just updated to 3.9.1 and adding new post/page/CPT works now.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Using version 3.9.0, adding a page/post/cpt causes PHP fatal error’ is closed to new replies.