Site logo

Archived topic

Critical error connected to hook element

1 reply · Started by Carsten on March 23, 2020

Viewing posts 1–2 of 2

Hi there, hope you all are well?

I get this error log when this hook element is published <?php bp_send_private_message_button(); ?>

In section 5# this hook element is listed, what can be wrong?

Regards
Carsten

Notice: Undefined variable: control_current_user in /home/xxxxdk/public_html/wp-content/plugins/bp-messaging-control/bp-messaging-control.php on line 613

Fatal error: Uncaught Error: Call to a member function is_quota_met() on null in /home/xxxxdk/public_html/wp-content/plugins/bp-messaging-control/bp-messaging-control.php:613 Stack trace: #0 /home/xxxxdk/public_html/wp-includes/class-wp-hook.php(288): bpmc_bp_messaging_control_send_private_message_link('https://xxxx.dk...') #1 /home/xxxxdk/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters('https:/xxxx.dk...', Array) #2 /home/xxxxdk/public_html/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php(1393): apply_filters('bp_get_send_pri...', 'https://xxxx.dk...') #3 /home/xxxxdk/public_html/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php(1448): bp_get_send_private_message_link() #4 /home/xxxxdk/public_html/wp-content/plugins/buddypress/bp-messages/bp-messages-template.php(1405): bp_get_send_message_button()

#5 /home/xxxxdk/public_html/wp-content/plugins/gp-premium/elements/class-hooks.php(180) : eval()'d code(1): bp_send_private_message_button()

#6 /home/xxxxdk/public_html/wp-co in /home/xxxxdk/public_html/wp-content/plugins/bp-messaging-control/bp-messaging-control.php on line 613
.

This archived topic is closed to new replies.