As per the snapshot, this seems to be a script error. Since the SOLIDWORKS PCB Connector Add-in is not even loaded (as seen in the taskpane), I am afraid, it may not be a PCB caused issue.
Try restarting your software or your machine.
If the problem still persists and in order to be assisted, I would request you to log a service request (SR#) under the SOLIDWORKS product keyword.
Thank you very much.
Retrieving data ...