wilr / silverstripe-googlesitemaps

Google Sitemaps module for the SilverStripe CMS
BSD 3-Clause "New" or "Revised" License
74 stars 95 forks source link

SS4 - 500 error when retrieving style.css on a custom dataobject #131

Closed mr-macedawg closed 6 years ago

mr-macedawg commented 7 years ago

[2017-11-30 21:37:13] error-log.WARNING: E_WARNING: A non-numeric value encountered {"code":2,"message":"A non-numeric value encountered","file":"/home/takethedog/public_html/vendor/wilr/silverstripe-googlesitemaps/src/GoogleSitemap.php","line":285} [] [2017-11-30 21:37:13] error-log.ERROR: Uncaught Exception InvalidArgumentException: "SQLSelect::setLimit() only takes positive values" at /home/takethedog/public_html/vendor/silverstripe/framework/src/ORM/Queries/SQLSelect.php line 250 {"exception":"[object] (InvalidArgumentException(code: 0): SQLSelect::setLimit() only takes positive values at /home/takethedog/public_html/vendor/silverstripe/framework/src/ORM/Queries/SQLSelect.php:250)"} []

guyvanbael commented 6 years ago

still an issue on 4.0.1 But is it a problem for google?

wilr commented 6 years ago

Fixed in adb3ed9