[Plugin: Subpage Listing] Expected string error
-
Warning: strpos() expects parameter 1 to be string, array given in /home/thewordp/public_html/wp-content/plugins/subpage-listing/subpage-listing.php on line 35
I’m using in template as:
<?php txfx_wp_subpages(5, false, false, '<div id="subpages"><ul>', '</div></ul>', true); ?>
Line 35 is:
if ( strpos($text, '<!--%subpages') !== false || is_array($text) || '' == $text || '' == $post->post_content || $post->post_content == "<br />\n" ) {
Any ideas? Thanks for a great plugin.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: Subpage Listing] Expected string error’ is closed to new replies.