Starting with PHP version 5.5, the usage $p = null; $p->foo = "bar";
gets a warning; you need to say $p = new StdClass; $p->foo = "bar"; I fixed a few of these. Unfortunately I don't have a PHP 5.5 system to test on right now. Please check out the latest code and let me know if you see more of these. -- David On 03-May-2013 6:57 PM, Eric Driver wrote:
Hi all, I recently upgraded the NumberFields project to the latest branch (boinc-v2). I am now getting a bunch of warnings on the admin pages like the following: "Warning: Creating default object from empty value in /home/boincadm/projects/NumberFields/html/inc/db_ops.inc on line 520" I can turn off these warnings in the php code by using error_reporting(), in which case the site acts just like it used to. But are these warnings telling me there is a problem somewhere in the php code, and if so does anyone know how to fix this? Thanks in advance! Eric _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
_______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
