Error thrown

Call to undefined function redirect_canonical()