php errors, custom post types, multiple calls to the_content
-
I built custom pages with custom loops using and resetting wp_query. I installed your plugin, now every place where these custom loops for my custom post types are even on pages not password protected I receive php errors (i’m thinking your plugin doesn’t want to play nice with custom post types maybe 🙂
Warning: Invalid argument supplied for foreach() in /opt/lampp/htdocs/flooringbytileexperts/wp-content/plugins/ft-password-protect-children-pages/ft-password-protect-children-pages.php on line 72
for line 72 and 51 (where loop through ancestors)I call the_content multiple times on a single page (in the sidebar, etc). I am studying the plugin to see if I can work around this. If you have any thoughts I would love it.
Thank you so much, I have used your plugin in the past with no problems (don’t know why this functionality isn’t default in wordpress)
- The topic ‘php errors, custom post types, multiple calls to the_content’ is closed to new replies.