Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 2 years ago.
0

I wonder if it is case sensitive.

You're calling Pricing, while the name of the model is pricing (with lower case "p")

Last updated 2 years ago.
0

Thank you, that was the thing I missed! After renaming my model to Pricing, I had to edit the vendor/composer/autoload_classmap.php and add the line 'Pricing' => $baseDir . '/app/models/Pricing.php', manually and now it is all working!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

marcelg7 marcelg7 Joined 27 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.