derevan007
Forum Replies Created
-
Forum: Plugins
In reply to: [Page Restrict] WordPress 6.0 CompatibilityThanks, Aaron. I am on PHP 7.4. The only thing I get is dozens of debug messages like:
PHP Notice: Undefined index: log in public_html/wpcontent/plugins/pagerestrict/pagerestrict.php on line 267
(but now that I look back, it was always throwing this; haven’t had a chance to look at what’s happening on that line yet).
Other than that, I do think it is working. Thanks for corroborating.
Forum: Plugins
In reply to: [Page Restrict] Error in pagerestrict during loginSadly, no solution yet.
I found a solution to my problem. In the 3rd party plugin, I added a call to the following:
ur_print_notices();The error message is now showing up.
Thanks for the help. Unfortunately, I’ve tried both of the options you suggested to no avail. I added debug messages to error.php and I can see that it DOES have the proper message. It just does not show up on the form (ie, it did not insert the user-registration-error class into the form). The form URL does show with ?login-error at the end.
<ul class=”user-registration-error”>
<?php foreach ( $messages as $message ) : ?>- <?php echo wp_kses_post( $message ); ?>
<?php endforeach; ?>