I have a problem with multipolygon layer stored in geopackage. In QGIS 3.22, $area function simply dint't work for some features in field calculator and leaved null values. So I decided to convert goepackage into shapefile and then got an error:
Export to vector file failed. Error: Feature write errors: Feature creation error (OGR error: Attempt to write non-polygon (MULTIPOINT) geometry to POLYGON type shapefile.) Feature creation error (OGR error: Attempt to write non-polygon (MULTILINESTRING) geometry to POLYGON type shapefile.) Feature creation error (OGR error: Attempt to write non-polygon (LINESTRING) geometry to POLYGON type shapefile.)
but the geopackage contains only one multipolygon layer:
What can be a reason?