← Back to Sitemap Generator Support
Responsive
Hi there,
After upgrading to October v3 I am seeing an error when opening the Editor
tab.
- System build: 3.1.28
- Sitemap.xml: v1.0.4
Error message:
A syntax error was detected in /Users/responsive/Documents/Valet-Sites/responsiveweb/plugins/eugene3993/sitemap/config/seofieldsNew.yaml. Numeric
keys are not supported. Quote your evaluable mapping keys instead at line 15 (near "1.0: '1.0'") at line 43 (near "/Users/responsive/Documents/Valet-
Sites/responsiveweb/vendor/october/rain/src/Parse/Yaml.php").
Stack trace:
#0
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338):
October\Rain\Parse\Yaml->parseFile('/Users/responsi...')
#1
/Users/responsive/Documents/Valet-Sites/responsiveweb/plugins/eugene3993/sitemap/Plugin.php(77):
Illuminate\Support\Facades\Facade::__callStatic('parseFile', Array)
#2
/Users/responsive/Documents/Valet-Sites/responsiveweb/plugins/eugene3993/sitemap/Plugin.php(10):
Eugene3993\Sitemap\Plugin->seoFieldsNew()
#3
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(421):
Eugene3993\Sitemap\Plugin->Eugene3993\Sitemap\{closure}(Object(Cms\Classes\EditorExtension), Object(stdClass))
#4
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(249):
Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('cms.template.ex...', Array)
#5
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/october/rain/src/Events/PriorityDispatcher.php(94):
Illuminate\Events\Dispatcher->dispatch('cms.template.ex...', Array, true)
#6
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/october/rain/src/Events/PriorityDispatcher.php(61):
October\Rain\Events\PriorityDispatcher->fireEvent('cms.template.ex...', Array, true)
#7
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(338):
October\Rain\Events\PriorityDispatcher->fire('cms.template.ex...', Array, true)
#8
/Users/responsive/Documents/Valet-Sites/responsiveweb/modules/system/traits/EventEmitter.php(54):
Illuminate\Support\Facades\Facade::__callStatic('fire', Array)
#9
/Users/responsive/Documents/Valet-Sites/responsiveweb/modules/cms/traits/EditorExtensionExtensibility.php(33):
Editor\Classes\ExtensionBase->fireSystemEvent('cms.template.ex...', Array)
#10
/Users/responsive/Documents/Valet-Sites/responsiveweb/modules/cms/classes/EditorExtension.php(264):
Cms\Classes\EditorExtension->loadAndExtendCmsSettingsFile('/Users/responsi...', 'page')
#11
/Users/responsive/Documents/Valet-Sites/responsiveweb/modules/editor/behaviors/StateManager.php(35):
Cms\Classes\EditorExtension->getSettingsForms()
#12
[internal function]:
Editor\Behaviors\StateManager->makeInitialState(Array)
#13
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/october/rain/src/Extension/ExtendableTrait.php(506):
call_user_func_array(Array, Array)
#14
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/october/rain/src/Extension/Extendable.php(46):
October\Rain\Extension\Extendable->extendableCall('makeInitialStat...', Array)
#15
/Users/responsive/Documents/Valet-Sites/responsiveweb/modules/editor/controllers/index.php(102):
October\Rain\Extension\Extendable->__call('makeInitialStat...', Array)
#16
/Users/responsive/Documents/Valet-Sites/responsiveweb/modules/system/traits/DependencyMaker.php(29):
Editor\Controllers\Index->index()
#17
/Users/responsive/Documents/Valet-Sites/responsiveweb/modules/backend/classes/Controller.php(382):
Backend\Classes\Controller->makeCallMethod(Object(Editor\Controllers\Index), 'index', Array)
#18
/Users/responsive/Documents/Valet-Sites/responsiveweb/modules/backend/classes/Controller.php(265):
Backend\Classes\Controller->execPageAction('index', Array)
#19
/Users/responsive/Documents/Valet-Sites/responsiveweb/modules/backend/classes/BackendController.php(106):
Backend\Classes\Controller->run('index', Array)
#20
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54):
Backend\Classes\BackendController->run('editor')
#21
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43):
Illuminate\Routing\Controller->callAction('run', Array)
#22
/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')
#23
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205):
Illuminate\Routing\Route->runController()
#24
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798):
Illuminate\Routing\Route->run()
#25
/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))
#26
/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))
#27
/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))
#28
/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))
#29
/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))
#30
/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))
#31
/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))
#32
/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))
#33
/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))
#34
/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))
#35
/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))
#36
/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))
#37
/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))
#38
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799):
Illuminate\Pipeline\Pipeline->then(Object(Closure))
#39
/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))
#40
/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))
#41
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/october/rain/src/Router/CoreRouter.php(32):
Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
#42
/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))
#43
/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))
#44
/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))
#45
/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))
#46
/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))
#47
/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))
#48
/Users/responsive/Documents/Valet-Sites/responsiveweb/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165):
Illuminate\Pipeline\Pipeline->then(Object(Closure))
#49
/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))
#50
/Users/responsive/Documents/Valet-Sites/responsiveweb/index.php(43):
Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
#51
/Users/responsive/.composer/vendor/laravel/valet/server.php(234):
require('/Users/responsi...')
#52
{main}
Any chance of have this syntax issue fixed with evaluable mapping keys instead of numeric keys in the seofieldsNew.yaml file?
Thank you so much.
Cy
1-2 of 2