<div dir="ltr"><div>I have a layer which displays quarter degree squares for the whole country. I also have a csv file containing two fields. One of these is a field for quarter degree squares and the other is a plant that occur in those QDSs. The same plant species occurs in a number of different QDSs. I want to join the tables so that I can display the QDSs that have an occurrence of that plant species. I have tried using MMQGIS, using the common filed in each table. However I get an error message:</div><div><br></div><div>

<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><span style="font-size:large;font-weight:600">AttributeError: 'QVariant' object has no attribute 'lower' </span></p>
<pre style="margin:12px 0px;text-indent:0px"><span style="font-family:"Courier New"">Traceback (most recent call last):<br>  File "C:/Users/Pat/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mmqgis\mmqgis_dialogs.py", line 648, in run<br>    output_file_name, self.mmqgis_status_callback)<br>  File "C:/Users/Pat/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\mmqgis\mmqgis_library.py", line 678, in mmqgis_attribute_join<br>    key = attributes[join_index].lower().strip()<br>AttributeError: 'QVariant' object has no attribute 'lower'<br><br></span></pre><pre style="margin:12px 0px;text-indent:0px"><span style="font-family:"Courier New"">I am obviously doing something wrong. Can someone please point me in the right direction to sort this out?<br><br></span></pre><pre style="margin:12px 0px;text-indent:0px"><span style="font-family:"Courier New"">Thanks,<br><br></span></pre><pre style="margin:12px 0px;text-indent:0px"><span style="font-family:"Courier New"">Paddy<br></span></pre></div></div>