[Resolved] Critical error connected to hook element

Home Forums Support Critical error connected to hook element

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1207180
    Carsten

    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…&#8217;) #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…&#8217;) #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
    .

    #1207609
    David
    Staff
    Customer Support
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.