BuddyDev

Search

Fatal Error on Upload of the Plugin

  • Participant
    Zui Hanafusa on #25325

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Uncaught Error: Call to undefined function bp_get_email_post_type() in /home3/forevhl5/public_html/staging/wp-content/plugins/recent-visitors-for-buddypress-profile/bp-visitors.php:159 Stack trace: #0 /home3/forevhl5/public_html/staging/wp-content/plugins/recent-visitors-for-buddypress-profile/bp-visitors.php(70): BP_Visitor_Helper->register_email_type() #1 /home3/forevhl5/public_html/staging/wp-includes/class-wp-hook.php(286): BP_Visitor_Helper->on_activation('') #2 /home3/forevhl5/public_html/staging/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #3 /home3/forevhl5/public_html/staging/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 /home3/forevhl5/public_html/staging/wp-admin/plugins.php(177): do_action('activate_recent...') #5 {main} thrown in /home3/forevhl5/public_html/staging/wp-content/plugins/recent-visitors-for-buddypress-profile/bp-visitors.php on line 159

    Any suggestions

  • Keymaster
    (BuddyDev Team)
    Posts: 24636
    Brajesh Singh on #25326

    Hi Zui,
    I am sorry for the inconvenience.

    Do you have BuddyPress active? The error is coming from the use of a BuddyPress function.

    Also, are you on a normal WordPress or on a network install?

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved