Probem executing hello world

Started by nikgreg99gmail.com, April 16, 2021, 06:31:37 PM

Previous topic - Next topic
Running a little plugin I receive this error:  caught Error: Class 'OPNsense\HelloWorld\OPNsense\Base\IndexController' not found in /usr/local/opnsense/mvc/app/controllers/OPNsense/HelloWorld/IndexController.php:4 Stack trace: #0 [internal function]: unknown() #1 [internal function]: Phalcon\Loader->autoLoad('OPNsense\\HelloW...') #2 [internal function]: spl_autoload_call('OPNsense\\HelloW...') #3 [internal function]: Phalcon\Dispatcher->dispatch() #4 /usr/local/opnsense/www/index.php(72): Phalcon\Mvc\Application->handle() #5 {main} thrown in /usr/local/opnsense/mvc/app/controllers/OPNsense/HelloWorld/IndexController.php on line 4

What I have to do?

QuoteClass 'OPNsense\HelloWorld\OPNsense\Base\IndexController' not found
class IndexController extends \OPNsense\Base\IndexController
https://docs.opnsense.org/development/examples/helloworld.html?highlight=mvc#controller

Did you install the hello World plugin?