Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

@williamlang
Copy link

commented Nov 3, 2015

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

This comment has been minimized.

Copy link
Member

commented Nov 3, 2015

Are you using version alpha4?

@Big-Shark

This comment has been minimized.

Copy link
Member

commented Nov 3, 2015

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

@williamlang

This comment has been minimized.

Copy link
Author

commented Nov 3, 2015

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

This comment has been minimized.

Copy link
Member

commented Nov 3, 2015

Try dev-master version.

@williamlang

This comment has been minimized.

Copy link
Author

commented Nov 3, 2015

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
Projects
None yet
2 participants
You can’t perform that action at this time.