Skip to content

ifTruthy() commit breaks things #80

@jamesshannon

Description

@jamesshannon

Hi All..

I just swapped in the most recent commit and started getting an error. I've tracked it down to 318b54 . If I replace the code with the previous commit, everything works fine.

This is being run on Foundation, and I'm getting the below error.

I'm not sure how to track this down to the line of scss that's causing it, but I can work through it if you have suggestions / need more info.

Fatal error: Maximum function nesting level of '100' reached, aborting! in /Users/jshannon/Documents/Work/Projects/C5 Theme/Repo/packages/lerteco_foundation/libraries/vendor/scss.inc.php on line 1355
Call Stack
#   Time    Memory  Function    Location
1   0.0007  633320  {main}( )   ../index.php:0
2   0.0012  736560  require( '/Library/WebServer/WebSites/concrete5source/c5602/concrete/dispatcher.php' )  ../index.php:2
3   0.0937  17577048    require( '/Library/WebServer/WebSites/concrete5source/c5602/concrete/startup/tools.php' )   ../dispatcher.php:122
4   0.0939  17608736    include( '/Library/WebServer/WebSites/concrete5source/c5602/concrete/tools/css.php' )   ../tools.php:29
5   0.0961  17745464    LertecoFoundationPageTheme->parseStyleSheet( )  ../css.php:25
6   0.0967  17755944    scssc->compile( )   ../foundation_page_theme.php:63
7   0.4282  19200664    scssc->compileRoot( )   ../scss.inc.php:87
8   0.4283  19202968    scssc->compileChildren( )   ../scss.inc.php:280
9   0.5380  19767896    scssc->compileChild( )  ../scss.inc.php:443
10  0.5380  19768784    scssc->compileImport( ) ../scss.inc.php:516
11  0.5382  19768984    scssc->importFile( )    ../scss.inc.php:485
12  0.5568  19819864    scssc->compileChildren( )   ../scss.inc.php:1450
13  0.6718  20240832    scssc->compileChild( )  ../scss.inc.php:443
14  0.6721  20275968    scssc->compileImport( ) ../scss.inc.php:516
15  3.7668  33399496    scssc->compileImport( ) ../scss.inc.php:498
16  3.7670  33399720    scssc->importFile( )    ../scss.inc.php:485
17  3.9667  34184488    scssc->compileChildren( )   ../scss.inc.php:1450
18  3.9688  34197064    scssc->compileChild( )  ../scss.inc.php:443
19  3.9688  34197064    scssc->compileChildren( )   ../scss.inc.php:580
20  3.9688  34197368    scssc->compileChild( )  ../scss.inc.php:443
21  3.9688  34197368    scssc->compileMedia( )  ../scss.inc.php:529
22  3.9689  34200152    scssc->compileChildren( )   ../scss.inc.php:314
23  3.9689  34200544    scssc->compileChild( )  ../scss.inc.php:443
24  3.9689  34200544    scssc->compileBlock( )  ../scss.inc.php:532
25  3.9690  34204728    scssc->compileChildren( )   ../scss.inc.php:351
26  3.9690  34205472    scssc->compileChild( )  ../scss.inc.php:443
27  3.9788  34282312    scssc->compileChild( )  ../scss.inc.php:674
28  3.9862  34301480    scssc->compileChild( )  ../scss.inc.php:674
29  3.9863  34301480    scssc->compileChildren( )   ../scss.inc.php:586
30  3.9865  34301920    scssc->compileChild( )  ../scss.inc.php:443
31  3.9865  34301920    scssc->compileBlock( )  ../scss.inc.php:532
32  3.9866  34308280    scssc->compileChildren( )   ../scss.inc.php:351
33  3.9866  34308584    scssc->compileChild( )  ../scss.inc.php:443
34  3.9868  34311088    scssc->compileChild( )  ../scss.inc.php:674
35  3.9868  34311136    scssc->reduce( )    ../scss.inc.php:579
36  3.9868  34311136    scssc->reduce( )    ../scss.inc.php:852
37  3.9868  34313104    scssc->reduce( )    ../scss.inc.php:861
38  3.9868  34313152    scssc->reduce( )    ../scss.inc.php:852
39  3.9868  34315120    scssc->reduce( )    ../scss.inc.php:861
40  3.9868  34315168    scssc->reduce( )    ../scss.inc.php:852
and another 60 of these...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions