• jantorep

    (@jantorep)


    Hello

    Im having issues after updating to the latest wordpress version wich is hosted in Azure. The image is the Azure Marketplace web app solution.

    I have tried to google this but im no wordpress expert, so have no clue how to fix this.

    Notice: Trying to get property ‘post_status’ of non-object in D:\home\site\wwwroot\wp-admin\includes\template.php on line 2121

    Notice: Trying to get property ‘post_status’ of non-object in D:\home\site\wwwroot\wp-admin\includes\template.php on line 2125

    Notice: Trying to get property ‘post_status’ of non-object in D:\home\site\wwwroot\wp-admin\includes\template.php on line 2131

    Notice: Trying to get property ‘post_status’ of non-object in D:\home\site\wwwroot\wp-admin\includes\template.php on line 2135

    Notice: Trying to get property ‘ID’ of non-object in D:\home\site\wwwroot\wp-admin\includes\template.php on line 2139

    Notice: Trying to get property ‘post_status’ of non-object in D:\home\site\wwwroot\wp-admin\includes\template.php on line 2143

    Notice: Trying to get property ‘ID’ of non-object in D:\home\site\wwwroot\wp-admin\includes\template.php on line 2157

    Regards
    Jan-Tore

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    Try MANUALLY updating. Download WordPress again and unzip it, and use that to copy up. 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), and delete then replace your copies of everything on the server EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. (NOTE: do not delete the wp-content directory or your wp-config.php file). Please read the Manual Update directions first.

    Backup: If you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong. You can never have enough backups! See https://wordpress.org/support/article/wordpress-backups/

    Thread Starter jantorep

    (@jantorep)

    Thanks

    Someone said it might be the theme im using. But it’s a wordpress one. But i will try and do a reinstall and see what happens.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Azure WordPress issues Trying to get property’ is closed to new replies.