Found the bug, looks like an initialisation issue.
Moved class-cm-snippet.php to load before admin components to ensure the class is available for both AJAX operations and snippet execution.
Found the bug, looks like an initialisation issue.
Moved class-cm-snippet.php to load before admin components to ensure the class is available for both AJAX operations and snippet execution.