\documentclass[12pt]{article}
\usepackage{forest}
\usepackage{gb4e,cgloss}
\forestset{
sn edges/.style={for tree={parent anchor=south, child anchor=north,align=center,base=bottom{}}},
background tree/.style={for tree={text opacity=0.2,draw opacity=0.2,}},
qtree/.style={
baseline,
for tree={
parent anchor=south,
child anchor=north,
align=center,
inner sep=1pt,
}},
nice empty nodes/.style={for tree={calign=fixed edge angles},delay={where content={}{shape=coordinate,for parent={for children={anchor=north}}}{}}}
}
\begin{document}
\begin{exe}
\ex
\begin{forest} qtree, nice empty nodes,
[…, for descendants={l=0}, name=dots , tikz={\node [draw,green,inner sep=12pt, fit=(V)(dots)(book)(Erel)(v)(T)] {};}
[ \emph{v}P
[DP
[Erel, triangle, name=Erel ] ]
[ {}, s sep=5em
[VP, name=VP, tikz={\node [draw,red,fit to tree] {};}
[DP
[ book-ACC, name=book, triangle ] ]
[V\\buy, name=V] ]
[\emph{v}, name=v ] ] ]
[T, name=T ] ]
\node at (dots)[above=5ex]{{\bf CP-phase}};
\node at (VP)[below=17ex]{{\bf VP-phase}}; name=VPnod
\end{forest}
\end{exe}
This gives me the following error message:
./divide with zero.tex:39: Package PGF Math Error: You asked me to calculate `1
/0.0', but I cannot divide any number by zero.
See the PGF Math package documentation for explanation.
Type H <return> for immediate help.
...
l.39 \end{forest}
However if I change the empty node under vP to anything, the error is gone.

pgf. The comments on the main question I linked to have some suggestions about a workaround using a node with a size that's almost 0 rather than using a coordinate for the empty nodes. – Jason Zentz May 06 '15 at 10:15