Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Strange error #25

Closed
bitshine opened this issue Jan 26, 2011 · 1 comment
Closed

Strange error #25

bitshine opened this issue Jan 26, 2011 · 1 comment

Comments

@bitshine
Copy link

I use Gii MongoCURD to gen codes

when access admin page get below error:

PHP Error
Description
Undefined index: Feed
Source File
D:\www\feed\feed.cdeledu.com\protected\extensions\YiiMongoDbSuite\EMongoDocument.php(331)
00319: * Get value of use cursor flag
00320: *
00321: * It will return the nearest not null value in order:
00322: * - Object level
00323: * - Model level
00324: * - Glopal level (always set)
00325: * @return boolean
00326: */
00327: public function getUseCursor()
00328: {
00329: if($this->useCursor !== null)
00330: return $this->useCursor; // We have flag set, return it

00320: *
00321: * It will return the nearest not null value in order:
00322: * - Object level
00323: * - Model level
00324: * - Glopal level (always set)
00325: * @return boolean
00326: */
00327: public function getUseCursor()
00328: {
00329: if($this->useCursor !== null)
00330: return $this->useCursor; // We have flag set, return it

00320: *
ot null value in order:
00322: * - Object level
00323: * - Model level
00324: * - Glopal level (always set)
00325: *

why $_models is empty?

@canni
Copy link
Owner

canni commented Jan 26, 2011

It is known bug, and it's fixed in current development branch, this fix will be in upcoming release 1.3.6

Checkout how that line looks in devel branch or wait till 1.3.6 is released :)

cheers

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants