Title: PHP Notice: Undefined variable: post in functions.php
Last modified: September 1, 2016

---

# PHP Notice: Undefined variable: post in functions.php

 *  [gradyjenkinz](https://wordpress.org/support/users/gradyjenkinz/)
 * (@gradyjenkinz)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-post-in-functionsphp/)
 * My site was working correctly yesterday and then today I’m getting a white home
   page, and the error in the title is showing up in the error log along with
    “
   PHP Notice: Trying to get property of non-object” on the same line in functions.
   php. Can someone help me out? I’m incredibly lost

Viewing 1 replies (of 1 total)

 *  Thread Starter [gradyjenkinz](https://wordpress.org/support/users/gradyjenkinz/)
 * (@gradyjenkinz)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-post-in-functionsphp/#post-7595344)
 * As well as PHP Warning: mysqli_real_connect(): Headers and client library minor
   version mismatch. Headers:50547 Library:50630

Viewing 1 replies (of 1 total)

The topic ‘PHP Notice: Undefined variable: post in functions.php’ is closed to new
replies.

## Tags

 * [homepage](https://wordpress.org/support/topic-tag/homepage/)
 * [notice](https://wordpress.org/support/topic-tag/notice/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [gradyjenkinz](https://wordpress.org/support/users/gradyjenkinz/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/php-notice-undefined-variable-post-in-functionsphp/#post-7595344)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
