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

::addChild error #9

@joseym

Description

@joseym

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!

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