Closed benfeather closed 8 months ago
+1 looks like the Vite plugin requirement within Formie might be specific to beta.1 and Andrew now has it on beta.3
Ah, forgot to update that dependency now it's been tagged! Should be fixed in 3.0.0-beta.2
That seems to have fixed the composer error, however, I get another error when I try to install the plugin:
yii\base\ErrorException: During class fetch: Uncaught Error: Interface "verbb\formie\base\SubFieldInterface" not found in /var/www/html/vendor/verbb/formie/src/base/SubField.php:13
Stack trace:
#0 /var/www/html/vendor/composer/ClassLoader.php(576): include()
#1 /var/www/html/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/var/www/html/v...')
#2 /var/www/html/vendor/verbb/formie/src/fields/Address.php(35): Composer\Autoload\ClassLoader->loadClass('verbb\\formie\\ba...')
#3 /var/www/html/vendor/composer/ClassLoader.php(576): include('/var/www/html/v...')
#4 /var/www/html/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/var/www/html/v...')
#5 [internal function]: Composer\Autoload\ClassLoader->loadClass('verbb\\formie\\fi...')
#6 /var/www/html/vendor/verbb/formie/src/base/PluginTrait.php(220): class_alias('verbb\\formie\\fi...', 'verbb\\formie\\fi...')
#7 /var/www/html/vendor/composer/ClassLoader.php(576): include('/var/www/html/v...')
#8 /var/www/html/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/var/www/html/v...')
#9 /var/www/html/vendor/verbb/formie/src/Formie.php(87): Composer\Autoload\ClassLoader->loadClass('verbb\\formie\\ba...')
#10 /var/www/html/vendor/composer/ClassLoader.php(576): include('/var/www/html/v...')
#11 /var/www/html/vendor/composer/ClassLoader.php(427): Composer\Autoload\{closure}('/var/www/html/v...')
#12 [internal function]: Composer\Autoload\ClassLoader->loadClass('verbb\\formie\\Fo...')
#13 /var/www/html/vendor/craftcms/cms/src/services/Plugins.php(908): is_subclass_of('verbb\\formie\\Fo...', 'craft\\base\\Plug...')
#14 /var/www/html/vendor/craftcms/cms/src/services/Plugins.php(484): craft\services\Plugins->createPlugin('formie')
#15 /var/www/html/vendor/craftcms/cms/src/controllers/PluginsController.php(52): craft\services\Plugins->installPlugin('formie', NULL)
#16 [internal function]: craft\controllers\PluginsController->actionInstallPlugin()
#17 /var/www/html/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#18 /var/www/html/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams(Array)
#19 /var/www/html/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction('install-plugin', Array)
#20 /var/www/html/vendor/craftcms/cms/src/web/Application.php(350): yii\base\Module->runAction('plugins/install...', Array)
#21 /var/www/html/vendor/craftcms/cms/src/web/Application.php(651): craft\web\Application->runAction('plugins/install...', Array)
#22 /var/www/html/vendor/craftcms/cms/src/web/Application.php(312): craft\web\Application->_processActionRequest(Object(craft\web\Request))
#23 /var/www/html/vendor/yiisoft/yii2/base/Application.php(384): craft\web\Application->handleRequest(Object(craft\web\Request))
#24 /var/www/html/web/index.php(17): yii\base\Application->run()
#25 {main} in /var/www/html/vendor/verbb/formie/src/Formie.php:87
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleFatalError()
#1 {main}
Ah, I believe that's probably due to Git's case insensitivity not picking up that change from SubfieldInterface
to SubFieldInterface
. To get this early, run composer require verbb/formie:"dev-craft-5 as 3.0.0-beta.2"
.
Fixed in 3.0.0-beta.3
Describe the bug
When installing Formie on a Craft 5 demo site, I get this error:
The Craft 5 site I'm using doesn't have nystudio107/craft-plugin-vite installed as a separate plugin.
I ran into this issue on a few other plugins as well, including:
Steps to reproduce
Form settings
N/A, unable to install.
Craft CMS version
5.0.0-beta.5
Plugin version
3.0.0-beta.1
Multi-site?
Yes
Additional context
Composer packages: