In yii2-starter-kit, an error is reported: classtrntv\Aceeditor\AceeditorThe solution process of not found
1. Open the backend – content – text component – create text block, error: classtrntv\Aceeditor\Aceeditornot found, as shown in Figure 1

Open the backend – Content – Text Components – Create a block of text, error: classtrntv\Aceeditor\AceeditorNot found
2. Edit yii2-starter-kit\vendor\trntv\yii2-file-kit\composer.json, as shown in Figure 2
“autoload”: {
“psr-4”: { “trntv\\filekit\”: “” }
},
Modified to:
“autoload”: {
“psr-4”: { “trntv\\filekit\”: “src/” }
},
Note: Redefine the mapping from namespace to directory, the directory should be set to src/
3. Run the composer update command again to generate the vendor/autoload.php file, as shown in Figure 3
4. If you find that an error is still reported, as shown in Figure 4
5. Check yii2-starter-kit\vendor\composer\autoload_psr4.php, as shown in Figure 5
trntv\\Aceeditor\\=> array($vendordir ./trntv/yii2-Aceeditor,
Directory mapping has not changed
6. Edit yii2-starter-kit\vendor\composer\autoload_psr4.php, y ii2-starter-kit\vendor\composer\autoload_static.php, as shown in Figure 6, 7
7. It can run normally, as shown in Figure 8
8. Submit this error to github, as shown in Figure 9







