You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passing null parameter to str_replace() makes wordpress debug to give an error on PHP > 8.1
Error
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-content/plugins/highlighting-code-block/class/loos_hcb.php on line 79
Environment
Using PHP 8.3
Fix
/highlighting-code-block/class/loos_hcb.php
Rule number 80
Passing null parameter to str_replace() makes wordpress debug to give an error on PHP > 8.1
Error
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/html/wp-content/plugins/highlighting-code-block/class/loos_hcb.php on line 79
Environment
Using PHP 8.3
Fix
/highlighting-code-block/class/loos_hcb.php
Rule number 80
Situation Now
Proposal
References
https://magento.stackexchange.com/posts/369717/timeline
tested and error message is gone
The text was updated successfully, but these errors were encountered: