How can i solve this error when importing materials? When I try to add materials to Blender I have this error pop up, I tried importing different materials but without any luck.

bpy.context.space_data.recent_folders_active = 2
Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 2.82\2.82\scripts\addons\node_wrangler.py", line 2689, in execute
    if not active_node.bl_idname == 'ShaderNodeBsdfPrincipled':
AttributeError: 'NoneType' object has no attribute 'bl_idname'

location: &lt;unknown location&gt;:-1
```
You don't have an active node selected and the Node Wrangler add-on had a bug that didn't check if an active node existed. Select the Principled BSDF node and it should work properly.

The bug in Node Wrangler has been fixed.