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

  • Resolved wootechno


    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/ Stack trace: #0 /var/www/ Jetpack_Network->do_subsiteregister() #1 /var/www/ Jetpack_Network->jetpack_sites_list(”) #2 /var/www/ WP_Hook->apply_filters(NULL, Array) #3 /var/www/ WP_Hook->do_action(Array) #4 /var/www/ do_action(‘admin_init’) #5 /var/www/ require_once(‘/var/www/domain…’) #6 {main} thrown in /var/www/ on line 461

    What should I do ?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support 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:

    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 and the subdomain is 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


    Hi there,

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

    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:

    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.


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