fix: Remove PHP syntax error in certificate reports template
Remove unmatched catch block and duplicate PHP closing tags that were causing parse errors and 500 status responses on the certificate reports page. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
43e0bb10f5
commit
66680590dc
1 changed files with 0 additions and 7 deletions
|
|
@ -319,10 +319,3 @@ wp_localize_script('hvac-certificate-actions-js', 'hvacCertificateData', array(
|
|||
// Close the try block
|
||||
get_footer();
|
||||
?>
|
||||
|
||||
<?php
|
||||
// Catch any late exceptions
|
||||
} catch (Exception $e) {
|
||||
echo '<div class="hvac-error">Error in certificate reports: ' . esc_html($e->getMessage()) . '</div>';
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue