Support » Fixing WordPress » Trying to get property ‘post_type’ of non-object

  • Resolved Naomi


    Hi everyone! My site is getting the White Screen of Death after deploying it from staging (on siteground) to live recently and found this error and am unsure how I can resolve this. 

    Notice: Trying to get property ‘post_type’ of non-object in /home/customer/www/ on line 666

    class=”-template -template-elementor_canvas single elementor-default elementor-template-canvas elementor-kit-10 elementor-page elementor-page-682 elementor-maintenance-mode”>

Viewing 1 replies (of 1 total)
  • Moderator James Huff


    Volunteer Moderator

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. Hopefully, this will force the default theme to activate and rule out a theme-specific issue (theme functions can interfere like plugins).

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