• Hi Jeff, firt of all Happy New Year!

    I am using TML as a login page for the users of a website and it works like a charm. But, now I need to restrict the content of a particular page, only visible for a particular group of users, and I thought that using the WordPress Built-in functionality setting ‘Visibility: Protected with password’ would be a good idea.

    Once I have set the visibility to protected with password the page is showing the default WP form ‘This content is password protected. To view it please enter your password below’, but when entering the password it prompts the next error:

    Notice: Undefined variable: referer in /home1/chilidogs/public_html/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php on line 322
    
    Warning: Cannot modify header information - headers already sent by (output started at /home1/user/public_html/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php:322) in /home1/user/public_html/wp-content/plugins/theme-my-login/includes/class-theme-my-login.php on line 327

    The form to enter the password that WP builds is aiming the default TML login page placed in /index.php/login with the POSTPASS action:

    <form action=”http://thepage.com/index.php/login/?action=postpass&#8221; class=”post-password-form” method=”post”>

    Any idea in how to avoid this issue or any workaround?

    Thanks a lot in advance!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Password Protected Page Failure’ is closed to new replies.