Rating: 5 stars
Great plugin, but is broken under PHP 5.4+ as the plugin attempts to pass a string in as an array (previous PHP versions were more forgiving and ignored the type error).
If you’re getting the “Warning: Illegal string offset ‘list_only’…” error, a quick and dirty fix is to manually edit the plugin and insert the following code line into summary-child-pages.php on line 56 (inside the summary_child_pages function, right before the $list_only = $atts['list_only'];
line):
/* ---------------------------------------------------*/
/* Version v1.0.0: Patch for error under PHP 5.4+ to */
/* address the "Warning: Illegal string offset */
/* 'list_only'" issue. An array (not a string) is */
/* expected, so check & convert $atts string to array. */
/* ----------------------------------------------------*/
if (!is_array($atts)) {$atts=explode(',',$atts,0);}
/* ----------------------------------------------------*/
This checks to see if $atts is not an array, and converts it to one if so. If anyone has a better solution feel free to post it ??
To the developer: Thanks for making such a useful little plugin, and if possible could you please fix this in the next update so it works properly with PHP 5.4+? Thanks!
]]>Rating: 5 stars
Sadly broken under WordPress 4.0 with Genesis.
pages on which you put the shortcode, have this appearing on top of them.
Warning: Illegal string offset ‘list_only’ in /home/airfr513/public_html/hotairfrying.com/wp-content/plugins/summary-child-pages/summary-child-pages.php on line 76
Warning: Illegal string offset ‘id’ in /home/airfr513/public_html/hotairfrying.com/wp-content/plugins/summary-child-pages/summary-child-pages.php on line 83
]]>Rating: 5 stars
Works great. I used the short code that specifies the parent page id (which you find by adding a plugin to reveal admin id’s). It worked first time and looks just how it’s pictured in the screen shots.
Thank you for this plugin. You saved me tons of time trying to figure out how to do it myself ??
]]>Rating: 3 stars
After a glich unpacking the plugin it works.
]]>