PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type
-
FANTASTIC PLUGIN, THANK YOU!
… In my debugs logs I am repeatedly receiving the following message:
PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home1/reclajg2/public_html/wp-content/plugins/wp-asset-clean-up/classes/OptimiseAssets/FontsGoogle.php on line 186
Checking line 186 it pertains to the following code:
$altHtmlSource = preg_replace( ‘/<!–[^>]*’ . preg_quote( self::$containsStr, ‘/’ ) . ‘.*?–>/’, ”, $altHtmlSource ); // strip any comments containing the stringI have basic knowledge of code but I am certainly no coder so I am currently unaware of the true affect this error has on my site, though I am troubleshooting an issue with my sites styling messing up periodically and am wondering if this is related or not.
Regardless of whether it’s relaetd or not, I’m flagging this in case it can be fixed for me or others ??Thank you kindly in advance for your consideration
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.