I think I know why this is (memories from many years ago)
Before PHP5 you did not have to declare a variable before using it.
For example in /usr/share/ykmap/ykmap-db.php it gives an error in line 64
Code:
public function __construct($db_dsn, $db_username, $db_password, $dp_options, $name='ykmap-db')
{
$this->db_dsn=$db_dsn;
$this->db_username=$db_username;
$this->db_password=$db_password;
$this->db_options=$db_options;
$this->myLog=new Log($name);
}
$db_options has never been declared and therefore it gives a notice in the error.log. To fix this you just have to declare it somewhere, for example to check if it is sett and if it is not set then set it to $null