Undefined index: name in Propel/Runtime/Util/Profiler.php #1028

Closed
williamlang opened this Issue Nov 3, 2015 · 5 comments

Projects

None yet

2 participants

@williamlang

When running propel diff I get a notice

PHP Notice: Undefined index: name in vendor/propel/propel/src/Propel/Runtime/Util/Profiler.php on line 206

And yet, if I give the section a name I get this error:

[Symfony\Component\Config\Definition\Exception\InvalidConfigurationException]
Unrecognized option "name" under "propel.runtime.profiler.details.time"

The docs on propelorm.org here: http://propelorm.org/documentation/07-logging.html#tweaking-the-profiling-information-at-runtime show the name being set programmatically but cannot be set via config.

@Big-Shark
Member

Are you using version alpha4?

@Big-Shark
Member

097b213
This is fixed, but it will only be in the alpha 5

@williamlang

According to my composer.lock I am using alpha 5

{
            "name": "propel/propel",
            "version": "2.0.0-alpha5",
            "source": {
                "type": "git",
                "url": "https://github.com/propelorm/Propel2.git",
                "reference": "75f775cf6de41595d1240885eea5fa5d475d228d"
            },
@Big-Shark
Member

Try dev-master version.

@williamlang

That worked.

Thank you!

@williamlang williamlang closed this Nov 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment