Support » Plugin: Jetpack by WordPress.com » Fatal Error When Try to Connect Jetpack

  • Resolved wootechno

    (@wootechno)


    Hello,
    I want to use Jetpack Premium for my multisite website, and I want to try first by connecting Free package. I am able to connect my main domain but I can’t connect my subdomain. The Browser says :

    When I set WP DEBUG to true, it says :
    Fatal error: Uncaught Error: Cannot use object of type WP_Site as array in /var/www/domain.com/public_html/wp-content/plugins/jetpack/class.jetpack-network.php:461 Stack trace: #0 /var/www/domain.com/public_html/wp-content/plugins/jetpack/class.jetpack-network.php(327): Jetpack_Network->do_subsiteregister() #1 /var/www/domain.com/public_html/wp-includes/class-wp-hook.php(286): Jetpack_Network->jetpack_sites_list(”) #2 /var/www/domain.com/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #3 /var/www/domain.com/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 /var/www/domain.com/public_html/wp-admin/admin.php(169): do_action(‘admin_init’) #5 /var/www/domain.com/public_html/wp-admin/network/admin.php(13): require_once(‘/var/www/domain…’) #6 {main} thrown in /var/www/domain.com/public_html/wp-content/plugins/jetpack/class.jetpack-network.php on line 461

    What should I do ?

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support darnelldibbles

    (@darnelldibbles)

    Hi there,

    What is the domain URL?

    As a first step to troubleshoot the issue, can you please try deactivating and deleting Jetpack entirely, and then trying to reinstall it?

    To remove Jetpack, you can FTP into your site and delete the folder wp-content/plugins/jetpack. (If you’re not sure how to do this, ask your hosting company for help.)

    After that’s done, you can reinstall Jetpack by following these instructions:
    http://jetpack.me/support/installing-jetpack/

    If that does not do the trick, can you tell me what other plugins you have activated. There definitely could be some conflict going on with another plugin you have installed.

    Hello Darnel,
    my website is imamsyafii.or.id and the subdomain is ksa.imamsyafii.or.id. I install WP on AWS with NGINX as the web server. I activated Jetpack in the network, and in the network administrator page I try to connect but failed

    Plugin Support darnelldibbles

    (@darnelldibbles)

    Hi there,

    Thank you for the domains. I debugged your site here and received several errors:

    https://jetpack.com/support/debug/

    The error we received is that the XML-RPC is not responding correctly ( 403 )

    While your site is publicly accessible, we cannot access your site’s XML-RPC file. This file is used by Jetpack and other plugins and apps to connect to your site. It must return the following message:

    XML-RPC server accepts POST requests only.

    You can see a working example here:

    https://jetpack.com/xmlrpc.php

    Can you ask your hosting provider if they have a block in place to stop access to the XMLRPC file, or to API Calls and ask them to disable this security measure temporarily?

    These errors can also happen if there is a plugin/theme that conflicts with XML-RPC. Therefore, I would try deactivating all the plugins on your self-hosted site to see whether or not that fixes the issue.

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error When Try to Connect Jetpack’ is closed to new replies.