PHP5 error when calling getStaticProperty
| From: | Ariadna Llovet | Date: | Tue, 21 Aug 2012 12:04:24 +0000 |
| Subject: | PHP5 error when calling getStaticProperty | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31608@lists.php.net to get a copy of this message | ||
Hello,
We are using PEAR in a PHP5 project with DB_DataObject.
When we call &PEAR::getStaticProperty, a PHP Error occurs:
Tue-21/August/2012-14:00:01::PHP ERROR [8192] : Assigning the return value
of new by reference is deprecated
we tried doing PEAR::getStaticProperty, but doesn't work:
DB_DataObject Error: No database name / dsn found anywhere
Is there any solution to avoid this error?