I see a two errors.
First, any use of "statistically significant" refers to a null hypothesis. Therefore, when the first line refers to a correlation that is statistically significant yet equal to zero, the null hypothesis must not be that the correlation is zero. However, then rejecting a null hypothesis that the correlation equals some other value does not give evidence of zero correlation. For instance, if the null hypothesis is that the correlation is $0.5$, rejecting could mean that correlation is $0.4$ or $-0.8$. What could be meant here is that an equivalence test was performed and gave statistically significant evidence that the correlation is, in some sense, "close" to zero. Then it would be reasonable to conclude that there is not a practically significant linear relationship between the two variables.
Second, failure to reject a null hypothesis is not the same as confirming the null hypothesis. Therefore, just because you wind up with a correlation that is not statistically significant (that is, for a null hypothesis of zero) does not mean that the variables lack a correlation.
With this in mind, the two statements seem completely compatible. In the first case, a significant result from an equivalence test shows the correlation to be close enough to zero that we conclude there to be no practically important linear relationship. In the second case, we have no strong evidence of a linear relationship, so we cannot conclude that there exists a linear relationship.