New module item error

When i make a new module i get this error, i'm using the twill metadata pacakage
Object { message: "Illuminate\\Database\\Grammar::parameterize(): Argument #1 ($values) must be of type array, string given, called in /var/www/libera/website/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php on line 1022", exception: "TypeError", file: "/var/www/libera/website/vendor/laravel/framework/src/Illuminate/Database/Grammar.php", line: 168, trace: (72) […] }
Object { message: "Illuminate\\Database\\Grammar::parameterize(): Argument #1 ($values) must be of type array, string given, called in /var/www/libera/website/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php on line 1022", exception: "TypeError", file: "/var/www/libera/website/vendor/laravel/framework/src/Illuminate/Database/Grammar.php", line: 168, trace: (72) […] }
5 Replies
thelongestsigh
thelongestsighOP2y ago
Sorry i have a lot of questoins 🙂
pauldwight
pauldwight2y ago
which metadata package?
thelongestsigh
thelongestsighOP2y ago
GitHub
GitHub - cwsdigital/twill-metadata: SEO Metadata Package for Twill CMS
SEO Metadata Package for Twill CMS. Contribute to cwsdigital/twill-metadata development by creating an account on GitHub.
pauldwight
pauldwight2y ago
Most likely you haven't included the following in your model
public $mediasParams = [];
public $mediasParams = [];
See https://github.com/cwsdigital/twill-metadata/issues/23
GitHub
TypeError Illuminate\Database\Grammar::parameterize() · Issue #23 ...
I am having some issues using the trait whenever I try to create a model that has the trait I get the following error: TypeError Illuminate\Database\Grammar::parameterize(): Argument #1 ($values) m...
thelongestsigh
thelongestsighOP2y ago
YES! that solved it. Thank you very much
Want results from more Discord servers?
Add your server