Support » Plugin: Jetpack by WordPress.com » PHP Notice: Trying to get property of non-object

  • Resolved sergialarconrecio

    (@sergialarconrecio)


    Plugin version: 6.4

    [08-Aug-2018 12:35:38 UTC] PHP Notice: Trying to get property of non-object in /home/sainformaticacom/public_html/wp-content/plugins/jetpack/modules/widget-visibility/widget-conditions.php on line 751
    [08-Aug-2018 12:35:38 UTC] PHP Stack trace:
    [08-Aug-2018 12:35:38 UTC] PHP 1. {main}() /home/sainformaticacom/public_html/index.php:0
    [08-Aug-2018 12:35:38 UTC] PHP 2. require() /home/sainformaticacom/public_html/index.php:17
    [08-Aug-2018 12:35:38 UTC] PHP 3. require_once() /home/sainformaticacom/public_html/wp-blog-header.php:13
    [08-Aug-2018 12:35:38 UTC] PHP 4. require_once() /home/sainformaticacom/public_html/wp-load.php:37
    [08-Aug-2018 12:35:38 UTC] PHP 5. require_once() /home/sainformaticacom/public_html/wp-config.php:112
    [08-Aug-2018 12:35:38 UTC] PHP 6. do_action() /home/sainformaticacom/public_html/wp-settings.php:471
    [08-Aug-2018 12:35:38 UTC] PHP 7. WP_Hook->do_action() /home/sainformaticacom/public_html/wp-includes/plugin.php:453
    [08-Aug-2018 12:35:38 UTC] PHP 8. WP_Hook->apply_filters() /home/sainformaticacom/public_html/wp-includes/class-wp-hook.php:310
    [08-Aug-2018 12:35:38 UTC] PHP 9. Jetpack::upgrade_on_load() /home/sainformaticacom/public_html/wp-includes/class-wp-hook.php:286
    [08-Aug-2018 12:35:38 UTC] PHP 10. Jetpack_Widget_Conditions::migrate_post_type_rules() /home/sainformaticacom/public_html/wp-content/plugins/jetpack/class.jetpack.php:421
    [08-Aug-2018 12:35:38 UTC] PHP Warning: Invalid argument supplied for foreach() in /home/sainformaticacom/public_html/wp-content/plugins/jetpack/modules/widget-visibility/widget-conditions.php on line 754
    [08-Aug-2018 12:35:38 UTC] PHP Stack trace:
    [08-Aug-2018 12:35:38 UTC] PHP 1. {main}() /home/sainformaticacom/public_html/index.php:0
    [08-Aug-2018 12:35:38 UTC] PHP 2. require() /home/sainformaticacom/public_html/index.php:17
    [08-Aug-2018 12:35:38 UTC] PHP 3. require_once() /home/sainformaticacom/public_html/wp-blog-header.php:13
    [08-Aug-2018 12:35:38 UTC] PHP 4. require_once() /home/sainformaticacom/public_html/wp-load.php:37
    [08-Aug-2018 12:35:38 UTC] PHP 5. require_once() /home/sainformaticacom/public_html/wp-config.php:112
    [08-Aug-2018 12:35:38 UTC] PHP 6. do_action() /home/sainformaticacom/public_html/wp-settings.php:471
    [08-Aug-2018 12:35:38 UTC] PHP 7. WP_Hook->do_action() /home/sainformaticacom/public_html/wp-includes/plugin.php:453
    [08-Aug-2018 12:35:38 UTC] PHP 8. WP_Hook->apply_filters() /home/sainformaticacom/public_html/wp-includes/class-wp-hook.php:310
    [08-Aug-2018 12:35:38 UTC] PHP 9. Jetpack::upgrade_on_load() /home/sainformaticacom/public_html/wp-includes/class-wp-hook.php:286
    [08-Aug-2018 12:35:38 UTC] PHP 10. Jetpack_Widget_Conditions::migrate_post_type_rules() /home/sainformaticacom/public_html/wp-content/plugins/jetpack/class.jetpack.php:421
    [08-Aug-2018 12:35:38 UTC] PHP Notice: Trying to get property of non-object in /home/sainformaticacom/public_html/wp-content/plugins/jetpack/modules/widget-visibility/widget-conditions.php on line 790
    [08-Aug-2018 12:35:38 UTC] PHP Stack trace:
    [08-Aug-2018 12:35:38 UTC] PHP 1. {main}() /home/sainformaticacom/public_html/index.php:0
    [08-Aug-2018 12:35:38 UTC] PHP 2. require() /home/sainformaticacom/public_html/index.php:17
    [08-Aug-2018 12:35:38 UTC] PHP 3. require_once() /home/sainformaticacom/public_html/wp-blog-header.php:13
    [08-Aug-2018 12:35:38 UTC] PHP 4. require_once() /home/sainformaticacom/public_html/wp-load.php:37
    [08-Aug-2018 12:35:38 UTC] PHP 5. require_once() /home/sainformaticacom/public_html/wp-config.php:112
    [08-Aug-2018 12:35:38 UTC] PHP 6. do_action() /home/sainformaticacom/public_html/wp-settings.php:471
    [08-Aug-2018 12:35:38 UTC] PHP 7. WP_Hook->do_action() /home/sainformaticacom/public_html/wp-includes/plugin.php:453
    [08-Aug-2018 12:35:38 UTC] PHP 8. WP_Hook->apply_filters() /home/sainformaticacom/public_html/wp-includes/class-wp-hook.php:310
    [08-Aug-2018 12:35:38 UTC] PHP 9. Jetpack::upgrade_on_load() /home/sainformaticacom/public_html/wp-includes/class-wp-hook.php:286
    [08-Aug-2018 12:35:38 UTC] PHP 10. Jetpack_Widget_Conditions::migrate_post_type_rules() /home/sainformaticacom/public_html/wp-content/plugins/jetpack/class.jetpack.php:421

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Stef

    (@erania-pinnera)

    Hi there,

    Thanks for reporting this, and sorry for the trouble!

    Do you know when this error started happening? Have you updates the Jetpack plugin again? The 6.4.1 is out and contains a fix for a recent bug we discover 🙂

    Can you please use Jetpack’s Debugger module to send us some more information about your site?
     

    1. Go to the Jetpack page in your dashboard.
    2. Click on the Debug link appearing at the bottom of the page.
    3. Click the link that says “click here to contact Jetpack support.”
    4. Fill in the description box and your name and email address.
    5. Click the “Contact Support” button to send us the debug results privately. It’s best not to post this information on public forums, as it contains private details about your site.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Notice: Trying to get property of non-object’ is closed to new replies.