From 66680590dc7d6c060995743436ffc7916b3fb43a Mon Sep 17 00:00:00 2001 From: bengizmo Date: Thu, 22 May 2025 20:59:35 -0300 Subject: [PATCH] fix: Remove PHP syntax error in certificate reports template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../certificates/template-certificate-reports.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/certificates/template-certificate-reports.php b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/certificates/template-certificate-reports.php index e6b613f3..b01f51a6 100644 --- a/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/certificates/template-certificate-reports.php +++ b/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/templates/certificates/template-certificate-reports.php @@ -319,10 +319,3 @@ wp_localize_script('hvac-certificate-actions-js', 'hvacCertificateData', array( // Close the try block get_footer(); ?> - -Error in certificate reports: ' . esc_html($e->getMessage()) . ''; -} -?>