PLM regression with log variables returning non-finite values error

We probably need to see abit more code and some sample data. However, as a stupid suggestion, is there any chance that when you take the log of the variable one datum may be being evaluated as zero?