Logical fallacy

Hollow man

The speaker invents a position or attributes it to an unspecified group without evidence and then refutes it. The target argument may never have been advanced by a real opponent.

An empty suit of clothes at a lectern with no person inside

Examples

Unnamed critics apparently want students never to read any books. We must reject this position, so no curriculum criticism has merit.
The objection targets a position assigned to unnamed critics with no evidence that any of them hold it.
I cannot point to anyone saying it, but environmental groups supposedly want all transport abolished. That view is absurd, so their concerns are invalid.