If I am taking the log of a variable $X$ and also a square term of the variable $X$ on the right-hand side. Say, the equation is
$$\log Y_{it} = α + β_1\log X + β_2 \log X^2 + u_i$$
where $Y =$ Waste Generation, $X =$ Economic Development, measured by GDP. In this case, while regressing the equation using Stata, the system does not provide appropriate results owing to collinearity in the variable $X$. The system mentions that there is collinearity in variable $X$. What should I do?
Just to inform, that in my case, $T=7$, $N=30$