PHP 8.1 errors

Hi there,

In debugging mode on this dev site (help2complydk.tempurl.host) using PHP 8.1, I got the following errors:

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/web/site/public_html/wp-includes/shortcodes.php on line 208 

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/web/site/public_html/wp-content/themes/betheme/includes/header-top-bar-right.php on line 32

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/web/site/public_html/wp-content/themes/betheme/includes/header-top-bar-right.php on line 40

WPMU DEV support writes:

"It seems Betheme is not fully compatible with PHP 8.1, we'd recommend to contact the theme developers and share with them the warning(error) since it may cause more complex issues in upcoming PHP versions."

Let me know if you have any suggestions or need more information.

Best regards,

Ivan

Comments

Sign In or Register to comment.