For example, if I have a gaussian surface and a negative charge somewhere outside that gaussian surface, there's going to be a non-zero electric flux.
However, According to gauss's law, electric flux = $\frac{Q}{E}$ and $Q$ is $0$ because there are no charges inside the surface?