Closed fishfree closed 6 years ago
Thanks for reporting! This seems to be a duplicate of this issues on d.o.
I get the following error when submitting a status report. I made a mistake before and did not actually save clearing the WKT field. After clearing, the service request is able to save without a problem. Regardless, the polygon check failed with the default polygon defined.
Error: Class 'Polygon\Polygon' not found in Drupal\markaspot_validation\Plugin\Validation\Constraint\ValidLatLonConstraintValidator::polygonCheck() (line 52 of /var/www/html/Athens311.com/public_html/markaspotUpdated/markaspot/web/modules/contrib/markaspot_validation/src/Plugin/Validation/Constraint/ValidLatLonConstraintValidator.php)
Could reproduce this via simplytest.me. I will try to dig deeper into this.
Please comment, if this error still occurs. This should be fixed with the commit above, tagged rc5. composer update
your installation.
I test this distribution on simplytest.me, when I add a report, it shows error as below:
Fatal error: Class 'Polygon\Polygon' not found in /home/d2idl/www/modules/contrib/markaspot_validation/src/Plugin/Validation/Constraint/ValidLatLonConstraintValidator.php on line 70
I also tried local install by following the instructions on the github readme. The same error!