You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Blitz automatically clears the cache, the queue task can fail for certain queries when using the Simple Map plugin. This will result in the site being partially cleared.
To reproduce
When using the Simple Map plugin and the ORDER BY distance feature, Blitz will store the original SQL query it saw, however, the plugin is doing some extra work under the hood:
Thanks for reporting this. I made the refresh cache job ignore exceptions when executing element queries in 867bcb8, which should prevent the queue job from failing in the next release.
Describe the bug
When Blitz automatically clears the cache, the queue task can fail for certain queries when using the Simple Map plugin. This will result in the site being partially cleared.
To reproduce
When using the Simple Map plugin and the ORDER BY distance feature, Blitz will store the original SQL query it saw, however, the plugin is doing some extra work under the hood:
https://github.com/ethercreative/simplemap/blob/v3/src/services/MapService.php#L392
This results in an error in the SQL query blitz stores.
Expected behaviour / potential fix
These queries could be ignored.
Versions
Thanks,
Sam
The text was updated successfully, but these errors were encountered: