ApiBuilder

Create robust API with your models

Back to ApiBuilder Support

baberuth22
baberuth22

When I go to builder -> backend menu I see the following errors pop up in an alert.

"Class "RainLab\Builder\Classes\ControllerModel" not found" on line 53 of /Users/bsalt/www/valetsites/neatquiz/plugins/makgabophao/apibuilder/behaviors/IndexAPIDataRegistry.php

"Class "RainLab\Builder\Classes\LocalizationModel" not found" on line 41 of /Users/bsalt/www/valetsites/neatquiz/plugins/makgabophao/apibuilder/behaviors/IndexAPIDataRegistry.php

Any idea why these models are not found? The plugin installed without issue. I'm on a Mac using Laravel Valet with PHP 8.

baberuth22
baberuth22

To me it seems like it should be looking for the model in models not classes.

"RainLab\Builder\Models\LocalizationModel"

The namespace at the top of the LocalizationModel and ControllerModel is:

namespace RainLab\Builder\Models;

Last updated

emmanuel.makgabo14416
emmanuel.makgabo14416

Hi baberuth22. I have updated the plugin. Thanks for heads-up.

baberuth22
baberuth22

Thanks for the quick action.

October recognized that 1.0.18 is available and runs the update process, but the plugin doesn't update and the version remains 1.0.17. Have you tested the update?

If you are able to post the changes or diff, I can update the files myself. Thanks!

Last updated

1-4 of 4