Here's the domain of the function:
When I'm trying to plot it Mathematica just shows a graph of $x+1$.
Here's what happens if we put $x$ in formula from outside of a function's domain:
I'm not sure whether it's a bug or Mathematica simplifies the equation to $x+1$ but I'm searching for a way to plot it correctly. Any help would be appreciated!