Voyager: Blog post save/update is down, when using multilingual

Created on 23 Apr 2017  路  4Comments  路  Source: the-control-group/voyager

  • Laravel Version: 5.4.19
  • Voyager Version: 0.11.9
  • PHP Version: 5.6-x64
  • Database Driver & Version: MySQL 5.7-x64

Description:

Got exception when trying to save blog post:

Argument 2 passed to TCGVoyagerModelsPost::setAttributeTranslations() must be of the type array, null given, called in E:Projectssyteg.comvendortcgvoyagersrcTraitsTranslatable.php on line 308 and defined

Steps To Reproduce:

  1. Turn on multilingual support in config/voyager.php on line 101
    'bread' => false, => 'bread' => true,

  2. Edit/Create any blog post:

http://voyager.dev/admin/posts/2

  1. Press SAVE
possible bug

Most helpful comment

Hi @d3n4, can you try the latest version? I've test it and it's working.
Also publish vendor assets, views and the config that was also updated.

I hope this works for you. Good luck!

All 4 comments

Hi @d3n4, can you try the latest version? I've test it and it's working.
Also publish vendor assets, views and the config that was also updated.

I hope this works for you. Good luck!

after update, works fine!

Great! :)

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.

Was this page helpful?
0 / 5 - 0 ratings