Title: [Plugin: Moo Collapsing Categories] array_slice() expects parameter 1 to be array, null given
Last modified: August 19, 2016

---

# [Plugin: Moo Collapsing Categories] array_slice() expects parameter 1 to be array, null given

 *  Resolved [Bence](https://wordpress.org/support/users/charybdis/)
 * (@charybdis)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-moo-collapsing-categories-array_slice-expects-parameter-1-to-be-array-null-given/)
 * This plugin displays errors in the widget output:
 * > Warning: array_slice() expects parameter 1 to be array, null given in /home/
   > user/public_html/wptest/wp-content/plugins/mootools-collapsing-categories/collapscatlist.
   > php on line 280
   > Warning: array_sum() [function.array-sum]: The argument should be an array 
   > in /home/user/public_html/wptest/wp-content/plugins/mootools-collapsing-categories/
   > collapscatlist.php on line 280

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

 *  Plugin Author [3dolab](https://wordpress.org/support/users/3dolab/)
 * (@3dolab)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-moo-collapsing-categories-array_slice-expects-parameter-1-to-be-array-null-given/#post-1734220)
 * I’ve removed the line, now the warning should be gone.
    The contained ‘show post
   count’ feature is still working. Try the 0.5.1 version.
 *  Thread Starter [Bence](https://wordpress.org/support/users/charybdis/)
 * (@charybdis)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-moo-collapsing-categories-array_slice-expects-parameter-1-to-be-array-null-given/#post-1734222)
 * Thanks. This resolved the problem.

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

The topic ‘[Plugin: Moo Collapsing Categories] array_slice() expects parameter 1
to be array, null given’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mootools-collapsing-categories_9a8e6d.
   svg)
 * [Moo Collapsing Categories](https://wordpress.org/plugins/mootools-collapsing-categories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mootools-collapsing-categories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mootools-collapsing-categories/)
 * [Active Topics](https://wordpress.org/support/plugin/mootools-collapsing-categories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mootools-collapsing-categories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mootools-collapsing-categories/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Bence](https://wordpress.org/support/users/charybdis/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-moo-collapsing-categories-array_slice-expects-parameter-1-to-be-array-null-given/#post-1734222)
 * Status: resolved