Error Scanning for Messages in October Translate

Hello all,

System:
OctoberCMS - 3.1.28
Translate plugin - 2.1.3

I’m having a weird issue when scanning for translation messages via the translation plugin - receiving the following error message.

"No hint path defined for [renatio.backupmanager]." on line 112 of /Users/username/Documents/Valet-Sites/websitename/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php

The Renatio.BackupManager plugin is no longer installed on the system so I’m not sure how this is being referenced.

I have run composer update and I have cleared the application cache.

Any ideas on where I need to go to resolve this issue?

Thanks in advance.

InvalidArgumentException: No hint path defined for [renatio.backupmanager]. in /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php:112
Stack trace:

#0 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(90): Illuminate\View\FileViewFinder->parseNamespaceSegments('renatio.backupm...')

#1 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php(76): Illuminate\View\FileViewFinder->findNamespacedView('renatio.backupm...')

#2 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/View/Factory.php(138): Illuminate\View\FileViewFinder->find('renatio.backupm...')

#3 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338): Illuminate\View\Factory->make('renatio.backupm...')

#4 /Users/responsive/Documents/Valet-Sites/responsiveweb/modules/system/models/MailTemplate.php(160): Illuminate\Support\Facades\Facade::__callStatic('make', Array)

#5 /Users/responsive/Documents/Valet-Sites/responsiveweb/modules/system/models/MailTemplate.php(139): System\Models\MailTemplate::getTemplateSections('renatio.backupm...')

#6 /Users/responsive/Documents/Valet-Sites/responsiveweb/modules/system/models/MailTemplate.php(122): System\Models\MailTemplate->fillFromView('renatio.backupm...')

#7 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/october/rain/src/Database/Concerns/HasEvents.php(46): System\Models\MailTemplate->afterFetch()

#8 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421): October\Rain\Database\Model->October\Rain\Database\Concerns\{closure}(Object(System\Models\MailTemplate))

#9 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('eloquent.fetche...', Array)

#10 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/HasEvents.php(189): Illuminate\Events\Dispatcher->dispatch('eloquent.fetche...', Array)

#11 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/october/rain/src/Database/Model.php(173): Illuminate\Database\Eloquent\Model->fireModelEvent('fetched', false)

#12 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(405): October\Rain\Database\Model->newFromBuilder(Object(stdClass))

#13 [internal function]: Illuminate\Database\Eloquent\Builder->Illuminate\Database\Eloquent\{closure}(Object(stdClass))

#14 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(404): array_map(Object(Closure), Array)

#15 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php(23): Illuminate\Database\Eloquent\Builder->hydrate(Array)

#16 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(2315): Illuminate\Database\Eloquent\Model->forwardCallTo(Object(October\Rain\Database\Builder), 'hydrate', Array)

#17 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/october/rain/src/Extension/ExtendableTrait.php(511): Illuminate\Database\Eloquent\Model->__call('hydrate', Array)

#18 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/october/rain/src/Database/Model.php(305): October\Rain\Database\Model->extendableCall('hydrate', Array)

#19 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(710): October\Rain\Database\Model->__call('hydrate', Array)

#20 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(694): Illuminate\Database\Eloquent\Builder->getModels(Array)

#21 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Database/Concerns/BuildsQueries.php(296): Illuminate\Database\Eloquent\Builder->get(Array)

#22 /Users/responsive/Documents/Valet-Sites/responsiveweb/modules/system/models/MailTemplate.php(168): Illuminate\Database\Eloquent\Builder->first()

#23 /Users/responsive/Documents/Valet-Sites/responsiveweb/modules/system/models/MailTemplate.php(71): System\Models\MailTemplate::findOrMakeTemplate('renatio.backupm...')

#24 /Users/responsive/Documents/Valet-Sites/responsiveweb/plugins/rainlab/translate/classes/ThemeScanner.php(213): System\Models\MailTemplate::allTemplates()

#25 /Users/responsive/Documents/Valet-Sites/responsiveweb/plugins/rainlab/translate/classes/ThemeScanner.php(61): RainLab\Translate\Classes\ThemeScanner->scanMailTemplatesForMessages()

#26 /Users/responsive/Documents/Valet-Sites/responsiveweb/plugins/rainlab/translate/classes/ThemeScanner.php(34): RainLab\Translate\Classes\ThemeScanner->scanForMessages()

#27 /Users/responsive/Documents/Valet-Sites/responsiveweb/plugins/rainlab/translate/controllers/messages.php(116): RainLab\Translate\Classes\ThemeScanner::scan()

#28 /Users/responsive/Documents/Valet-Sites/responsiveweb/modules/system/traits/DependencyMaker.php(29): RainLab\Translate\Controllers\Messages->onScanMessages()

#29 /Users/responsive/Documents/Valet-Sites/responsiveweb/modules/backend/classes/Controller.php(602): Backend\Classes\Controller->makeCallMethod(Object(RainLab\Translate\Controllers\Messages), 'onScanMessages', Array)

#30 /Users/responsive/Documents/Valet-Sites/responsiveweb/modules/backend/classes/Controller.php(447): Backend\Classes\Controller->runAjaxHandler('onScanMessages')

#31 /Users/responsive/Documents/Valet-Sites/responsiveweb/modules/backend/classes/Controller.php(256): Backend\Classes\Controller->execAjaxHandlers()

#32 /Users/responsive/Documents/Valet-Sites/responsiveweb/modules/backend/classes/BackendController.php(127): Backend\Classes\Controller->run('index', Array)

#33 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Backend\Classes\BackendController->run('rainlab/transla...')

#34 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction('run', Array)

#35 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(Backend\Classes\BackendController), 'run')

#36 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\Routing\Route->runController()

#37 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\Routing\Route->run()

#38 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))

#39 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))

#40 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Middleware\SubstituteBindings->handle(Object(Illuminate\Http\Request), Object(Closure))

#41 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))

#42 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))

#43 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))

#44 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest(Object(Illuminate\Http\Request), Object(Illuminate\Session\Store), Object(Closure))

#45 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))

#46 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))

#47 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle(Object(Illuminate\Http\Request), Object(Closure))

#48 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))

#49 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle(Object(Illuminate\Http\Request), Object(Closure))

#50 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))

#51 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\Pipeline\Pipeline->then(Object(Closure))

#52 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))

#53 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))

#54 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/october/rain/src/Router/CoreRouter.php(32): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))

#55 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): October\Rain\Router\CoreRouter->dispatch(Object(Illuminate\Http\Request))

#56 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))

#57 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))

#58 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/october/rain/src/Foundation/Http/Middleware/CheckForMaintenanceMode.php(23): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle(Object(Illuminate\Http\Request), Object(Closure))

#59 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): October\Rain\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))

#60 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))

#61 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\Pipeline\Pipeline->then(Object(Closure))

#62 /Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))

#63 /Users/responsive/Documents/Valet-Sites/responsiveweb/index.php(43): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))

#64 /Users/responsive/.composer/vendor/laravel/valet/server.php(234): require('/Users/responsi...')

#65 {main}

The translate scan command looks for messages in these places:

Layouts
Pages
Partials
Theme Configs (parent and child)
Mail Templates

If you have all your source code open in your IDE, you should look for that string “renatio.backupmanager”.

You could also look in your database for that.

Thank you so much @alexwenzel

I found a reference to renatio.backupmanager in the system_settings table. After removing this entry scanning translation messages now runs as expected.

Thank you for your help.

Cy

I had this problem today, after updating an old site from October 2 to 3 and also updating Renatio Backup Manager plugin from a very old version to the last one. In my case the problem was an old Mail template that doesn’t exist in the plugin anymore, but was still loaded in the database system_mail_templates table. I was able to solve the problem by refreshing the mail templates (just go to Settings → Mail Templates and the ofending mail template will be removed from the database - if this doesn’t work, open the database table system_mail_templates and remove the record)

1 Like