Giter Club home page Giter Club logo

Comments (1)

CormacBracken avatar CormacBracken commented on September 13, 2024

Some more details:

Error Display:
the page doesn't display "Print to Log", but in the db options table, it's set to "log". However no logfile appears (I'm not sure where it's supposed to be created. In the plugin's folder?)

"Show to logged in users" works fine. I thought I tested it earlier, apparently not. So just an issue with displayed the 3rd option.

fwrite error:

  • I downgraded from php 5.6 to 5.5 - no change.
  • I have been getting the error while compiling a full theme with many scss files (Genesis Sandbox + Compass libs). So I tested a blank theme with a single 5 line scss file. There's no error compiling the basic scss.
  • based on this page: https://www.drupal.org/node/1064690 - I inserted the code below near the top of wp-scss.php:
if (!defined('STDERR'))
    define('STDERR', fopen('php://stderr', 'w'));

This works - no error is displayed. Admittedly it's a very hackish solution. I don't know how STDERR can be undefined. I'm not using shared hosting (using a server config from serverpilot, which is normally pretty reliable). Still, I guess my "fix" isn't actually harmful to anyone, and might resolve issues for others with certain hosting environments (whatever the root cause may be).

Edit: Technically I shouldn't have closed this, since the error display issue still exists, although it's minor.

from wp-scss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.