If $L$ is a Lie algebra in ${\rm gl}\ (n,{\bf R})$ then $$\ast\ {\rm tr}\ {\rm ad}\ z =0$$ for $z$ in commutator ideal $L'$
This is followed from matrix expression. But in 2.5 exercise in Erdmann and Wildon's book, there exists no condition on $L$.
In this case how can we prove $\ast$ ?