Consider a charged non conducting solid sphere of uniform charge density, and it as hole of some radius at the centre.
As there is no charge inside the cavity, no charge is enclosed by Gaussian sphere, so electric flux is zero, hence electric field is zero.
But this is not true according to sources like this, textbook etc..
What am I missing here?
My question about how to have nonzero field in a region where the flux through the boundary of the region vanish? As mentioned by– rob