Skip to content
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

ReflectionException occured for Faryshta widget #9

Open
IntegrityFoundation opened this issue Oct 8, 2018 · 1 comment
Open

ReflectionException occured for Faryshta widget #9

IntegrityFoundation opened this issue Oct 8, 2018 · 1 comment

Comments

@IntegrityFoundation
Copy link

IntegrityFoundation commented Oct 8, 2018

I am using Yii2 basic application template and I have hosted the software files on my VPS server. I have installed composer and also updated. When I start to run the application it shows the error as below:

ReflectionException
Class app\assets\DisableSubmitButtonsAsset does not exist

@1Luc1
Copy link

1Luc1 commented Nov 16, 2018

the readme has a misspelling.
should be:

use faryshta\disableSubmitButtons\Asset as DisableSubmitButtonAsset;

class AppAsset extends yii\web\AssetBundle
{
    public $depends = [
        DisableSubmitButtonAsset::class, // <-- this line
        // other dependencies
    ];
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants