Uninitialized string offset 0
-
Hello. Thanks for this plugin.
My system: ubuntu linux 22.04.1
WordPress version: 6.1.1
Rank Math SEO: 1.0.105
Php: 8.1.xI am getting the following error in the error logs. AH01071: Got error PHP message: PHP Warning: Uninitialized string offset 0 in seo-by-rank-math/vendor/mythemeshop/wordpress-helpers/src/helpers/class-str.php on line 235
line 235 is here
$ucwords .= preg_match( ‘/[\p{L}]/u’, $word[0] ) ? mb_strtoupper( $word[0], ‘UTF-8’ ) . mb_substr( $word, 1, mb_strlen( $word ), ‘UTF-8’ ) : $word;Thanks in advance for your help.
NOTE: I also opened a thread here: https://github.com/MyThemeShopTeam/wordpress-helpers/issues/32
The topic ‘Uninitialized string offset 0’ is closed to new replies.