SQLSTATE[HY000]: General error: 1364 Field 'tokenable_type' doesn't have a default value
Hello everyone I ran into a problem in the Api-service plugin again. This time the error is :
Although the documentation says that everything should be connected automatically, but I still have errors (I assume because of multi-tenancy)
The plugin Model code and other necessary codes are provided below. Token.php (its plugin model) : api-service.php: Comapny.php:
5 Replies
help pls))))
THe error is in your face. SQLSTATE[HY000]: General error: 1364 Field 'tokenable_type' doesn't have a default value
Friend, I understand this perfectly well and I understand what I could do with normal Laravel application development, but I use a plugin where it should be automated, I fixed this error, but after this error the plugin cannot find the company id for no reason, although all the connections are present
Was trying to help and definetely not to be mean. What plugin are you trying to install?
Yes, I'm not negative, I honestly don't know how my translator translates, but I understand that people here are trying to help newcomers like me. And the Api-service plugin : https://filamentphp.com/plugins/rupadana-api-service