Fatal error on refresh URL’s
-
When clicking the ‘Refresh URLs’ button in the settings, wordpress crashes with a Fatal error.
Debug logs show:[17-Sep-2025 07:53:21 UTC] PHP Fatal error: Uncaught Error: Undefined constant “__CLASS_” in /home/<redacted>/domains/<redacted>/public_html/wp-content/plugins/cal-embedder-lite/cal-embedder-lite.php:814
Stack trace:
#0 /home/<redacted>/domains/<redacted>/public_html/wp-includes/class-wp-hook.php(326): Wp_Cal_Embed_Lite::validate_settings()
#1 /home/<redacted>/domains/<redacted>/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /home/<redacted>/domains/<redacted>/public_html/wp-includes/formatting.php(5119): apply_filters()
#3 /home/<redacted>/domains/<redacted>/public_html/wp-includes/option.php(887): sanitize_option()
#4 /home/<redacted>/domains/<redacted>/public_html/wp-admin/options.php(344): update_option()
#5 {main}
thrown in /home/<redacted>/domains/<redacted>/public_html/wp-content/plugins/cal-embedder-lite/cal-embedder-lite.php on line 814
The cause is a misspelled constant on line 814: __CLASS_ should be __CLASS__
After fixing this bug, the button no longer causes an error.
The topic ‘Fatal error on refresh URL’s’ is closed to new replies.