sphere icon indicating copy to clipboard operation
sphere copied to clipboard

Doesn't work with lithium v0.11

Open minhna opened this issue 12 years ago • 3 comments
trafficstars

Hi I got this error: PHP Fatal error: Cannot redeclare non static lithium\data\Model::$_classes as static app\models\Posts::$_classes in /SOMEWHERE/public_html/app/models/Posts.php on line 5

In version 0.11, the function __init in lithium\data\Model no longer exist.

minhna avatar Apr 19 '13 05:04 minhna

Oops. Do you have a fix we could apply? Maybe we just need to change the variable type?

On Apr 18, 2013, at 10:00 PM, minhna [email protected] wrote:

Hi I got this error: PHP Fatal error: Cannot redeclare non static lithium\data\Model::$_classes as static app\models\Posts::$_classes in /SOMEWHERE/public_html/app/models/Posts.php on line 5

In version 0.11, the function __init in lithium\data\Model no longer exist.

— Reply to this email directly or view it on GitHub.

gwoo avatar Apr 19 '13 06:04 gwoo

No I don't have one. On Apr 19, 2013 1:49 PM, "GWoo" [email protected] wrote:

Oops. Do you have a fix we could apply? Maybe we just need to change the variable type?

On Apr 18, 2013, at 10:00 PM, minhna [email protected] wrote:

Hi I got this error: PHP Fatal error: Cannot redeclare non static lithium\data\Model::$_classes as static app\models\Posts::$_classes in /SOMEWHERE/public_html/app/models/Posts.php on line 5

In version 0.11, the function __init in lithium\data\Model no longer exist.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/UnionOfRAD/sphere/issues/8#issuecomment-16638430 .

minhna avatar Apr 19 '13 07:04 minhna

Okay, we'll patch it when we get the chance, thanks.

nateabele avatar Apr 19 '13 12:04 nateabele