Here's my example which I am uncertain is correct:
$f(x) = -log(x)$ is convex
$g(x) = x^2$
$g(f(x)) = (-log(x))^2$ is not convex
Is that correct? The issue I was considering was that $x^2$ is not an increasing function on all of $\Bbb R$. Any suggestions?
$f(x) = e^x$ is convex on $\mathbb R$ and $g(x) = \arctan x$ is increasing on $\mathbb R.$ However $g(f(x))=\arctan e^x$ is not convex on $\mathbb R.$ You can see this by calculating
$$(g\circ f)''(x) = \frac{e^x-e^{3x}}{(1+e^{2x})^2},$$
which is negative on $(0,\infty).$