Creating default object from empty value
-
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 99Someone have an idea ?
-
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
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. If you choose to reach out directly, please include a link to this thread.
Thanks!
Thanks @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!
Hi @bfw6a –
Yes, if you could share your URL that would allow us to look into this a bit more.
Thanks @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!
Hello,
My WordPress is also a multi site installation. Main url is : 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
Thanks for providing additional information, we’re looking into this.
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@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…
Ditto @pronamic_reuel, this is not resolved @ctdealba. The last we heard from @bruceallen is that this is with the developers, not with us. Please re-open!
Yes, I am also seeing the same issue. Following this topic.
Hello,
I am experiencing the same error, also on a multisite.
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.
- The topic ‘Creating default object from empty value’ is closed to new replies.