<div dir="ltr"><div>Hi,</div><div>I need help with QGIS 18.21</div><div>I receive the following message whenever I use a plugin:</div><div> "An error has occurred while executing Python code: See message log (Python Error) for more details"</div><div>Below are details when I open the error message:</div><div>


<p style="margin:0px;text-indent:0px;white-space:pre-wrap">1    Traceback (most recent call last):</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">                       File "C:/Users/mmirg/.qgis2/python/plugins\profiletool\apicompat\qgsmaplayer.py", line 10, in isSpatial</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">                         return self.hasGeometryType()</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">                     AttributeError: 'QgsRasterLayer' object has no attribute 'hasGeometryType'</p></div><div><br> </div><div>Please advice how to fix this problem.</div><div>with Thanks,</div><div>Mirg<br></div><div><br></div></div>