Title: Warning :  array_slice() expects parameter 1 to be array, boolean given in  &#8230;.
Last modified: August 20, 2016

---

# Warning : array_slice() expects parameter 1 to be array, boolean given in ….

 *  Resolved [DTSSSE](https://wordpress.org/support/users/dtssse/)
 * (@dtssse)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-array_slice-expects-parameter-1-to-be-array-boolean-given-in/)
 * Hi,
 * Hereunder is the message i’ve got as soon as i wanted look at the Plug N edit
   settings :
 * “
    Warning: array_slice() expects parameter 1 to be array, boolean given in /
   home/XXXXXX/public_html/wordpress/wp-content/plugins/plugnedit/pagebuilder.php
   on line 151
 * Warning: Invalid argument supplied for foreach() in /home/XXXXXX/public_html/
   wordpress/wp-content/plugins/plugnedit/pagebuilder.php on line 151
    Plug N Edit
   Read First:
 * Do not use PlugNedit for any type of sensitive or personal information (General
   Public Pages Only). ….. , etc
 * Plug & Edit Home Page Support Email: [Contact@plugnedit.com](https://wordpress.org/support/topic/warning-array_slice-expects-parameter-1-to-be-array-boolean-given-in/Contact@plugnedit.com?output_format=md)
   
   Page Name Preview URL Edit Meta Edit Page
 * “
 * What are the consequences of these warnings and how can i fix them,
 * Thank you,
 * Didier
 * [http://wordpress.org/extend/plugins/plugnedit/](http://wordpress.org/extend/plugins/plugnedit/)

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

 *  Plugin Author [Kelly Brown](https://wordpress.org/support/users/cactikelly/)
 * (@cactikelly)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-array_slice-expects-parameter-1-to-be-array-boolean-given-in/#post-3220833)
 * Hi
 * If you are able to check your wordpress home directory
    /home/XXXXXX/public_html/
   wordpress/
 * Thanks, let us know. this would be a file permission problem.
 * Otherwise.
 * I checked the PHP manual and it said some systems will return a empty slice on
   a glob().
 * We will update the plugin within the next 24 hours.
    Go ahead and install and
   re-install tomorrow.
 * PNE
 *  Plugin Author [Kelly Brown](https://wordpress.org/support/users/cactikelly/)
 * (@cactikelly)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-array_slice-expects-parameter-1-to-be-array-boolean-given-in/#post-3220839)
 * Sorry. About type O
 * Check your home directory for PNEHTML folder.
 *  Plugin Author [Kelly Brown](https://wordpress.org/support/users/cactikelly/)
 * (@cactikelly)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/warning-array_slice-expects-parameter-1-to-be-array-boolean-given-in/#post-3220904)
 * The new Plugnedit Version 4.1.4 has the new update and fix.
 *  Plugin Author [Kelly Brown](https://wordpress.org/support/users/cactikelly/)
 * (@cactikelly)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/warning-array_slice-expects-parameter-1-to-be-array-boolean-given-in/#post-3220928)
 * HI
 * Please let us know if this update resolved all your problems.
 * [Contact@plugnedit.com](https://wordpress.org/support/topic/warning-array_slice-expects-parameter-1-to-be-array-boolean-given-in/Contact@plugnedit.com?output_format=md)
 * _[Signature moderated]_
    John

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

The topic ‘Warning : array_slice() expects parameter 1 to be array, boolean given
in ….’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/plugnedit.svg)
 * [PlugNedit](https://wordpress.org/plugins/plugnedit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugnedit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugnedit/)
 * [Active Topics](https://wordpress.org/support/plugin/plugnedit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugnedit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugnedit/reviews/)

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [parameter](https://wordpress.org/support/topic-tag/parameter/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 4 replies
 * 2 participants
 * Last reply from: [Kelly Brown](https://wordpress.org/support/users/cactikelly/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/warning-array_slice-expects-parameter-1-to-be-array-boolean-given-in/#post-3220928)
 * Status: resolved