The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Password Protect Children and Category Shortcodes conflict (1 post)

  1. glasspeach
    Posted 4 years ago #

    I'd like to use category shortcodes on my site; however, the logic of these plugins seems to conflict with Password Protect Children Pages. I get an error when I try to use any category shortcode:

    Warning: Invalid argument supplied for foreach() in /home8/public_html/wp-content/plugins/ft-password-protect-children-pages/ft-password-protect-children-pages.php on line 72

    From what I understand, I'd like to add a line to the Password Protect PHP that says something like "If there's a shortcode on the page, don't bother with your ancestry logic" but I'd also love to hear other solutions.

    Is there a way for these two functions to coexist?

Topic Closed

This topic has been closed to new replies.

About this Topic