Error: ‘invalid argument’ instead of ‘wp_list_pages’
-
Hi,
i updated to wp1.5 and found it great, expecially for ‘pages’ feature.
Using (and abusing:) the feature I created a certain number of parent-page and corresponding children and later I modified the .htaccess (/%pages%/%postname%/) to have the following permalink structure:mysite/name_of_the_page/name_of_the_post
everything ok, BUT:
I cut some of the children-page in several subpages (
<!--nextpage-->
) and after the modify in the .htaccess in every post of the numbered sequence instead of the<?php wp_list_pages('title_li= <h2>' . __('gli Autori') . '</h2>' ); ?>
I get the error:
Warning: Invalid argument supplied for foreach() in public_html/wpress/wp-includes/template-functions-post.php on line 368
Say that I don’t understand it is still too far from truth.
Thanks for help and sorry for my eng.
- The topic ‘Error: ‘invalid argument’ instead of ‘wp_list_pages’’ is closed to new replies.