diff --git a/checks/class-title-check.php b/checks/class-title-check.php
index 2d7bae6..d4c79bf 100644
--- a/checks/class-title-check.php
+++ b/checks/class-title-check.php
@@ -54,7 +54,7 @@ public function check( $php_files, $css_files, $other_files ) {
// Look for
and tags.
checkcount();
- if ( ( false !== strpos( $file_content, '' ) ) || ( false !== strpos( $file_content, '' ) ) ) {
+ if ( ( is_string( $file_content ) && false !== strpos( $file_content, '' ) ) || ( is_string( $file_content ) && false !== strpos( $file_content, '' ) ) ) {
$filename = tc_filename( $file_path );
$grep = tc_grep( '', $file_path );
$this->error[] = sprintf(
diff --git a/readme.txt b/readme.txt
index 430b0c2..863711e 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,7 +1,7 @@
=== Theme Check ===
Contributors: Otto42, pross, poena, dingo-d, acosmin, kafleg, joyously
Requires at Least: 3.7
-Tested Up To: 6.6
+Tested Up To: 6.7
Tags: themes, guidelines, wordpress.org
Stable tag: 20231220