gerd@comicdealer
Forum Replies Created
-
I have exactly the same issue as @francisco9127 on my website (comicdealer.de).
Wrong Name of Month but correct month. And wrong jump…I think, i have narrowed the problem. Just try the ngg_tag at your own site “https://www.imagely.com/ngg_tag/” There is at least a problem wit the endless discussion following after “no images were found”…
Thank you for the fast reaction. I had hoped that the notice and its cause would be known.
That’s exactly my problem. I try to find the origin of this notice for over a year. Today, for example, the three notices from “07-Nov-2018 13:17:04” to “08-Nov-2018 10:41:53 UTC” have appeared 21 times in my debug.log. Nevertheless, I could not fix or reproduce the trigger yet.
I suspect that my problem is somehow related to tags, although I do not actually work with tags. If you enter the path “https://www.comicdealer.de/ngg_tag/brettspiel/”, the error “normal” occurs. If you enter a non-existent tag, for example “https://www.comicdealer.de/ngg_tag/blabla/” the error appears multiple. (with ‘WP_DEBUG_DISPLAY’ true)Forum: Plugins
In reply to: [New User Approve] User count stuckHi Guys,
having the same Problem.First sorry for my bad english. I try to express myself understandably.
Because of the many errors that are reported, I am not sure wether the plugin is maintained at the moment.
Nevertheless, it has some advantages compared to more recent plugins like “wp-approve-user”.
Therefore, here is a temporary solution to this error:The problem is that the variable being queried in the function “public function pending_users_bubble” (user-list.php line 418) is not updated.
In order to achieve this, I have inserted a few lines in the “new-user-approve.php”.1. After the function “public function delete_new_user_approve_transient ()” in line 393 a comparable function for the corresponding transient variable:
public function delete_new_user_approve_count_transient() { delete_transient( 'new_user_approve_user_statuses_count' ); }
2. The appropriate actions after line 49: “add_action (‘deleted_user’, array ($ this, ‘delete_new_user_approve_transient’));”:
add_action( 'user_register', array( $this, 'delete_new_user_approve_count_transient' ), 11 ); add_action( 'new_user_approve_approve_user', array( $this, 'delete_new_user_approve_count_transient' ), 11 ); add_action( 'new_user_approve_deny_user', array( $this, 'delete_new_user_approve_count_transient' ), 11 ); add_action( 'deleted_user', array( $this, 'delete_new_user_approve_count_transient' ) );
This should work from the next registration or the next editing of a new user.
Remember: It is just a workaround to fix the error. Has worked for me, but of course I take no guarantee. Besides, I do not want to get in the way of the developer of the plugin either.