This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Codelaya Technologies
Codelaya Technologies

I am trying to develop a plugin with backend navigation. But when I click on the navigation link following error occours:

Class 'Avista\EventManagement\Models\Event' not found C:\xampp\htdocs\october\modules\backend\behaviors\ListController.php line 111

107 /*

108 * Create the model

109 */

110 $class = $listConfig->modelClass;

111 $model = new $class;

112 $model = $this->controller->listExtendModel($model, $definition);

113

How to handle this problem?

Last updated

Crazymodder
Crazymodder

This error means; You have no modelclass with name Event in your model directory. Do you refer somethink like this in your code?

Event::

If you want to use the Laravel Eventsystem please make sure you include

use Event;
Codelaya Technologies
Codelaya Technologies

Thankyou Craztmodder. Its working superfine now

1-3 of 3

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.