Title: fatal error array_splice
Last modified: March 14, 2024

---

# fatal error array_splice

 *  Resolved [Xavier Serrano](https://wordpress.org/support/users/xavierserranoa/)
 * (@xavierserranoa)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-array_splice/)
 *     ```wp-block-code
       Error Details
       =============
       An error of type E_ERROR was caused in line 478 of the file /www/centerforearthethics_425/public/wp-content/plugins/wp-scheduled-posts/includes/Admin.php. Error message: Uncaught TypeError: array_slice(): Argument #1 ($array) must be of type array, null given in /www/centerforearthethics_425/public/wp-content/plugins/wp-scheduled-posts/includes/Admin.php:478
       Stack trace:
       #0 /www/centerforearthethics_425/public/wp-content/plugins/wp-scheduled-posts/includes/Admin.php(478): array_slice(NULL, 0, 1, true)
       #1 /www/centerforearthethics_425/public/wp-includes/class-wp-hook.php(324): WPSP\Admin->wpsp_el_modal_social_share_profile('')
       #2 /www/centerforearthethics_425/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
       #3 /www/centerforearthethics_425/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
       #4 /www/centerforearthethics_425/public/wp-content/plugins/wp-scheduled-posts/includes/Admin.php(322): do_action('wpsp_el_modal_s...')
       #5 /www/centerforearthethics_425/public/wp-includes/class-wp-hook.php(324): WPSP\Admin->schedulepress_el_tab('')
       #6 /www/centerforearthethics_425/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
       #7 /www/centerforearthethics_425/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
       #8 /www/centerforearthethics_425/public/wp-content/plugins/elementor/core/editor/editor.php(506): do_action('elementor/edito...')
       #9 /www/centerforearthethics_425/public/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->wp_footer('')
       #10 /www/centerforearthethics_425/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
       #11 /www/centerforearthethics_425/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
       #12 /www/centerforearthethics_425/public/wp-includes/general-template.php(3068): do_action('wp_footer')
       #13 /www/centerforearthethics_425/public/wp-content/plugins/elementor/includes/editor-templates/editor-wrapper.php(43): wp_footer()
       #14 /www/centerforearthethics_425/public/wp-content/plugins/elementor/core/editor/loader/v1/editor-v1-loader.php(110): include('/www/centerfore...')
       #15 /www/centerforearthethics_425/public/wp-content/plugins/elementor/core/editor/editor.php(163): Elementor\Core\Editor\Loader\V1\Editor_V1_Loader->print_root_template()
       #16 /www/centerforearthethics_425/public/wp-includes/class-wp-hook.php(324): Elementor\Core\Editor\Editor->init('')
       #17 /www/centerforearthethics_425/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
       #18 /www/centerforearthethics_425/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
       #19 /www/centerforearthethics_425/public/wp-admin/admin.php(419): do_action('admin_action_el...')
       #20 /www/centerforearthethics_425/public/wp-admin/post.php(12): require_once('/www/centerfore...')
       #21 {main}
         thrown
       ```
   
 * getting the error above when trying to edit a post

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

 *  Plugin Support [AR Rasel](https://wordpress.org/support/users/arrasel403/)
 * (@arrasel403)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-array_splice/#post-17503603)
 * Hi [@xavierserranoa](https://wordpress.org/support/users/xavierserranoa/),
 * Hope you are doing well. Sorry to hear that you are facing issues.
 * We already fixed this issue on our Dev version plugin. Please download the Dev
   version plugin from [here](https://d.pr/f/Gft4iL) and retry once.
 * Hope your issue will be fixed. Let us know if still you are facing the issues.
 * Thanks!
 *  Plugin Support [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * (@paulamit)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-array_splice/#post-17507476)
 * Hello @xavierserranoa,
 * Greetings. I hope this message finds you well.
 * Would you kindly share us feedback about the issue that you’re facing? Did you
   try our above-provided updated version of plugin yet? If not, kindly try that
   and let us know how it goes then.
   Looking forward to hearing from you soon.
 * Thank you!
 *  Thread Starter [Xavier Serrano](https://wordpress.org/support/users/xavierserranoa/)
 * (@xavierserranoa)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-array_splice/#post-17509786)
 * hey just got around to trying that one version of the plugin and that indeed 
   worked and resolved the issue.
 *  Plugin Support [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * (@paulamit)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-array_splice/#post-17511285)
 * Hi [@xavierserranoa](https://wordpress.org/support/users/xavierserranoa/),
   Thanks
   for your feedback. Happy to hear that it worked perfectly. Feel free to reach
   us anytime when you need any further assistance.
 * Well, If you love our plugin & support, it would be awesome if you give us support
   by reviewing us **5-Star** from here: 
   [https://wordpress.org/support/plugin/wp-scheduled-posts/reviews/#new-post](https://wordpress.org/support/plugin/wp-scheduled-posts/reviews/#new-post)
   This may help us to boost our energy and provide better support. And also, help
   us to grow more.
 * Thank you. Have a wonderful day!

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

The topic ‘fatal error array_splice’ is closed to new replies.

 * ![](https://ps.w.org/wp-scheduled-posts/assets/icon-256x256.png?rev=2522704)
 * [SchedulePress – Auto Post & Publish, Auto Social Share, Schedule Posts with Editorial Calendar & Missed Schedule Post Publisher](https://wordpress.org/plugins/wp-scheduled-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-scheduled-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-scheduled-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-scheduled-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-scheduled-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-scheduled-posts/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-array_splice/#post-17511285)
 * Status: resolved