Gantros
Explorer
You don't need line of effect because the roots are not the target of the spell.
The fact that plants must be in the area of the spread doesn't make them the target of the spell nor require line of effect to them. As noted specifically, line of effect determines the area that can be affected, not WHAT can be affected. As far as line of effect rules are concerned the target is still the area - not the roots.
I think you missed the second half of the Line of Effect rule... "You must have clear line of effect ... to any space in which you wish to create an effect"
Entangle's area of effect is a spread, which doesn't pass through solid barriers that block line of effect. It's further limited to plants within the spread area, so it can't pull plants into the area from the outside. If the only nearby plants are on the other side of a solid wall, the spell isn't going to do anything, because there are no plants in the area of effect.
One oddity of Entangle though is that even if the only vegetation in the area of effect is a single potted plant sitting on one side of it, it can still entangle any number of creatures on the opposite side of the area up to 80 feet away, even around corners! That would make for quite a sight...