I think this is also wrong ode type given by ode advisor. The following clearly can't be _dAlembert ode.
ode:=diff(y(x),x)*tan(diff(y(x),x))+ln(cos(diff(y(x),x))) = y(x);
It does not even have an explicit x on its own, in the RHS. D'Alembert ode has the form