Hi @stefacchio
Could you please tell us what version of UM you’re using?
Regards,
Thread Starter
Stefano
(@stefacchio)
version 2.1.4. I enable wp debug…
WP version 5.3.2 it_IT
https://www.automotostorichetreviglio.it/proroga-scadenza-revisioni-e-patenti/
-
This reply was modified 6 years, 2 months ago by
Stefano.
Hi @stefacchio
Does this issue occur when using a default WP theme? It looks like your current theme is triggering the error in function mo_comment_author
Regards,
Thread Starter
Stefano
(@stefacchio)
no, with default theme there is no problem.
maybe you are right, however I don’t know why it shows me that fatal error…
thank you
Hi @stefacchio
I suggest that you contact the Theme developer as their code has an incomplete filter hook parameter used in their function mo_comment_author. They should pass 3 parameters to this filter hook: https://developer.ww.wp.xz.cn/reference/hooks/get_comment_author_link/
Regards,
(@stefacchio)
6 years, 2 months ago
Fatal error: Uncaught ArgumentCountError: Too few arguments to function um_comment_link_to_profile(), 1 passed in /home/aejamfgb/public_html/wp-includes/class-wp-hook.php on line 288 and exactly 3 expected in /home/aejamfgb/public_html/wp-content/plugins/ultimate-member/includes/core/um-filters-commenting.php:13 Stack trace: #0 /home/aejamfgb/public_html/wp-includes/class-wp-hook.php(288): um_comment_link_to_profile('<cite class="fn...') #1 /home/aejamfgb/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters('<cite class="fn...', Array) #2 /home/aejamfgb/public_html/wp-content/themes/extinct/framework/functions/commenting.php(86): apply_filters('get_comment_aut...', '<cite class="fn...') #3 /home/aejamfgb/public_html/wp-content/themes/extinct/framework/functions/commenting.php(191): mo_comment_author() #4 /home/aejamfgb/public_html/wp-includes/class-walker-comment.php(179): mo_comments_callback(Object(WP_Comment), Array, 1) #5 /home/aejamfgb/public_html/wp-includes/class-wp-walker.php(144): Walker_Comment->start in /home/aejamfgb/public_html/wp-content/plugins/ultimate-member/includes/core/um-filters-commenting.php on line 13This error shows if there is one or more comments on post page…
thanks