Closed xavierdemoor closed 6 years ago
I'm encountering the same issue. Here's a screenshot - I press "Install" and this error pops up: https://img.lukepeters.me/080920180u9uo.png I don't see anything in the error logs. PHP version 7.1.16. Craft CMS version 3.0.19 (fully up-to-date).
I’m seeing this in the logs:
2018-07-31 16:13:49 [192.168.10.1][1][-][error][craft\db\MigrationManager::migrateUp] Failed to apply Install (time: 0.002s). Output:
Exception: Calling unknown method: born05\twofactorauthentication\migrations\Install::_upgradeFromCraft2() (/home/vagrant/dev/craft3-test.test/vendor/yiisoft/yii2/base/Component.php:300)
Offending line:
Looks like you just need to drop the _
.
@xdemoor @LukePeters Until @roelvanhintum officially fixes this, you can get my fix by adding this to your composer.json
file:
{
"repositories": [
{"type": "vcs", "url": "https://github.com/brandonkelly/craft-twofactorauthentication"}
]
}
And then run this command in your terminal:
composer require born05/craft-twofactorauthentication:"dev-patch-1 as 2.0.0-beta.6"
@brandonkelly This worked perfectly - thank you so much!
@brandonkelly Thanks for the fix! Just released it in 2.0.0-beta.7
`
`
I tried to install the plugin via the plugin store, composer add it but I can't install it.