Before submitting an issue please check that you’ve completed the following steps:
Made sure you’re on the latest version => 3.10.2
Used the search feature to ensure that the bug hasn’t been reported before
Describe the bug
PHP Notice is added in debug.log when excluding domain name or file name from Defer JS while Minify JS is enabled
To Reproduce
Steps to reproduce the behavior:
1.Add the following script in footer <script type='text/javascript' src='widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js?ver=5'></script>
Enable Minify JS and Defer JS
Exclude from Defer JS widget.trustpilot.com
Clear cache
Open the page containing this script
Check debug.log
PHP Notice: Undefined index: host in /var/www/new.rocketlabsqa.ovh/htdocs/wp-content/plugins/wp-rocket/inc/Engine/Optimization/AssetsLocalCache.php on line 112
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug PHP Notice is added in debug.log when excluding domain name or file name from Defer JS while Minify JS is enabled
To Reproduce Steps to reproduce the behavior: 1.Add the following script in footer
<script type='text/javascript' src='widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js?ver=5'></script>
widget.trustpilot.com
PHP Notice: Undefined index: host in /var/www/new.rocketlabsqa.ovh/htdocs/wp-content/plugins/wp-rocket/inc/Engine/Optimization/AssetsLocalCache.php on line 112
Expected behavior No notice is added to debug.log
Backlog Grooming (for WP Media dev team use only)