From 9757cf0f402d389df47272fb7382c7c58ce305b4 Mon Sep 17 00:00:00 2001 From: IanDelMar <42134098+IanDelMar@users.noreply.github.com> Date: Thu, 28 Jul 2022 17:19:50 +0200 Subject: [PATCH] Fix 'Trying to access array offset on value of type bool' in WP 5.0-5.2 --- inc/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/setup.php b/inc/setup.php index 3af6837f..f58f250e 100644 --- a/inc/setup.php +++ b/inc/setup.php @@ -70,7 +70,7 @@ if ( ! function_exists( 'understrap_setup' ) ) { /* * Adding Thumbnail basic support */ - add_theme_support( 'post-thumbnails' ); + add_theme_support( 'post-thumbnails', true ); /* * Adding support for Widget edit icons in customizer