WordPress.org

Ready to get started?Download WordPress

Forums

CollabPress
[resolved] dashboard widget error (5 posts)

  1. adrirena
    Member
    Posted 1 year ago #

    Just started using CollabPress so I'm not that familiar with it. The dashboard recent activity widget says "Fatal error: Call to undefined function cp_recent_activity() in /home/thelafay/public_html/wp/wp-content/plugins/collabpress/includes/cp-core.php on line 59" and I'm not sure how to fix it. This error seems to be making it so that other widgets on my dashboard aren't showing up (specifically quickpress) and I can't get 'screen options' to drop down. Is there a fix on github for this already? I searched but couldn't find it, although it's possible that I just missed it. If not, then how do I fix it? Thanks for the help!

    http://wordpress.org/extend/plugins/collabpress/

  2. Eric Andrew Lewis
    Member
    Plugin Author

    Posted 1 year ago #

    Hey adrirena,

    please don't use the CollabPress widgets, we're moving away from their usage. Sorry they're still in there, they should be removed from the plugin. Will make sure to get rid of them in 1.4.

  3. adrirena
    Member
    Posted 1 year ago #

    If I remove the code for it in the cp-core.php file, will that get rid of it and resolve the issue? I don't want to mess with the code if it will just screw things up more.

  4. Eric Andrew Lewis
    Member
    Plugin Author

    Posted 1 year ago #

    Weird, I'm running master from GitHub and the Dashboard widget displays fine actually. If you comment out the line add_action( 'wp_dashboard_setup', 'cp_wp_add_dashboard_widgets' ); in cp-core.php you should be good.

  5. adrirena
    Member
    Posted 1 year ago #

    It worked. Thanks!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic