Title: array_slice
Last modified: August 21, 2016

---

# array_slice

 *  Resolved [paulborje](https://wordpress.org/support/users/paulborje/)
 * (@paulborje)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/array_slice-1/)
 * After activate – this error:
 * Warning: array_slice() expects parameter 1 to be array, null given in xxxxx/admin-
   table.php on line 122
 * Site: [http://www.nyhetstidningen.com](http://www.nyhetstidningen.com)
 * [https://wordpress.org/plugins/sandbox/](https://wordpress.org/plugins/sandbox/)

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

 *  [paintboylive](https://wordpress.org/support/users/paintboylive/)
 * (@paintboylive)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/array_slice-1/#post-4579353)
 * Hello,
 * I as well have this error that shows up once I click on Sandbox in my dashboard
   editor.
 * Warning: array_slice() expects parameter 1 to be array, null given in /home/xxxx/
   townandcountrydecorating.ca/xxxx/sandbox/admin-table.php on line 122
 * [http://www.townandcountrydecorating.ca](http://www.townandcountrydecorating.ca)
 *  Plugin Author [barteled](https://wordpress.org/support/users/barteled/)
 * (@barteled)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/array_slice-1/#post-4579358)
 * Ok thanks for bringing this to my attention. I will try to recreate it in my 
   testbed and resolve it shortly.
 *  Plugin Author [barteled](https://wordpress.org/support/users/barteled/)
 * (@barteled)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/array_slice-1/#post-4579365)
 * This warning is resolved in version 0.2. Let me know if you are still experiencing
   issues. Thanks.
 *  Thread Starter [paulborje](https://wordpress.org/support/users/paulborje/)
 * (@paulborje)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/array_slice-1/#post-4579384)
 * No error there any more..
    Thank’s
 * BIG SMILE… But … So sorry to say…
    see this…
 * Please don’t say “You can go and (f-world) yourself!” 😉
 * ([list over all in-ZIP click](http://www.nyhetstidningen.com/sandbox-info.zip))
 * ‘whtp_hitinfo’ table is not part of a sandbox or WordPress. This table will not
   be duplicated and could potentially be written to by a sandbox.
    Use sandboxes
   with caution!
 * ‘whtp_hits’ table is not part of a sandbox or WordPress. This table will not 
   be duplicated and could potentially be written to by a sandbox.
    Use sandboxes
   with caution!
 * ‘wp_aec_event’ table is not part of a sandbox or WordPress. This table will not
   be duplicated and could potentially be written to by a sandbox.
    Use sandboxes
   with caution!
 * ‘wp_aec_event_category’ table is not part of a sandbox or WordPress. This table
   will not be duplicated and could potentially be written to by a sandbox.
    Use
   sandboxes with caution!
 * ‘wp_authority_linker’ table is not part of a sandbox or WordPress. This table
   will not be duplicated and could potentially be written to by a sandbox.
    Use
   sandboxes with caution!
 * ‘wp_commentmeta’ table is not part of a sandbox or WordPress. This table will
   not be duplicated and could potentially be written to by a sandbox.
    Use sandboxes
   with caution!
 * ‘wp_comments’ table is not part of a sandbox or WordPress. This table will not
   be duplicated and could potentially be written to by a sandbox.
    Use sandboxes
   with caution!
 * ‘wp_gdpt_posts_views’ table is not part of a sandbox or WordPress. This table
   will not be duplicated and could potentially be written to by a sandbox.
    Use
   sandboxes with caution!
 * ‘wp_gdpt_users_tracking’ table is not part of a sandbox or WordPress. This table
   will not be duplicated and could potentially be written to by a sandbox.
    Use
   sandboxes with caution!
 * ‘wp_links’ table is not part of a sandbox or WordPress. This table will not be
   duplicated and could potentially be written to by a sandbox.
    Use sandboxes with
   caution!
 * ‘wp_options’ table is not part of a sandbox or WordPress. This table will not
   be duplicated and could potentially be written to by a sandbox.
    Use sandboxes
   with caution!
 * ‘wp_postmeta’ table is not part of a sandbox or WordPress. This table will not
   be duplicated and could potentially be written to by a sandbox.
    Use sandboxes
   with caution!
 * ‘wp_posts’ table is not part of a sandbox or WordPress. This table will not be
   duplicated and could potentially be written to by a sandbox.
    Use sandboxes with
   caution!
 * ‘wp_subscribe2’ table is not part of a sandbox or WordPress. This table will 
   not be duplicated and could potentially be written to by a sandbox.
    Use sandboxes
   with caution!
 * ‘wp_term_relationships’ table is not part of a sandbox or WordPress. This table
   will not be duplicated and could potentially be written to by a sandbox.
    Use
   sandboxes with caution!
 * ‘wp_term_taxonomy’ table is not part of a sandbox or WordPress. This table will
   not be duplicated and could potentially be written to by a sandbox.
    Use sandboxes
   with caution!
 * ‘wp_terms’ table is not part of a sandbox or WordPress. This table will not be
   duplicated and could potentially be written to by a sandbox.
    Use sandboxes with
   caution!
 * ‘wp_usermeta’ table is not part of a sandbox or WordPress. This table will not
   be duplicated and could potentially be written to by a sandbox.
    Use sandboxes
   with caution!
 * ‘wp_users’ table is not part of a sandbox or WordPress. This table will not be
   duplicated and could potentially be written to by a sandbox.
    Use sandboxes with
   caution!
 * Plugin in user are:
 *  Add Dashboard Columns by Sergio P.A. ( 23r9i0 ).
    Admin Post Navigation by Scott
   Reilly. Ads by datafeedr.com by datafeedr.com. Akismet by Automattic. Artiss 
   Plugins List by David Artiss. Avatar Privacy by Johannes Freudendahl. Broken 
   Link Checker by Janis Elsts. Cleverness To-Do List by C.M. Kendrick. Contact 
   Form 7 by Takayuki Miyoshi. Cookies for Comments by Donncha O Caoimh. Customize
   your 404 Error Page for WordPress by WP Theme Generator. Debug Bar by wordpressdotorg.
   Debug Bar Shortcodes by Juliette Reinders Folmer. Disable JPEG Compression by
   Yonatan Ganot. Displet Pop by Displet. Disqus Comment System by Disqus . Dynamic
   Widgets by Qurl. Easy Parallax Slider by oscitas. Easy Responsive Tabs by oscitas.
   Font Awesome Icons by Rachel Baker. Font Awesome More Icons by Web Guys. GD Press
   Tools by Milan Petrovic. Google Sitemap by BestWebSoft. IFrame Shortcode by Flyn
   San. Insert Pages by Paul Ryan. Jetpack by WordPress.com by Automattic. Link 
   Images to None by Farzad Setoode. Moods Addon for Ultimate TinyMCE by Josh Lobe.
   Moon Phase Widget by Duncan Marshall. Multi-column Tag Map by Alan Jackson. Pinterest
   Block by Phil Derksen. Plugin Activation Date by Maor Chasen. PostDate by dcoda.
   Really Simple CAPTCHA by Takayuki Miyoshi. Sandbox Plugin by Eric Bartel. Scroll
   Button by Jason Jersey. Send link to friend by Gopi.R. Simple Hierarchical Sitemap
   by LordPretender. Simple Post Views Counter by RS Publishing. Simple Site Speed
   by Chris Blakley. SubHeading by StvWhtly. T(-) Countdown by twinpictures, baden03.
   TablePress by Tobias Bäthge. Ultimate TinyMCE by Josh Lobe. W3 Total Cache by
   Frederick Townes. Widget Icon by dFactory. Wordfence Security by Mark Maunder.
   WordPress Editorial Calendar by Colin Vernon, Justin Evans, Joachim Kudish, Mary
   Vogt, and Zack Grossbart. WordPress Ping Optimizer by Pankaj Jha. WordPress SEO
   by Joost de Valk. WP-Polls by Lester ‘GaMerZ’ Chan. WP Hide Post by Robert Mahfoud.
   WP Post Signature by Soli. WP SIMILE Timeline by Tim Isenheim. WP SlimStat by
   Camu. WP SlimStat ShortCodes by Camu. WP User Avatar by Bangbay Siboliban. Yet
   Another Related Posts Plugin by Adknowledge.
 * And (LOL) 43 plugin not in use…
 *  Plugin Author [barteled](https://wordpress.org/support/users/barteled/)
 * (@barteled)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/array_slice-1/#post-4579416)
 * wow… that is a lot of plugins.
 * Could you provide the $table_prefix line from the wp-config.php file?
    Ex. $table_prefix
   = ‘wp_’;
 * This is not necessarily a error as much as a warning. The sandbox was still completed.
   Basically when it copies tables over to the sandbox it only copies ones with 
   the table prefix used by wordpress. It changes the prefix in the process from
   the existing prefix (ex. wp_user) to a sandbox prefix (wp_test_user) to avoid
   messing with the live tables. In a perfect world plugins should create tables
   that use the wordpress prefix and if they don’t there is nothing I can safely
   do to move those tables over to a sandboxed version. I throw a warning so that
   the admin knows changes in the sandbox could potentially impact the live site.
   I hope my ramblings make sense.
 * The only troubling thing is wp_* tables are wordpress tables and should be converted
   unless they are from a different/older wordpress install. This is why I want 
   to verify with the table_prefix I requested above.
 *  Thread Starter [paulborje](https://wordpress.org/support/users/paulborje/)
 * (@paulborje)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/array_slice-1/#post-4579421)
 * Hi
    The Line is:
 * $table_prefix = ‘nt_’;
 * The site is [http://www.nyhetstidningen.com](http://www.nyhetstidningen.com) 
   ==> Prefix ‘nt_’
 * I have more WordPress in same database. LOL
 * About “WOW” – sorry working with computer from 1975…
    And I “must” try every 
   new plug (nearly) to WP.
 *  Plugin Author [barteled](https://wordpress.org/support/users/barteled/)
 * (@barteled)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/array_slice-1/#post-4579434)
 * Judging from your prefix, your sandbox should be fine. Have you tried activating
   your sandbox? Does it work?
 *  Thread Starter [paulborje](https://wordpress.org/support/users/paulborje/)
 * (@paulborje)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/array_slice-1/#post-4579486)
 * Today (2014 feb 23) I have update to 0.3 and yes it works. Get some error but
   I know why. I have two WP in one db.
    Sandbox can’t now that. It’s not MU.
 * So i think this is a god plug-in for ‘folks’ like me.
    Testing new things every
   week. Plug-in, Theme and so on….
 * Here’s a virtual “*” star to put on monitor as a reward. 😉
 *  [jymsym](https://wordpress.org/support/users/jymsym/)
 * (@jymsym)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/array_slice-1/#post-4579570)
 * Hi, I got
    jsymsym_wrdp4copy’ table is not part of a sandbox or WordPress. This
   table will not be duplicated and could potentially be written to by a sandbox.
   Use sandboxes with caution! ‘live_hits’ table is not part of a sandbox or WordPress.
   This table will not be duplicated and could potentially be written to by a sandbox.
   Use sandboxes with caution! ‘sk2_blacklist’ table is not part of a sandbox or
   WordPress. This table will not be duplicated and could potentially be written
   to by a sandbox. Use sandboxes with caution! Could not create sandbox table because
   it already exists. Table: wpau_upgrade_log Sandbox creation halted with error.
 * What have I done wrong?

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

The topic ‘array_slice’ is closed to new replies.

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

 * 9 replies
 * 4 participants
 * Last reply from: [jymsym](https://wordpress.org/support/users/jymsym/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/array_slice-1/#post-4579570)
 * Status: resolved