Skip to content

Commit e5a3572

Browse files
author
Ariel Jolo
committed
Adding WPCF7 debug
1 parent 8a55d61 commit e5a3572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/osi/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ function osi_wpdc_comment_body( string $comment_body ) {
429429

430430
// trying to get an idea of what errors are happening
431431
ini_set('display_errors', 1); // Enable error display
432-
ini_set('display_startup_errors', 1); // Show startup errors
432+
add_filter('wpcf7_debug', '__return_true');
433433
error_reporting(E_ALL); // Report all PHP errors
434434

435435
/**

0 commit comments

Comments
 (0)