Title: v1.0 not working correctly
Last modified: August 30, 2016

---

# v1.0 not working correctly

 *  [lws-mo](https://wordpress.org/support/users/lws-mo/)
 * (@lws-mo)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/v10-not-working-correctly/)
 * Hello guys,
 * I have big trouble with the new version of the plugin.
 * I have a site with 380 pages, and Iam using this plugins-widget 2 times, for 
   2 different menus.
 * I updated the plugin to the latest 1.0 version.
 * After that both active widgets showed the same pages.
    In the backend I could
   see that there are some ID´s in the exclude field (64,57,152,…), but it seem 
   that they did not get recognized.
 * I even just inserted a widget without any configuration in a sidebar (so that
   all pages would just show). But only a handfull of top-level pages show up.
 * Than I tried so set the widget to “include” and added 2 page ID´s, so that only
   these two will show. Again, not working, only the first ID get recognized.
 * So I had to downgrade to version 0.6.1.
    Everything works perfectly with 0.6.1!
 * Maybe 380 pages are too much?
 * Hope you can fix this somehow.
 * [https://wordpress.org/plugins/collapsing-pages/](https://wordpress.org/plugins/collapsing-pages/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Jake Edwards](https://wordpress.org/support/users/shadowxvii/)
 * (@shadowxvii)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/v10-not-working-correctly/#post-6449637)
 * I had to downgrade too — seemed to only show 2 parent pages of about 15.
    I have
   about 400 or so pages in total.
 * I’ll be keeping the downgraded files close by next update…
 *  [Jake Edwards](https://wordpress.org/support/users/shadowxvii/)
 * (@shadowxvii)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/v10-not-working-correctly/#post-6449642)
 * Visual reference;
 * v1.0 – [http://imgur.com/lxs7cIv](http://imgur.com/lxs7cIv)
    v0.6.1 – [http://imgur.com/lxs7cIv,HaChZhr#1](http://imgur.com/lxs7cIv,HaChZhr#1)
 *  Thread Starter [lws-mo](https://wordpress.org/support/users/lws-mo/)
 * (@lws-mo)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/v10-not-working-correctly/#post-6449690)
 * Hi ShadowXVII,
 * thanks for your reply, so now I know that Iam not the only one with this problem
   🙂
 * Iam keeping a backup of the 0.6.1 version inside a backup folder in the plugins
   directory, so I can switch fast.
 * Hopefully this can get fixed.
 *  [cob-web](https://wordpress.org/support/users/cob-web/)
 * (@cob-web)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/v10-not-working-correctly/#post-6449887)
 * It broke my site, too. Can’t tell why, ’cause I restored the old version quickly.
   But it would only show about 2 parent pages and the rest of the template got 
   somehow truncated.
 *  [kitchin](https://wordpress.org/support/users/kitchin/)
 * (@kitchin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/v10-not-working-correctly/#post-6449945)
 * Turning on WP_DEBUG, I see two issues so far. One issue is the WP_Widget warning
   seen on many plugins since 4.3, but that should not break anything (yet). The
   other issue may be the problem.
 * Line 43 of collpsPage.php
    Delete:
 *     ```
       add_action('wp_head', wp_enqueue_script('jquery'));
       ```
   
 * Add:
 *     ```
       add_action( 'wp_enqueue_scripts', function() { wp_enqueue_script('jquery'); } );
       ```
   
 * Not the best way to do it, but one line so easy to post. See if that fixes it
   and please report back here.
 * The exat warning is:
 *     ```
       Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks.
       Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /.../wp-includes/functions.php on line 3622
       ```
   
 *  [kitchin](https://wordpress.org/support/users/kitchin/)
 * (@kitchin)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/v10-not-working-correctly/#post-6449951)
 * .
 *  [Aharon](https://wordpress.org/support/users/spaceling/)
 * (@spaceling)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/v10-not-working-correctly/#post-6449974)
 * My issue with v1.0 was that clicking on the page name wouldn’t collapse/expand
   to show sub-pages. Downgraded to 0.6.1.
 *  [mijavera](https://wordpress.org/support/users/mijavera/)
 * (@mijavera)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/v10-not-working-correctly/#post-6449984)
 * I can’t seem to exclude pages either. Any idea how to fix that?
 *  [Aharon](https://wordpress.org/support/users/spaceling/)
 * (@spaceling)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/v10-not-working-correctly/#post-6449995)
 * Please to fix? Still using 0.6.1 because version 1.0 is broken.
 * Btw, Collapsing Categories is working just fine. Possibility to merge plug-ins?

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘v1.0 not working correctly’ is closed to new replies.

 * ![](https://ps.w.org/collapsing-pages/assets/icon-256x256.gif?rev=2886541)
 * [Collapsing Pages](https://wordpress.org/plugins/collapsing-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/collapsing-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/collapsing-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/collapsing-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/collapsing-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/collapsing-pages/reviews/)

 * 9 replies
 * 6 participants
 * Last reply from: [Aharon](https://wordpress.org/support/users/spaceling/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/v10-not-working-correctly/#post-6449995)
 * Status: not resolved