From 752f5e292f514ad146d38bb4a3504944e6cdef20 Mon Sep 17 00:00:00 2001 From: Maciej Palmowski Date: Mon, 13 Apr 2020 23:12:11 +0200 Subject: [PATCH] Fix - error_log instead of warn --- lib/Timber.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Timber.php b/lib/Timber.php index 50f1a817a..e3263a115 100644 --- a/lib/Timber.php +++ b/lib/Timber.php @@ -333,7 +333,7 @@ public static function compile( $filenames, $data = array(), $expires = false, $ $output = $loader->render($file, $data, $expires, $cache_mode); } else { - Helper::warn( 'Error loading your template file, make sure the file exists.' ); + Helper::error_log( 'Error loading your template file, make sure the file exists.' ); } do_action('timber_compile_done');