Error when having multiple Tag fields on Nova Resource #180
-
Hi, first of all thanks for the very nice package (and all other Spatie packages!) I have a Product model which has multiple tag groups, so I made 2 Tag input fields on my Nova resource:
On my local develoment setup with 10.3.39-MariaDB everything seems ok. But on my Forge server setup (mysql Ver 8.0.31 for Linux on x86_64 (MySQL Community Server - GPL)) I get following error when trying to save 1 or multiple tags. This is the error I get:
This is the exact query that's executed: So when I run this query directly on my database, on my local setup I don't get an error. On my PROD environment I get the error returned. While the installation requirements say that you need MySQL 5.5 or higher? Thanks very much in advance. EDIT: After more debugging I found there was a typo in 1 of the values in the slug column. My bad! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
After more debugging I found there was a typo in 1 of the values in the slug column. So nevermind :) |
Beta Was this translation helpful? Give feedback.
After more debugging I found there was a typo in 1 of the values in the slug column.
It said
{"nl":"glutenvrij,"fr":"sans-glutes"}
instead of{"nl":"glutenvrij","fr":"sans-glutes"}
.So nevermind :)