New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to get all meta for object #93
Comments
It looks like your Order record has one or more Meta entries where the type field is undefined/ |
AFK, but is it possible that the only() method is returning empty keys for ones that don't exist? Probably some tuning that could be done to the package to better handle that scenario, but you might be able to work around it by using array_filter before syncing |
But still not sure why I'm getting an error on empty types based on the information that is in the database now? |
I tried manually adding the missing fields to the |
I get an error when trying to fetch all meta belonging to an object:
Plank\Metable\DataType\Registry::getHandlerForType(): Argument #1 ($type) must be of type string, null given, called in /var/www/html/vendor/plank/laravel-metable/src/Meta.php on line 76
I have the full error stack here: https://flareapp.io/share/oPRq3OAm#F63
Running:
The text was updated successfully, but these errors were encountered: