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
I just migrated from 4.X to 5.0.0, my static analyzer noticed there is not more 3rd srid parameter in constructor of Point, but how to specify it then? Is it a default on the model?
Currently this produces this error when I create a factory of my model:
SQLSTATE[HY000]: General error: 3643 The SRID of the geometry does not match the SRID of the column 'geo'. The SRID of the geometry is 0, but the SRID of the column is 4326. Consider changing the SRID of the geometry or the SRID property of the column. (SQL: insert into `locations` (`address`, `geo`, `is_active`, `category_id`, `updated_at`, `created_at`) values ("6706 Alec Hills\nConroyland, TX 79751-2938", ST_GeomFromText(POINT(162.797666 53.388044)), 1, 1, 2021-11-26 16:50:20, 2021-11-26 16:50:20))
Somehow this package force pushed old code over top of newer code when tagging release 5.0.0. You can see this in the history of tag 4.0.0 showing the Point.php file was updated 2 years ago while in 5.0.0 it is now showing 4 years ago. The 5.0.0 release is a regression release and should not be used until it is tagged with a more stable progressive release. Have to revert to 4.0.0.
I just migrated from 4.X to 5.0.0, my static analyzer noticed there is not more 3rd srid parameter in constructor of Point, but how to specify it then? Is it a default on the model?
Currently this produces this error when I create a factory of my model:
And my migration specified the SRID:
The text was updated successfully, but these errors were encountered: