I have updated the extension (see git repo posted above), and now I am getting the following error:
( ! ) Fatal error: Uncaught exception 'ReflectionException' with message 'Class ZapTech\MFE\Listener\AddClientAssets does not exist' in C:\Program Files (x86)\Ampps\www\vendor\illuminate\container\Container.php on line 741
( ! ) ReflectionException: Class ZapTech\MFE\Listener\AddClientAssets does not exist in C:\Program Files (x86)\Ampps\www\vendor\illuminate\container\Container.php on line 741
Call Stack
# Time Memory Function Location
1 0.0002 130800 {main}( ) ...\index.php:0
2 0.0134 699160 Flarum\Http\AbstractServer->listen( ) ...\index.php:16
3 0.0274 1165952 Zend\Diactoros\Server->listen( ) ...\AbstractServer.php:36
4 0.0274 1165984 Flarum\Http\AbstractServer->__invoke( ) ...\Server.php:157
5 0.0274 1166416 Flarum\Foundation\AbstractServer->getApp( ) ...\AbstractServer.php:49
6 0.0891 2849792 Flarum\Foundation\Application->register( ) ...\AbstractServer.php:201
7 0.0901 2857080 Flarum\Extension\ExtensionServiceProvider->register( ) ...\Application.php:375
8 0.1885 4363032 Illuminate\Container\Container->call( ) ...\ExtensionServiceProvider.php:30
9 0.1885 4363344 call_user_func_array:{C:\Program Files (x86)\Ampps\www\vendor\illuminate\container\Container.php:507} ( ) ...\Container.php:507
10 0.1886 4363544 Flarum\Extension\ExtensionServiceProvider->{closure:C:\Program Files (x86)\Ampps\www\workbench\flarum-my-first-extension\bootstrap.php:6-8}( ) ...\Container.php:507
11 0.1886 4363624 Illuminate\Events\Dispatcher->subscribe( ) ...\bootstrap.php:7
12 0.1886 4363624 Illuminate\Events\Dispatcher->resolveSubscriber( ) ...\Dispatcher.php:135
13 0.1886 4363624 Flarum\Foundation\Application->make( ) ...\Dispatcher.php:149
14 0.1886 4363704 Illuminate\Container\Container->make( ) ...\Application.php:514
15 0.1886 4363704 Illuminate\Container\Container->build( ) ...\Container.php:631
16 0.1886 4363880 __construct ( ) ...\Container.php:741
Does anyone have any suggestions of possible troubleshooting steps or fixes? Here is the output of the command php flarum:info
Fatal error: Uncaught exception 'ReflectionException' with message 'Class ZapTech\MFE\Listener\AddClientAssets does not exist' in C:\Program Files (x86)\Ampps\www\vendor\illuminate\container\Container.php on line 741
ReflectionException: Class ZapTech\MFE\Listener\AddClientAssets does not exist in C:\Program Files (x86)\Ampps\www\vendor\illuminate\container\Container.php on line 741
Call Stack:
0.0003 119944 1. {main}() C:\Program Files (x86)\Ampps\www\flarum:0
0.0291 662616 2. Flarum\Console\Server->listen() C:\Program Files (x86)\Ampps\www\flarum:18
0.0291 662696 3. Flarum\Console\Server->getConsoleApplication() C:\Program Files (x86)\Ampps\www\vendor\flarum\core\src\Console\Server.php:26
0.0291 663128 4. Flarum\Foundation\AbstractServer->getApp() C:\Program Files (x86)\Ampps\www\vendor\flarum\core\src\Console\Server.php:36
0.1018 2347272 5. Flarum\Foundation\Application->register() C:\Program Files (x86)\Ampps\www\vendor\flarum\core\src\Foundation\AbstractServer.php:201
0.1027 2354560 6. Flarum\Extension\ExtensionServiceProvider->register() C:\Program Files (x86)\Ampps\www\vendor\flarum\core\src\Foundation\Application.php:375
0.2575 3860584 7. Illuminate\Container\Container->call() C:\Program Files (x86)\Ampps\www\vendor\flarum\core\src\Extension\ExtensionServiceProvider.php:30
0.2575 3860896 8. call_user_func_array:{C:\Program Files (x86)\Ampps\www\vendor\illuminate\container\Container.php:507}() C:\Program Files (x86)\Ampps\www\vendor\illuminate\container\Container.php:507
0.2576 3861096 9. Flarum\Extension\ExtensionServiceProvider->{closure:C:\Program Files (x86)\Ampps\www\workbench\flarum-my-first-extension\bootstrap.php:6-8}() C:\Program Files (x86)\Ampps\www\vendor\illuminate\container\Container.php:507
0.2576 3861176 10. Illuminate\Events\Dispatcher->subscribe() C:\Program Files (x86)\Ampps\www\workbench\flarum-my-first-extension\bootstrap.php:7
0.2576 3861176 11. Illuminate\Events\Dispatcher->resolveSubscriber() C:\Program Files (x86)\Ampps\www\vendor\illuminate\events\Dispatcher.php:135
0.2576 3861176 12. Flarum\Foundation\Application->make() C:\Program Files (x86)\Ampps\www\vendor\illuminate\events\Dispatcher.php:149
0.2576 3861256 13. Illuminate\Container\Container->make() C:\Program Files (x86)\Ampps\www\vendor\flarum\core\src\Foundation\Application.php:514
0.2576 3861256 14. Illuminate\Container\Container->build() C:\Program Files (x86)\Ampps\www\vendor\illuminate\container\Container.php:631
0.2576 3861432 15. ReflectionClass->__construct() C:\Program Files (x86)\Ampps\www\vendor\illuminate\container\Container.php:741
I have set up my extension development repo in a folder called workbench, like luceos suggested to in the post here. I appreciate any advice given!