-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined index: en when saving post #3196
Comments
Dear @emptynick, can you please explain why do you close all of the issues on account of "undefined index" and other problems with multilingual feature while none of them is solved. You only reference to one possible fix which is not helpful at all. Could you please explain this to me? Would be grateful. Thanks in advance. |
This particular issue is a duplicate of the issues I mentioned. The oldest issue will stay open until a bugfix is merged. |
@emptynick it's not fixed yet in 2019 men. |
You are the only one to say it's not working in 2019. |
It's also not working for me. Working with the latest version available of Voyager (1.2) and Laravel 5.8 |
@emptynick |
Ok, I've found the reason why it's failing (at least in my project). Thanks to @siltais for pointing me in the right direction. In my case, I was trying to configure a column in the database with the JSON data type and, the input type as "Code Editor" in the BREAD for the model. It seems like, the translations can only work with text-based data types (CHAR, VARCHAR, TINYTEXT, TEXT, MEDIUMTEXT, LONGTEXT, but not JSON) (on the database) and, with "text" or "textarea" as the type of input in the BREAD configuration for the translatable properties of the model. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group. |
Description:
Error Exception on updating post when English language selected. Other post languages are working fine.
Steps To Reproduce:
Enable multi language and add few languages, then go to Posts section, click edit on any post, change some value and click on update post.
The text was updated successfully, but these errors were encountered: