Entered these codes:
Upon saving, shows this:
With this error:
Warning: Invalid argument supplied for foreach() in /home/daybr2/public_html/wp-content/plugins/bbpress2-shortcode-whitelist/class_bbpress-shortcode-whitelist.php on line 51
[pagelist] was entered to a reply in a bbPress2 topic. The code did not generate the expected sitepage. It works on regular WP pages.