• hi,

    i moved /wp-login.php to just /login. now when someone tries to go to /wp-login.php, a 404 page shows (which is expected) with this error at the bottom of the page:

    Notice: Trying to get property ‘ID’ of non-object in /code/wp-content/plugins/pagerestrict/pagerestrict.php on line 155 Notice: Trying to get property ‘ID’ of non-object in /code/wp-content/plugins/pagerestrict/pagerestrict.php on line 163

    any idea why i get this error and how do i fix it?

    thanks!

  • The topic ‘error when on redirect’ is closed to new replies.