Support » Plugin: WP Club Manager - WordPress Sports Club Plugin » Problem setting up the Birthday Widget

  • Resolved test123

    (@hexangel616)


    Hi,

    First, thank you for your plugin. =)

    I’m getting the following error notice when I try to activate / set up the Birthday Widget :
    Warning: Invalid argument supplied for foreach() in /wp-content/themes/themename/wpclubmanager/content-widget-birthdays.php on line 15

    It seems that $posts isn’t an array. I’ve tried to dig into class-wpcm-widget-birthdays.php, but couldn’t figure it out. The post type of my players is wpcm_players.

    Any help would be appreciated.
    Thanks in advance !

    • This topic was modified 2 months, 3 weeks ago by  test123.
Viewing 1 replies (of 1 total)
  • Plugin Author Leon

    (@leonterry)

    Hi,

    Sorry for the delay getting back to you!

    What version of WPCM are you running and what is your theme?

    Thanks

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.