• Resolved Erik

    (@cleverpixel)


    I just updated this on another site to see if I got the same fatal error result, I did.

    Here you go:

    WordPress version 6.1.1 Active theme: (version ) Current plugin: WP-SCSS (version 3.0.0) PHP version 7.4.27 Error Details ============= An error of type E_ERROR was caused in line 494 of the file /opt/bitnami/wordpress/wp-content/plugins/wp-scss/scssphp/src/Parser.php. Error message: Uncaught Error: Class 'ScssPhp\ScssPhp\Block\CallableBlock' not found in /opt/bitnami/wordpress/wp-content/plugins/wp-scss/scssphp/src/Parser.php:494 Stack trace: 
    #0 /opt/bitnami/wordpress/wp-content/plugins/wp-scss/scssphp/src/Parser.php(287): ScssPhp\ScssPhp\Parser->parseChunk() 
    #1 /opt/bitnami/wordpress/wp-content/plugins/wp-scss/scssphp/src/Compiler.php(5707): ScssPhp\ScssPhp\Parser->parse() 
    #2 /opt/bitnami/wordpress/wp-content/plugins/wp-scss/scssphp/src/Compiler.php(2673): ScssPhp\ScssPhp\Compiler->importFile() 
    #3 /opt/bitnami/wordpress/wp-content/plugins/wp-scss/scssphp/src/Compiler.php(2885): ScssPhp\ScssPhp\Compiler->compileImport() 
    #4 /opt/bitnami/wordpress/wp-content/plugins/wp-scss/scssphp/src/Compiler.php(2348): ScssPhp\ScssPhp\Compiler->compileChild() 
    #5 /opt/bitnami/wordpress/wp-content/plugins/wp-scss/scssphp/src/Compiler.php(736): ScssPhp\ScssPhp\Compiler->compileChildrenNoReturn() 
    #6 /opt/bitnami/wordpress/wp-content/plugins/wp-scss/scssphp/src/Compiler.php(516): ScssPhp\ScssPhp\Compiler->co
Viewing 10 replies - 1 through 10 (of 10 total)
  • nobita

    (@nobita)

    Hi
    I am getting the same error.

    chadmohr

    (@chadmohr)

    Similar
    `Fatal error: Uncaught Error: Class ‘ScssPhp\ScssPhp\Block\MediaBlock’ not found in /home/549275.cloudwaysapps.com/hcdywsvbhj/public_html/wp-content/plugins/wp-scss/scssphp/src/Parser.php:477 Stack trace: #0 /home/549275.cloudwaysapps.com/hcdywsvbhj/public_html/wp-content/plugins/wp-scss/scssphp/src/Parser.php(287): ScssPhp\ScssPhp\Parser->parseChunk() #1 /home/549275.cloudwaysapps.com/hcdywsvbhj/public_html/wp-content/plugins/wp-scss/scssphp/src/Compiler.php(502): ScssPhp\ScssPhp\Parser->parse() #2 /home/549275.cloudwaysapps.com/hcdywsvbhj/public_html/wp-content/plugins/wp-scss/class/class-wp-scss.php(152): ScssPhp\ScssPhp\Compiler->compileString() #3 /home/549275.cloudwaysapps.com/hcdywsvbhj/public_html/wp-content/plugins/wp-scss/class/class-wp-scss.php(100): Wp_Scss->compiler() #4 /home/549275.cloudwaysapps.com/hcdywsvbhj/public_html/wp-content/plugins/wp-scss/wp-scss.php(245): Wp_Scss->compile() #5 /home/549275.cloudwaysapps.com/hcdywsvbhj/public_html/wp-content/plugins/wp-scss/wp-scss.php(230): wp_scss_compile() #6 /h in /home/549275.cloudwaysapps.com/hcdywsvbhj/public_html/wp-content/plugins/wp-scss/scssphp/src/Parser.php on line 477′

    danbeland

    (@danbeland)

    Same issue with a site hosted on Kinsta. However, several other sites running on GreenGeeks have no issue with 3.0.0.

    Simon Mista

    (@simonmista)

    This Error is coused by this “Development Settings” -> “Always Recompile”

    u have to disable this option first before update.

    You can fix it via Database

    1. Open your database (example: phpmyadmin).
    2. Switch to the “XXX_options” Table.
    3. Search for “wpscss_options”
    4. Change “always_recompile\”;s:1:\”1\” to “always_recompile\”;s:1:\”0\”

    jonahcoyote

    (@jonahcoyote)

    Thanks @poooooow, this worked for me.

    friedhelm

    (@friedhelm)

    @poooooow -> that only works if you don’t compile. as soon you compile a changed sass-file the error comes again.
    only solution is to go back to last version…

    or:

    found this on github: https://github.com/ConnectThink/WP-SCSS/issues/238#issuecomment-1319849784

    davvam

    (@davvam)

    @friedhelm

    That worked for me thanks for haring. Uploading the new SCSSPHP files works.

    pixelstunde

    (@pixelstunde)

    You can fix the issue by downloading phpscss src folder from github and replacing your local source:

    1. Download: https://github.com/scssphp/scssphp/archive/refs/heads/master.zip
    2. Extract “src” folder
    3. Copy the folder to wp-content/plugins/wp-scss/scssphp/ and overwrite all files
    Plugin Author Sky Bolt

    (@sky-bolt)

    Sorry for this issue! I mistakenly missed some files when committing to WordPress SVN for version 3.0.0

    I updated my website and moved on, not realizing this issue shows as soon as a new compile tries to run.

    This has been fixed in 3.0.2 and now with 4.0.2, which also has a new version of SCSSPHP 1.11 (which requires PHP 7.2)

    If you would like to help maintain this plugin, please reach out here.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘3.0 PHP Errors’ is closed to new replies.