Title: Creating default object from empty value
Last modified: October 5, 2022

---

# Creating default object from empty value

 *  Resolved [fluoo](https://wordpress.org/support/users/fluoo/)
 * (@fluoo)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/)
 * Hello,
 * Since today when I launch wp-cron.php I have the error :
    PHP Warning: Creating
   default object from empty value in wp-content/plugins/jetpack/modules/publicize.
   php on line 99
 * Someone have an idea ?

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/page/2/?output_format=md)

 *  [bfw6a](https://wordpress.org/support/users/bfw6a/)
 * (@bfw6a)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16071683)
 * I’m having a similar problem. This is the error I’m getting:
 * PHP Fatal error: Uncaught Error: Attempt to assign property “in_jetpack” on null
   in /wp-content/plugins/jetpack/modules/publicize.php:99
    - Multisite install. Some subsites working fine, others throwing that error 
      message.
    - Jetpack version 11.4
 *  [Bruce (a11n)](https://wordpress.org/support/users/bruceallen/)
 * (@bruceallen)
 * Happiness Engineer
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16072389)
 * [@fluoo](https://wordpress.org/support/users/fluoo/) and [@bfw6a](https://wordpress.org/support/users/bfw6a/)
 * Could you please post your site URL here so that we can have a look?
 * If you want it to remain private, you can also contact us [via this contact form](https://jetpack.com/contact-support/?rel=support&hpi=1).
   If you choose to reach out directly, please include a link to this thread.
 * Thanks!
 *  [bfw6a](https://wordpress.org/support/users/bfw6a/)
 * (@bfw6a)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16072397)
 * Thanks [@bruceallen](https://wordpress.org/support/users/bruceallen/)! I’ve downgraded
   to 11.4 a.7, which resolved the issue but means that you won’t be able to see
   the behavior, which was simply the “There has been a critical error on this website”
   error message on any page of the affected subsites. The underlying error message
   from my site logs is what I posted previously. Would it still be useful to have
   our site URL?
 * Thanks again for your help!
 *  Plugin Support [lastsplash (a11n)](https://wordpress.org/support/users/lastsplash/)
 * (@lastsplash)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16072503)
 * Hi [@bfw6a](https://wordpress.org/support/users/bfw6a/) –
 * Yes, if you could share your URL that would allow us to look into this a bit 
   more.
 *  [bfw6a](https://wordpress.org/support/users/bfw6a/)
 * (@bfw6a)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16072511)
 * Thanks [@lastsplash](https://wordpress.org/support/users/lastsplash/)! So like
   I said, it’s a multisite and some subsites were working fine while others weren’t.
    - Example of a working site: aig.alumni.virginia.edu
    - Example of a non-working site: aig.alumni.virginia.edu/eli-banana
 * Thanks!
 *  Thread Starter [fluoo](https://wordpress.org/support/users/fluoo/)
 * (@fluoo)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16074237)
 * Hello,
 * My WordPress is also a multi site installation. Main url is : [https://blog-imprimerie-en-ligne.com/](https://blog-imprimerie-en-ligne.com/)
 * i have found error in my server log :
 *     ```
       [Thu Oct 06 10:09:25.125705 2022] [fcgid:warn] [pid 3144831:tid 139814489790208] [client 127.0.0.1:48812] mod_fcgid: stderr: PHP Warning:  Creating default object from empty value in /home/blogimp/www/wp-content/plugins/jetpack/modules/publicize.php on line 99, referer: https://blog-imprimerie-en-ligne.com/wp-json/jetpack/v4/sync/spawn-sync?time=1665043763&request_lock_id=1665043763.9232
       [Thu Oct 06 10:09:25.126123 2022] [fcgid:warn] [pid 3144831:tid 139814489790208] [client 127.0.0.1:48812] mod_fcgid: stderr: PHP Fatal error:  Uncaught Error: Call to a member function current_user_can_access_publicize_data() on null in /home/blogimp/www/wp-content/plugins/jetpack/modules/publicize.php:92, referer: https://blog-imprimerie-en-ligne.com/wp-json/jetpack/v4/sync/spawn-sync?time=1665043763&request_lock_id=1665043763.9232
       [Thu Oct 06 10:09:25.126140 2022] [fcgid:warn] [pid 3144831:tid 139814489790208] [client 127.0.0.1:48812] mod_fcgid: stderr: Stack trace:, referer: https://blog-imprimerie-en-ligne.com/wp-json/jetpack/v4/sync/spawn-sync?time=1665043763&request_lock_id=1665043763.9232
       [Thu Oct 06 10:09:25.126146 2022] [fcgid:warn] [pid 3144831:tid 139814489790208] [client 127.0.0.1:48812] mod_fcgid: stderr: #0 /home/blogimp/www/wp-includes/class-wp-hook.php(307): Jetpack_Publicize->{closure}(), referer: https://blog-imprimerie-en-ligne.com/wp-json/jetpack/v4/sync/spawn-sync?time=1665043763&request_lock_id=1665043763.9232
       [Thu Oct 06 10:09:25.126151 2022] [fcgid:warn] [pid 3144831:tid 139814489790208] [client 127.0.0.1:48812] mod_fcgid: stderr: #1 /home/blogimp/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(), referer: https://blog-imprimerie-en-ligne.com/wp-json/jetpack/v4/sync/spawn-sync?time=1665043763&request_lock_id=1665043763.9232
       [Thu Oct 06 10:09:25.126157 2022] [fcgid:warn] [pid 3144831:tid 139814489790208] [client 127.0.0.1:48812] mod_fcgid: stderr: #2 /home/blogimp/www/wp-includes/plugin.php(476): WP_Hook->do_action(), referer: https://blog-imprimerie-en-ligne.com/wp-json/jetpack/v4/sync/spawn-sync?time=1665043763&request_lock_id=1665043763.9232
       [Thu Oct 06 10:09:25.126181 2022] [fcgid:warn] [pid 3144831:tid 139814489790208] [client 127.0.0.1:48812] mod_fcgid: stderr: #3 /home/blogimp/www/wp-content/plugins/jetpack/class.jetpack-gutenberg.php(406): do_action(), referer: https://blog-imprimerie-en-ligne.com/wp-json/jetpack/v4/sync/spawn-sync?time=1665043763&request_lock_id=1665043763.9232
       [Thu Oct 06 10:09:25.126187 2022] [fcgid:warn] [pid 3144831:tid 139814489790208] [client 127.0.0.1:48812] mod_fcgid: stderr: #4 [internal function]: Jetpack_Gutenberg::get_availability(), referer: https://blog-imprimerie-en-ligne.com/wp-json/jetpack/v4/sync/spawn-sync?time=1665043763&request_lock_id=1665043763.9232
       [Thu Oct 06 10:09:25.126193 2022] [fcgid:warn] [pid 3144831:tid 139814489790208] [client 127.0.0.1:48812] mod_fcgid: stderr: #5 /home/blogimp/www/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php(235): call_user_func(), referer: https://blog-imprimerie-en-ligne.com/wp-json/jetpack/v4/sync/spawn-sync?time=1665043763&request_lock_id=1665043763.9232
       [Thu Oct 06 10:09:25.126198 2022] [fcgid:warn] [pid 3144831:tid 139814489790208] [client 127.0.0.1:48812] mod_fcgid: stderr: #6 [internal function]: Automattic\\Jetpack\\Sync\\Modules\\Callables->get_callable(), referer: https://blog-imprimerie-en-ligne.com/wp-json/jetpack/v4/sync/spawn-sync?time=1665043763&request_lock_id=1665043763.9232
       [Thu Oct 06 10:09:25.126204 2022] [fcgid:warn] [pid 3144831:tid 139814489790208] [client 127.0.0.1:48812] mod_fcgid: stderr: #7 /home/blogimp/www/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php(218): array_map(), referer: https://blog-imprimerie-en-ligne.com/wp-json/jetpack/v4/sync/spawn-sync?time=1665043763&request_lock_id=1665043763.9232
       [Thu Oct 06 10:09:25.126210 2022] [fcgid:warn] [pid 3144831:tid 139814489790208] [client 127.0.0.1:48812] mod_fcgid: stderr: #8 /home/blogimp/www/wp-content/plugins/jetpack/jetpack_vendor/automattic/jetpack-sync/sr in /home/blogimp/www/wp-content/plugins/jetpack/modules/publicize.php on line 92, referer: https://blog-imprimerie-en-ligne.com/wp-json/jetpack/v4/sync/spawn-sync?time=1665043763&request_lock_id=1665043763.9232
       ```
   
 * Regards
 *  Plugin Support [lastsplash (a11n)](https://wordpress.org/support/users/lastsplash/)
 * (@lastsplash)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16076499)
 * Thanks for providing additional information, we’re looking into this.
 *  [Bruce (a11n)](https://wordpress.org/support/users/bruceallen/)
 * (@bruceallen)
 * Happiness Engineer
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16079494)
 * Hi [@fluoo](https://wordpress.org/support/users/fluoo/) and [@bfw6a](https://wordpress.org/support/users/bfw6a/)
 * In chatting with the developers this is an issue they’re aware of and are working
   on. It’s not yet been determined whether there will be a point release to fix
   this, or if it will be in the next full version release of Jetpack.
 *  Plugin Support [Alba](https://wordpress.org/support/users/ctdealba/)
 * (@ctdealba)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16110054)
 * Hi there,
 * It has been more than one week since we have heard from you, so I’m marking this
   topic as resolved.
 * But if you have any further questions or need some more help, you’re welcome 
   to reply here or open another thread.
 * Best,
    Alba
 *  [Reüel](https://wordpress.org/support/users/pronamic_reuel/)
 * (@pronamic_reuel)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16111435)
 * [@ctdealba](https://wordpress.org/support/users/ctdealba/) you are closing the
   topic and it is now marked as ‘Resolved’, but I don’t see any plugin update to
   resolve the issue on our client websites? Are you sure the (fatal) errors in 
   this topic have been resolved? I used some temporary quick fix, but would be 
   good to have the errors fixed properly.
 * _I think we’re all waiting to hear from you, instead of the other way round…_
 *  [bfw6a](https://wordpress.org/support/users/bfw6a/)
 * (@bfw6a)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16114443)
 * Ditto [@pronamic_reuel](https://wordpress.org/support/users/pronamic_reuel/),
   this is not resolved [@ctdealba](https://wordpress.org/support/users/ctdealba/).
   The last we heard from [@bruceallen](https://wordpress.org/support/users/bruceallen/)
   is that this is with the developers, not with us. Please re-open!
 *  Plugin Support [Alba](https://wordpress.org/support/users/ctdealba/)
 * (@ctdealba)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16114455)
 * Hi [@pronamic_reuel](https://wordpress.org/support/users/pronamic_reuel/) and
   [@bfw6a](https://wordpress.org/support/users/bfw6a/)
 * The support thread has been re-opened.
 * Best,
    Alba
 *  [pauly33](https://wordpress.org/support/users/pauly33/)
 * (@pauly33)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16122949)
 * Yes, I am also seeing the same issue. Following this topic.
 *  [Grant McN](https://wordpress.org/support/users/grant-mcn/)
 * (@grant-mcn)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/#post-16138773)
 * Hello,
 * I am experiencing the same error, also on a multisite.
 *  [drbiskit](https://wordpress.org/support/users/richt99/)
 * (@richt99)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/page/2/#post-16139351)
 * I’m also experiencing this using v11.4. The site in question is just a standard
   single install (i.e. not multisite).
 * I have downgraded to v11.3.2 which works fine.
 * Will follow this thread for updates.

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/page/2/?output_format=md)

The topic ‘Creating default object from empty value’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

 * 22 replies
 * 10 participants
 * Last reply from: [lastsplash (a11n)](https://wordpress.org/support/users/lastsplash/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/creating-default-object-from-empty-value-20/page/2/#post-16293925)
 * Status: resolved