Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

::addChild error #9

Open
joseym opened this issue May 28, 2012 · 0 comments
Open

::addChild error #9

joseym opened this issue May 28, 2012 · 0 comments

Comments

@joseym
Copy link

joseym commented May 28, 2012

when trying to parse a template I get the following error:

Catchable fatal error: Argument 1 passed to Everzet\Jade\Node\BlockNode::addChild() must be an instance of Everzet\Jade\Node\Node, null given, called in /vagrant/lithium/libraries/li3_jade/libraries/jade.php/src/Everzet/Jade/Parser.php on line 59 and defined in /vagrant/lithium/libraries/li3_jade/libraries/jade.php/src/Everzet/Jade/Node/BlockNode.php on line 25 

Here is the template contents that I am trying to parse:

h2 The Jade template engine Rocks
p(style='white-space:pre;')
    | Jade makes writing HTML EASY and Beautiful
    | If you don't know about it
    a(href="http://jade-lang.com/") Get on it!
fcrosfly referenced this issue in fcrosfly/jade.php Jul 5, 2013
Added boolean handling for the checked attribute.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant