Can not save open graph
nalakawula opened this issue · 5 comments
nalakawula commented
Here the log:
[2019-10-08 13:12:50] production.ERROR: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'description' at row 1 (SQL: insert into `open_graph_scans` (`title`, `description`, `image`, `url`, `icon`, `website_id`, `updated_at`, `created_at`) values
...
Thank you
OwenMelbz commented
How long is your description?
nalakawula commented
371 long.
I check your description column is varchar. So i just need to update into text type right?
OwenMelbz commented
I would checkout -> https://blog.spotibo.com/meta-description-length/
That length is far too long for the description, which is why this is throwing an error.
But yes changing it to text
will allow for longer descriptions
nalakawula commented
nice best practice advise.
I will close this issue.
Thank you.