This explains things...
What you came upon is a last-minute "bug" inadvertently introduced to 1.3 before it was released. It really is
not a bug, in the sense that apart from printing a warning it doesn't do anything you wouldn't expect. You have two solutions for your case:
- Open up lib.php and prepend the character @ at the start of the line you get the error. This tells PHP to suppress error reporting specifically for this line, and will solve the problem with a minimum of fuss.
- Upgrade to any more recent version in the 1.3.x branch (the bug fix for this was introduced before 1.3.1 was released). This should increase the overall stability of your system too, since after releasing a major version like 1.3 we only do bugfixes on it. By upgrading to 1.3.3, for example, you will keep the stability of the 1.3 release while fixing a few bugs such as this. Everything will work normally.
I strongly advise you to upgrade, but if that's a lot of trouble, you can follow the first solution.
Jon