[Mapbender-users] help with the searchrouter configuration

Eras Eras7 at gmx.de
Mon Jun 26 06:14:50 PDT 2017


Also wenn ich den Code über die Weboberfläche eingebe, dann geht es
komischerweise ohne Fehler.

Wenn ich aber über die mapbender.yml einlesen kommt dieser Fehler in
app_dev.php

 1/1 ContextErrorException in MapbenderYamlCompilerPass.php line 113:
Warning: array_key_exists() expects parameter 2 to be array, string given

    in MapbenderYamlCompilerPass.php line 113
    at ErrorHandler->handleError('2', 'array_key_exists() expects parameter
2 to be array, string given',
'/var/www/mapbender3/mapbender/src/Mapbender/CoreBundle/DependencyInjection/Compiler/MapbenderYamlCompilerPass.php',
'113', array('filePath' => '/var/www/mapbender3/app/config/mapbender.yml',
'container' => object(ContainerBuilder), 'fileResource' =>
object(FileResource), 'yml' =>
'/var/www/mapbender3/app/config/mapbender.yml'))
    at array_key_exists('parameters',
'/var/www/mapbender3/app/config/mapbender.yml') in
MapbenderYamlCompilerPass.php line 113
    at
MapbenderYamlCompilerPass->loadAndMergeYamlParameters('/var/www/mapbender3/app/config/mapbender.yml')
in MapbenderYamlCompilerPass.php line 71
    at MapbenderYamlCompilerPass->process(object(ContainerBuilder)) in
Compiler.php line 104
    at Compiler->compile(object(ContainerBuilder)) in ContainerBuilder.php
line 598
    at ContainerBuilder->compile() in bootstrap.php.cache line 2754
    at Kernel->initializeContainer() in bootstrap.php.cache line 2529
    at Kernel->boot() in bootstrap.php.cache line 2560
    at Kernel->handle(object(Request)) in app_dev.php line 28





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/help-tp5325420p5325524.html
Sent from the mapbender-users mailing list archive at Nabble.com.


More information about the Mapbender_users mailing list