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
Hey,
Please send us the WordPress dashboard and FTP access privately thru the contact form, which is on the right side at http://themeforest.net/user/muffingroup#contact, and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please make sure that the data you are sending are complete and correct.
Thanks
We have corrected it on your website.
This fix will also be included in the upcoming update.
Best regards
Thanks a lot, Phil.