Title: [JetPack] Registration breaks rendering
Last modified: September 27, 2017

---

# [JetPack] Registration breaks rendering

 *  [rccypher](https://wordpress.org/support/users/rccypher/)
 * (@rccypher)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/jetpack-breaks-rendering/)
 * I was having an issue getting Jetpack to properly register with wordpress. I 
   fixed this by installing php71-ctype module. This resolved the issue and I am
   now able to activate the JetPack plugin and register properly. However as soon
   as the integration is complete page rendering breaks and all that is returned
   from my URL is a blank page with no content.
    When I view the page source i get
 *     ```
       <!DOCTYPE html>
       <html class="no-js" lang="en-US">
   
       <head>
   
       <title>strikingink – Time to update your advertising methods.</title>
       ```
   
 * Debugging was enabled so I was able to capture the error:
 *     ```
       [27-Sep-2017 07:11:12 UTC] PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function Jetpack_Custom_CSS_Enhancements::_wp_post_revision_fields(), 1 passed in /usr/local/www/apache24/data/wp-includes/class-wp-hook.php on line 298 and exactly 2 expected in /usr/local/www/apache24/data/wp-content/plugins/jetpack/modules/custom-css/custom-css-4.7.php:152
       Stack trace:
       #0 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(298): Jetpack_Custom_CSS_Enhancements::_wp_post_revision_fields(Array)
       #1 /usr/local/www/apache24/data/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
       #2 /usr/local/www/apache24/data/wp-content/plugins/wp-front-end-editor/class-wp-rest-post-autosave-controller.php(330): apply_filters('_wp_post_revisi...', Array)
       #3 /usr/local/www/apache24/data/wp-includes/rest-api/endpoints/class-wp-rest-controller.php(361): WP_REST_Post_Autosave_Controller->get_item_schema()
       #4 /usr/local/www/apache24/data/wp-content/plugins/wp-front-end-editor/class-wp-rest-post-autosave-controller.php(29): WP_REST_Controller->get_context_param(Array)
       #5 /usr/local/www/apache24/data/wp-content/plugins/wp-front-end-editor/class-fee.php(419): WP_REST_Post_Autosave_Controller->register_routes()
       #6 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(298): FEE->rest_api_init(Object(WP_REST_Server))
       #7 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
       #8 /usr/local/www/apache24/data/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
       #9 /usr/local/www/apache24/data/wp-includes/rest-api.php(439): do_action('rest_api_init', Object(WP_REST_Server))
       #10 /usr/local/www/apache24/data/wp-includes/rest-api.php(264): rest_get_server()
       #11 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(298): rest_api_loaded(Object(WP))
       #12 /usr/local/www/apache24/data/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array)
       #13 /usr/local/www/apache24/data/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
       #14 /usr/local/www/apache24/data/wp-includes/class-wp.php(386): do_action_ref_array('parse_request', Array)
       #15 /usr/local/www/apache24/data/wp-includes/class-wp.php(733): WP->parse_request('')
       #16 /usr/local/www/apache24/data/wp-includes/functions.php(955): WP->main('')
       #17 /usr/local/www/apache24/data/wp-blog-header.php(16): wp()
       #18 /usr/local/www/apache24/data/index.php(17): require('/usr/local/www/...')
       #19 {main}
         thrown in /usr/local/www/apache24/data/wp-content/plugins/jetpack/modules/custom-css/custom-css-4.7.php on line 152
       ```
   
 * If I’m reading this right I’m encountering an issue where too few parameters 
   are being passed to class-wp-hook.php.
 * Please advise.
 * Thank you in advance!
    -  This topic was modified 8 years, 11 months ago by [rccypher](https://wordpress.org/support/users/rccypher/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjetpack-breaks-rendering%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [rccypher](https://wordpress.org/support/users/rccypher/)
 * (@rccypher)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/jetpack-breaks-rendering/#post-9534063)
 * So I thought this might be a conflict with another plugin.
    As such I started
   disabling plugins one at a time until I found the culprit. It appears that when
   I have [https://wordpress.org/plugins/wp-front-end-editor/](https://wordpress.org/plugins/wp-front-end-editor/)
   plugin installed, the rendering breaks and the above error kicks off. When this
   plugin is disabled all is right with the world.

Viewing 1 replies (of 1 total)

The topic ‘[JetPack] Registration breaks rendering’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [rccypher](https://wordpress.org/support/users/rccypher/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/jetpack-breaks-rendering/#post-9534063)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
