Title: random saving errors
Last modified: January 30, 2017

---

# random saving errors

 *  [esp2013](https://wordpress.org/support/users/esp2013/)
 * (@esp2013)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/random-saving-errors/)
 * I’ve created a twentyseventeen child theme and a functions.php so I could change
   the Frontpage Section Content from 4 to 6 Sections. This works except now I have
   problems saving and updating – when updating pages it doesn’t always return to
   the page, instead I just get a whitepage although it does save my changes. Also,
   the Customize feature sometimes won’t save changes – like options changes and
   such. The only thing that happened before this started was my addition to the
   functions.php in my child theme. This is the code:
    <?php add_action( ‘wp_enqueue_scripts’,‘
   my_theme_enqueue_styles’ ); function my_theme_enqueue_styles() { wp_enqueue_style(‘
   parent-style’, get_template_directory_uri() . ‘/style.css’ ); } ?> <?php function
   wpc_custom_front_sections( $num_sections ) { return 6; //Change this number to
   change the number of the sections. } add_filter( ‘twentyseventeen_front_page_sections’,‘
   wpc_custom_front_sections’ ); ?>

The topic ‘random saving errors’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentyseventeen/4.1/screenshot.
   png)
 * Twenty Seventeen
 * [Support Threads](https://wordpress.org/support/theme/twentyseventeen/)
 * [Active Topics](https://wordpress.org/support/theme/twentyseventeen/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentyseventeen/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentyseventeen/reviews/)

## Tags

 * [functions](https://wordpress.org/support/topic-tag/functions/)

 * 2 replies
 * 2 participants
 * Last reply from: [t0nnyh0ang](https://wordpress.org/support/users/t0nnyh0ang/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/random-saving-errors/#post-8714421)
 * Status: not resolved