• Resolved hmseb

    (@hmseb)


    So I get this message on my dashboard: “unknown_token: It looks like your Jetpack connection is broken. Try disconnecting from WordPress.com then reconnecting.”

    I tried reconnecting, but when I do I end up on a blank page.
    I’ve tried on Chrome, Explorer and Firefox.
    I’ve tried deleting the plugin from ftp and reinstalling it, didn’t changed anything.
    Tried to flush my cloudflare cache and I also tried the development mode to avoid caching issues.

    I’m out of ideas, any suggestions?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Could you try the following:

    1. Open the dashboard page.
    2. Open your browser console
    3. Click on the Network tab
    4. Refresh the page.
    5. If you see any lines in red inside the browser console, click on them. A new panel should appear on the right.
    6. Click on the “Response” tab in that new panel.
    7. Copy the message displayed there.
    8. Paste it here.
    9. If no red lines appeared in the browser console, click on the “Console” tab of the browser console.
    10. Copy any errors displayed there, and paste them here.
    Thread Starter hmseb

    (@hmseb)

    Nothing in the network and console tab when in the jetpack dashboard.

    Here is one error in the console tab in the wp dashboard:

    JQMIGRATE: Migrate is installed with logging active, version 1.4.1
    jquery-migrate.js?ver=1.4.1:4 JQMIGRATE: ‘hover’ pseudo-event is deprecated, use ‘mouseenter mouseleave’
    jquery-migrate.js?ver=1.4.1:4 console.trace()migrateWarn @ jquery-migrate.js?ver=1.4.1:4hoverHack @ jquery-migrate.js?ver=1.4.1:39jQuery.event.add @ jquery-migrate.js?ver=1.4.1:43(anonymous function) @ jquery.js?ver=1.12.4:1each @ jquery.js?ver=1.12.4:1each @ jquery.js?ver=1.12.4:1sa @ jquery.js?ver=1.12.4:1on @ jquery.js?ver=1.12.4:1b @ wp-seo-admin-global-350.min.js?ver=3.6.1:1(anonymous function) @ wp-seo-admin-global-350.min.js?ver=3.6.1:1i @ jquery.js?ver=1.12.4:1fireWith @ jquery.js?ver=1.12.4:1ready @ jquery.js?ver=1.12.4:1K @ jquery.js?ver=1.12.4:1

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Thanks for giving that a try. Could you add the following to your site’s wp-config.php file?

    
    define( 'WP_DEBUG', true );
    
    if ( WP_DEBUG ) {
    
            @error_reporting( E_ALL );
            @ini_set( 'log_errors', true );
            @ini_set( 'log_errors_max_len', '0' );
    
            define( 'WP_DEBUG_LOG', true );
            define( 'WP_DEBUG_DISPLAY', false );
            define( 'CONCATENATE_SCRIPTS', false );
            define( 'SAVEQUERIES', true );
    
    }
    

    Once you’ve done so, try to connect again, access to Jetpack menu page, and then check the wp-content/debug.log file for errors. You can paste the results here. You can then replace define('WP_DEBUG', true); by define('WP_DEBUG', false); in the code above.

    Thread Starter hmseb

    (@hmseb)

    Stack trace:
    #0 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php(57): IXR_Message->parse()
    #1 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-actions.php(136): Jetpack_IXR_Client->query(‘jetpack.syncAct…’, Array)
    #2 /var/www/hmseb.com/wp-includes/plugin.php(235): Jetpack_Sync_Actions::send_data(Array, ‘deflate-json-ar…’, 1476443090.1389, ‘full_sync’)
    #3 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(173): apply_filters(‘jetpack_sync_se…’, Array, ‘deflate-json-ar…’, 1476443090.1389, ‘full_sync’)
    #4 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(71): Jetpack_Sync_Sender->do_sync_for_queue(Object(Jetpack_Sync_Queue))
    #5 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-actions.php(268): Jetpack_Sync_Sender->do_sync()
    #6 /var/www/hmseb.com/wp-includes/plugin. in /var/www/hmseb.com/wp-includes/class-IXR.php on line 264
    [14-Oct-2016 11:04:50 UTC] PHP Notice: unserialize(): Error at offset 123 of 130 bytes in /var/www/hmseb.com/wp-content/plugins/powerpress/powerpress.php on line 3094
    [14-Oct-2016 11:04:50 UTC] PHP Notice: unserialize(): Error at offset 123 of 130 bytes in /var/www/hmseb.com/wp-content/plugins/powerpress/powerpress.php on line 3094
    [14-Oct-2016 11:06:13 UTC] PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /var/www/hmseb.com/wp-includes/class-IXR.php:264
    Stack trace:
    #0 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php(57): IXR_Message->parse()
    #1 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-actions.php(136): Jetpack_IXR_Client->query(‘jetpack.syncAct…’, Array)
    #2 /var/www/hmseb.com/wp-includes/plugin.php(235): Jetpack_Sync_Actions::send_data(Array, ‘deflate-json-ar…’, 1476443173.5535, ‘sync’)
    #3 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(173): apply_filters(‘jetpack_sync_se…’, Array, ‘deflate-json-ar…’, 1476443173.5535, ‘sync’)
    #4 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(72): Jetpack_Sync_Sender->do_sync_for_queue(Object(Jetpack_Sync_Queue))
    #5 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-actions.php(268): Jetpack_Sync_Sender->do_sync()
    #6 /var/www/hmseb.com/wp-includes/plugin.php(600): in /var/www/hmseb.com/wp-includes/class-IXR.php on line 264
    [14-Oct-2016 11:08:23 UTC] PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /var/www/hmseb.com/wp-includes/class-IXR.php:264
    Stack trace:
    #0 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php(57): IXR_Message->parse()
    #1 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-actions.php(142): Jetpack_IXR_Client->query(‘jetpack.syncAct…’, Array)
    #2 /var/www/hmseb.com/wp-includes/plugin.php(235): Jetpack_Sync_Actions::send_data(Array, ‘deflate-json-ar…’, 1476443303.3838, ‘sync’)
    #3 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(185): apply_filters(‘jetpack_sync_se…’, Array, ‘deflate-json-ar…’, 1476443303.3838, ‘sync’)
    #4 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(82): Jetpack_Sync_Sender->do_sync_for_queue(Object(Jetpack_Sync_Queue))
    #5 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(64): Jetpack_Sync_Sender->do_sync_and_set_delays(Object(Jetpack_Sync_Queue))
    #6 /var/www/ in /var/www/hmseb.com/wp-includes/class-IXR.php on line 264
    [14-Oct-2016 11:08:24 UTC] PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /var/www/hmseb.com/wp-includes/class-IXR.php:264
    Stack trace:
    #0 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php(57): IXR_Message->parse()
    #1 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-actions.php(142): Jetpack_IXR_Client->query(‘jetpack.syncAct…’, Array)
    #2 /var/www/hmseb.com/wp-includes/plugin.php(235): Jetpack_Sync_Actions::send_data(Array, ‘deflate-json-ar…’, 1476443304.0644, ‘full_sync’)
    #3 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(185): apply_filters(‘jetpack_sync_se…’, Array, ‘deflate-json-ar…’, 1476443304.0644, ‘full_sync’)
    #4 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(82): Jetpack_Sync_Sender->do_sync_for_queue(Object(Jetpack_Sync_Queue))
    #5 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(60): Jetpack_Sync_Sender->do_sync_and_set_delays(Object(Jetpack_Sync_Queue))
    #6 in /var/www/hmseb.com/wp-includes/class-IXR.php on line 264
    [14-Oct-2016 11:08:31 UTC] PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /var/www/hmseb.com/wp-includes/class-IXR.php:264
    Stack trace:
    #0 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php(57): IXR_Message->parse()
    #1 /var/www/hmseb.com/wp-content/plugins/jetpack/modules/monitor.php(129): Jetpack_IXR_Client->query(‘jetpack.monitor…’)
    #2 /var/www/hmseb.com/wp-content/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php(2042): Jetpack_Monitor->user_receives_notifications(false)
    #3 /var/www/hmseb.com/wp-content/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php(1853): Jetpack_Core_Json_Api_Endpoints::get_remote_value(‘monitor’, ‘monitor_receive…’)
    #4 /var/www/hmseb.com/wp-content/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php(170): Jetpack_Core_Json_Api_Endpoints::prepare_options_for_response(‘monitor’)
    #5 /var/www/hmseb.com/wp-content/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php(151): Jetpack_Core_API_Module_List_ in /var/www/hmseb.com/wp-includes/class-IXR.php on line 264
    [14-Oct-2016 11:08:52 UTC] PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /var/www/hmseb.com/wp-includes/class-IXR.php:264
    Stack trace:
    #0 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php(57): IXR_Message->parse()
    #1 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack.php(2589): Jetpack_IXR_Client->query(‘jetpack.deregis…’)
    #2 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack.php(2573): Jetpack::disconnect(false)
    #3 /var/www/hmseb.com/wp-includes/plugin.php(524): Jetpack::plugin_deactivation(false)
    #4 /var/www/hmseb.com/wp-admin/includes/plugin.php(704): do_action(‘deactivate_jetp…’, false)
    #5 /var/www/hmseb.com/wp-admin/plugins.php(180): deactivate_plugins(‘jetpack/jetpack…’, false, false)
    #6 {main}
    thrown in /var/www/hmseb.com/wp-includes/class-IXR.php on line 264
    [14-Oct-2016 11:08:55 UTC] PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /var/www/hmseb.com/wp-includes/class-IXR.php:264
    Stack trace:
    #0 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php(57): IXR_Message->parse()
    #1 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack.php(2589): Jetpack_IXR_Client->query(‘jetpack.deregis…’)
    #2 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack.php(2573): Jetpack::disconnect(false)
    #3 /var/www/hmseb.com/wp-includes/plugin.php(524): Jetpack::plugin_deactivation(false)
    #4 /var/www/hmseb.com/wp-admin/includes/plugin.php(704): do_action(‘deactivate_jetp…’, false)
    #5 /var/www/hmseb.com/wp-admin/plugins.php(180): deactivate_plugins(‘jetpack/jetpack…’, false, false)
    #6 {main}
    thrown in /var/www/hmseb.com/wp-includes/class-IXR.php on line 264
    [14-Oct-2016 11:09:21 UTC] PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /var/www/hmseb.com/wp-includes/class-IXR.php:264
    Stack trace:
    #0 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php(57): IXR_Message->parse()
    #1 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack.php(2589): Jetpack_IXR_Client->query(‘jetpack.deregis…’)
    #2 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack.php(2573): Jetpack::disconnect(false)
    #3 /var/www/hmseb.com/wp-includes/plugin.php(524): Jetpack::plugin_deactivation(false)
    #4 /var/www/hmseb.com/wp-admin/includes/plugin.php(704): do_action(‘deactivate_jetp…’, false)
    #5 /var/www/hmseb.com/wp-admin/plugins.php(180): deactivate_plugins(‘jetpack/jetpack…’, false, false)
    #6 {main}
    thrown in /var/www/hmseb.com/wp-includes/class-IXR.php on line 264
    [14-Oct-2016 11:09:33 UTC] PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /var/www/hmseb.com/wp-includes/class-IXR.php:264
    Stack trace:
    #0 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php(57): IXR_Message->parse()
    #1 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-actions.php(142): Jetpack_IXR_Client->query(‘jetpack.syncAct…’, Array)
    #2 /var/www/hmseb.com/wp-includes/plugin.php(235): Jetpack_Sync_Actions::send_data(Array, ‘deflate-json-ar…’, 1476443373.2626, ‘full_sync’)
    #3 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(185): apply_filters(‘jetpack_sync_se…’, Array, ‘deflate-json-ar…’, 1476443373.2626, ‘full_sync’)
    #4 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(82): Jetpack_Sync_Sender->do_sync_for_queue(Object(Jetpack_Sync_Queue))
    #5 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(60): Jetpack_Sync_Sender->do_sync_and_set_delays(Object(Jetpack_Sync_Queue))
    #6 in /var/www/hmseb.com/wp-includes/class-IXR.php on line 264

    Stack trace:
    #0 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php(57): IXR_Message->parse()
    #1 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-actions.php(142): Jetpack_IXR_Client->query(‘jetpack.syncAct…’, Array)
    #2 /var/www/hmseb.com/wp-includes/plugin.php(235): Jetpack_Sync_Actions::send_data(Array, ‘deflate-json-ar…’, 1476443440.5541, ‘sync’)
    #3 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(185): apply_filters(‘jetpack_sync_se…’, Array, ‘deflate-json-ar…’, 1476443440.5541, ‘sync’)
    #4 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(82): Jetpack_Sync_Sender->do_sync_for_queue(Object(Jetpack_Sync_Queue))
    #5 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(64): Jetpack_Sync_Sender->do_sync_and_set_delays(Object(Jetpack_Sync_Queue))
    #6 /var/www/ in /var/www/hmseb.com/wp-includes/class-IXR.php on line 264

    Stack trace:
    #0 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php(57): IXR_Message->parse()
    #1 /var/www/hmseb.com/wp-content/plugins/jetpack/modules/monitor.php(129): Jetpack_IXR_Client->query(‘jetpack.monitor…’)
    #2 /var/www/hmseb.com/wp-content/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php(2042): Jetpack_Monitor->user_receives_notifications(false)
    #3 /var/www/hmseb.com/wp-content/plugins/jetpack/_inc/lib/class.core-rest-api-endpoints.php(1853): Jetpack_Core_Json_Api_Endpoints::get_remote_value(‘monitor’, ‘monitor_receive…’)
    #4 /var/www/hmseb.com/wp-content/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php(170): Jetpack_Core_Json_Api_Endpoints::prepare_options_for_response(‘monitor’)
    #5 /var/www/hmseb.com/wp-content/plugins/jetpack/_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php(151): Jetpack_Core_API_Module_List_ in /var/www/hmseb.com/wp-includes/class-IXR.php on line 264
    [14-Oct-2016 11:11:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /var/www/hmseb.com/wp-includes/class-IXR.php:264
    Stack trace:
    #0 /var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-ixr-client.php(57): IXR_Message->parse()
    #1 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-actions.php(142): Jetpack_IXR_Client->query(‘jetpack.syncAct…’, Array)
    #2 /var/www/hmseb.com/wp-includes/plugin.php(235): Jetpack_Sync_Actions::send_data(Array, ‘deflate-json-ar…’, 1476443502.889, ‘full_sync’)
    #3 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(185): apply_filters(‘jetpack_sync_se…’, Array, ‘deflate-json-ar…’, 1476443502.889, ‘full_sync’)
    #4 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(82): Jetpack_Sync_Sender->do_sync_for_queue(Object(Jetpack_Sync_Queue))
    #5 /var/www/hmseb.com/wp-content/plugins/jetpack/sync/class.jetpack-sync-sender.php(60): Jetpack_Sync_Sender->do_sync_and_set_delays(Object(Jetpack_Sync_Queue))
    #6 / in /var/www/hmseb.com/wp-includes/class-IXR.php on line 264

    [14-Oct-2016 11:12:50 UTC] PHP Warning: require_once(/var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-data.php): failed to open stream: No such file or directory in /var/www/hmseb.com/wp-content/plugins/jetpack/jetpack.php on line 49
    [14-Oct-2016 11:12:50 UTC] PHP Fatal error: require_once(): Failed opening required ‘/var/www/hmseb.com/wp-content/plugins/jetpack/class.jetpack-data.php’ (include_path=’.:/usr/share/php’) in /var/www/hmseb.com/wp-content/plugins/jetpack/jetpack.php on line 49

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    There are quite a few errors in there.

    The first important one is this one:
    [14-Oct-2016 11:06:13 UTC] PHP Fatal error: Uncaught Error: Call to undefined function xml_parser_create()

    It would seem that the version of PHP installed on your server misses the XML extension. Could you ask your hosting provider to install it, and then give Jetpack another try?

    Let me know how it goes.

    Thread Starter hmseb

    (@hmseb)

    I wonder why this would be the case, since I have 2 identical servers, one works with jetpack, the other doesn’t…

    • This reply was modified 8 years, 4 months ago by hmseb.
    Thread Starter hmseb

    (@hmseb)

    For some reason, the xml was missing on this site.

    Everything works fine now, I’ve reconnected jetpack!

    Thanks

    • This reply was modified 8 years, 4 months ago by hmseb.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Blank page on Jetpack’ is closed to new replies.