Title: errors after installation
Last modified: November 9, 2022

---

# errors after installation

 *  Resolved [derrida](https://wordpress.org/support/users/derrida/)
 * (@derrida)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/errors-after-installation-5/)
 * hi
    i want to test surecart. so i have my own custom theme, and after i install
   and activate i get these error messages:
 * Warning: array_merge(): Expected parameter 1 to be an array, bool given in C:\
   Users\me\Local Sites\surecart\app\public\wp-content\plugins\surecart\app\src\
   WordPress\ThemeServiceProvider.php on line 95
 * Warning: Cannot modify header information – headers already sent by (output started
   at C:\Users\me\Local Sites\surecart\app\public\wp-content\plugins\surecart\app\
   src\WordPress\ThemeServiceProvider.php:95) in C:\Users\me\Local Sites\surecart\
   app\public\wp-admin\includes\misc.php on line 1416
 * Warning: Cannot modify header information – headers already sent by (output started
   at C:\Users\me\Local Sites\surecart\app\public\wp-content\plugins\surecart\app\
   src\WordPress\ThemeServiceProvider.php:95) in C:\Users\me\Local Sites\surecart\
   app\public\wp-includes\functions.php on line 6865
 * Warning: Cannot modify header information – headers already sent by (output started
   at C:\Users\me\Local Sites\surecart\app\public\wp-content\plugins\surecart\app\
   src\WordPress\ThemeServiceProvider.php:95) in C:\Users\me\Local Sites\surecart\
   app\public\wp-admin\admin-header.php on line 9
 * not sure if it is important but my custom theme is FSE. i do not get similar 
   errors from other plugins.
    when i switch theme to twenty twenty three (it is
   6.1), the errors go away. any idea what is wrong?

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

 *  Thread Starter [derrida](https://wordpress.org/support/users/derrida/)
 * (@derrida)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/errors-after-installation-5/#post-16181609)
 * so i have just added a check for the if statment and the errors are gone. but
   that should be checked by default.
    if ( !isset($old_color_palette) && ! empty(
   $old_color_palette ) ) { $new_color_palette = array_merge( $old_color_palette,
   $new_color_palette ); }
 * also i hope this small change will not create issues down the road.
    -  This reply was modified 3 years, 7 months ago by [derrida](https://wordpress.org/support/users/derrida/).
 *  Thread Starter [derrida](https://wordpress.org/support/users/derrida/)
 * (@derrida)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/errors-after-installation-5/#post-16181617)
 * also, now i want to setup my store….do i need to register with surecart even 
   if all i want is to test it?
 *  Plugin Author [Andre Gagnon](https://wordpress.org/support/users/2winfactor/)
 * (@2winfactor)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/errors-after-installation-5/#post-16190879)
 * Hi There!
 * Thanks for reaching out about this! It looks like this is a warning because your
   site is in DEBUG mode. We’ll get this developer warning fixed – I appreciate 
   you bringing it to our attention.
 * And yes, an account is required to use SureCart (though it’s free!)
 * SureCart is different from most eCommerce plugins in that we offload almost all
   critical eCommerce functionality off your site to our platform. This means you
   can can provide a much faster, reliable and secure ecommerce experience than 
   what is currently available on WordPress.
 * It’s definitely more for people who want something they don’t have to worry about,
   that’s inherently secure and just want something that works well, without any
   configuration.
 * Any questions, let me know.
    -  This reply was modified 3 years, 6 months ago by [Andre Gagnon](https://wordpress.org/support/users/2winfactor/).
 *  Thread Starter [derrida](https://wordpress.org/support/users/derrida/)
 * (@derrida)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/errors-after-installation-5/#post-16193601)
 * hi thanks for the answer. i do have another question: i understand it works with
   stripe, which sadly doesn’t work in israel. do you have an alternative that does
   work in countries like israel?
 * if not, but it will, it will still be interesting to play and test surecart. 
   so i will have to open an account, but could i just test it from localhost?
 * best regards

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

The topic ‘errors after installation’ is closed to new replies.

 * ![](https://ps.w.org/surecart/assets/icon-256x256.gif?rev=3285224)
 * [SureCart - Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments](https://wordpress.org/plugins/surecart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/surecart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/surecart/)
 * [Active Topics](https://wordpress.org/support/plugin/surecart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/surecart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/surecart/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [derrida](https://wordpress.org/support/users/derrida/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/errors-after-installation-5/#post-16193601)
 * Status: resolved