diff --git a/lizmap/project_checker_tools.py b/lizmap/project_checker_tools.py index 32da90f2..6276444c 100644 --- a/lizmap/project_checker_tools.py +++ b/lizmap/project_checker_tools.py @@ -495,6 +495,10 @@ def duplicated_rule_key_legend(project: QgsProject, filter_data: bool = True) -> continue renderer = layer.renderer() + if not renderer: + # https://github.com/3liz/lizmap-plugin/issues/591 + # A vector layer can be spatial but having symbology disabled + continue results[layer.id()] = {}