-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
feature requestNew feature or requestNew feature or request
Description
Description
It should be possible to export form submissions independently of forms.
For example: I store forms in flat files, but form submissions in the database. Currently, when I run php please eloquent:export-forms
, I get an error:
Illuminate\Contracts\Container\BindingResolutionException
Target class [statamic.eloquent.forms.model] does not exist.
at vendor/laravel/framework/src/Illuminate/Container/Container.php:1163
1159▕
1160▕ try {
1161▕ $reflector = new ReflectionClass($concrete);
1162▕ } catch (ReflectionException $e) {
➜ 1163▕ throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
1164▕ }
1165▕
1166▕ // If the type is not instantiable, the developer is attempting to resolve
1167▕ // an abstract type such as an Interface or Abstract Class and there is
+29 vendor frames
30 please:18
Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))
You can workaround it right now by moving forms to the database via php please install:eloquent-driver
, then running the export command again.
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or request