themsaid / laravel-langman

Language files manager in your artisan console.
MIT License
876 stars 166 forks source link

php artisan langman:trans addslashes error #15

Closed dragonfire1119 closed 8 years ago

dragonfire1119 commented 8 years ago

How to create the issue:

php artisan langman:trans nav.new_item
> Create new item

Error:

addslashes() expects parameter 1 to be string, array given

Laravel Version: 5.2

themsaid commented 8 years ago

Was that using a vendor translation file?

dragonfire1119 commented 8 years ago

@themsaid No I removed the vendor directory. You can't get this error without removing the vendor directory because just having the vendor directory in the lang throws the undefined index vendor.

themsaid commented 8 years ago

Working on this and will update you once it's fixed.

Thanks for reporting :)

themsaid commented 8 years ago

This error is now fixed since https://github.com/themsaid/laravel-langman/releases/tag/v1.2.0