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

Not working in 2.6 #13

Open
chadcrowell opened this issue Jun 8, 2013 · 1 comment
Open

Not working in 2.6 #13

chadcrowell opened this issue Jun 8, 2013 · 1 comment

Comments

@chadcrowell
Copy link

Hi Erik - seeing these errors with EE 2.6.1. Are you seeing the same?

A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: dev_docs/mcp.dev_docs.php
Line Number: 126

A PHP Error was encountered
Severity: Notice
Message: Undefined variable: menu_array
Filename: dev_docs/mcp.dev_docs.php
Line Number: 127

A PHP Error was encountered
Severity: Warning
Message: array_reverse() [function.array-reverse]: The argument should be an array
Filename: libraries/Cp.php
Line Number: 536

A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: dev_docs/mcp.dev_docs.php
Line Number: 129

A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /Users/Chad/Repositories/picaboo/site/system/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 412

@dustinhansen
Copy link

The fix is to change Line 126 to:

$this->_EE->cp->set_variable('cp_page_title', $current_page->heading);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants