Visible warning on updating CSS – code fix needed
-
For some reason, WP-SCSS tries (and fails) to log something to a file after every CSS update, triggering a visible warning message in the website header:
Warning: fwrite() expects parameter 1 to be resource, string given in /home/.../wp-content/plugins/wp-scss/scssphp/scss.inc.php on line 830
A @ on the fwrite function call solves it
This logging is not essential and should be optional or made so that no warnings are generated if it fails.
- The topic ‘Visible warning on updating CSS – code fix needed’ is closed to new replies.