add_settings_error() is only available in admin context. When setup_cache_dir() runs on frontend via the 'init' hook, calling add_settings_error() causes a fatal error that breaks the entire WordPress loading process, cascading into class redeclaration errors for other plugins. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| admin.php | ||
| core.php | ||
| marketing.php | ||
| multisite.php | ||
| wpcy-compatibility.php | ||