Title: Errors on 404 page
Last modified: August 30, 2016

---

# Errors on 404 page

 *  Resolved [prunly](https://wordpress.org/support/users/prunly/)
 * (@prunly)
 * [11 years ago](https://wordpress.org/support/topic/errors-on-404-page/)
 * Hi there,
 * I really like this theme. It is perfect for a project I am working on. The only
   problem I have had is with the 404 page. There are a lot of PHP errors being 
   generated as follows:
 * > Notice: Trying to get property of non-object in /path/to/site/wp-content/themes/
   > sento/admin/main/options/01.general-settings.php on line 78
 * > Notice: Undefined variable: _thinkup_meta_slider in /path/to/site/wp-content/
   > themes/sento/admin/main/options/02.homepage.php on line 31
   >  class=”error404
   > logged-in custom-background layout-responsive layout-wide pre-header-style2
   > header-style2″>
 * > Fatal error: Call to undefined function thinkup_input_404content() in /path/
   > to/site/wp-content/themes/sento/404.php on line 10
 * At this point I removed the call to the undefined function in my child themes
   404.php page to solve the fatal error. Then I got the following in the footer
   of the page:
 * > Notice: Trying to get property of non-object in /path/to/site/wp-content/themes/
   > sento/admin/main/options/01.general-settings.php on line 216
 * > Notice: Trying to get property of non-object in /path/to/site/wp-content/themes/
   > sento/admin/main/options/01.general-settings.php on line 641
 * This is a fresh WP install with WP_DEBUG set to true. All plugins are up to date.

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

 *  Theme Author [ThinkUpThemes](https://wordpress.org/support/users/thinkupthemes/)
 * (@thinkupthemes)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/errors-on-404-page/#post-6226954)
 * Hi Prunly,
 * This sounds like there may have been an issue in installing the theme. Please
   can you delete the theme and then re-install.
 * If this doesn’t work please do let us know.
 * Thanks!
 *  Thread Starter [prunly](https://wordpress.org/support/users/prunly/)
 * (@prunly)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/errors-on-404-page/#post-6226956)
 * Hi ThinkUpThemes,
 * Thank you for your response. A fresh install of the theme did not fix the problem.
 * Turning off debug hides the PHP notices of course but the Fatal error is down
   to a function that either does not exist or is not being called correctly. Maybe
   a typo or something?
 * > Fatal error: Call to undefined function thinkup_input_404content() in /path/
   > to/my/website/wp-content/themes/sento/404.php on line 10
 * Actually, I just had a look at you official demo and you can see it there too.
   
   [http://demo.thinkupcloud.com/sento-free/not_a_page/](http://demo.thinkupcloud.com/sento-free/not_a_page/)
 *  Theme Author [ThinkUpThemes](https://wordpress.org/support/users/thinkupthemes/)
 * (@thinkupthemes)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/errors-on-404-page/#post-6226957)
 * Hi Prunly,
 * Thanks. It looks like a file is not being called in corrrectly. The issue has
   now been resolved on the demo site. The next theme update will fix this issue.
   In the meantime please can you add the following code to your functions.php file:
 * `require_once( get_template_directory() . '/admin/main/options/08.special-pages.
   php' );`
 * Ordinarily we’d ask you to add this via a child theme. however, given that this
   line will be added to the next update please instead add it to functions.php 
   file in the the core theme folder.
 * This should resolve your issue. When the next update is released this issue will
   be resolved within the theme itself so you won’t need to redo this step again.
 * If you experience any issues please do let us know.
 * Thanks!
 *  Thread Starter [prunly](https://wordpress.org/support/users/prunly/)
 * (@prunly)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/errors-on-404-page/#post-6226958)
 * Thanks ThinkUpThemes. This resolved it. Great theme and nice support!
 *  Theme Author [ThinkUpThemes](https://wordpress.org/support/users/thinkupthemes/)
 * (@thinkupthemes)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/errors-on-404-page/#post-6226959)
 * No worries! Glad I was able to help!
 * If you get a chance we’d absolutely love for you to leave a review for Sento.
   Don’t worry if you don’t get a chance, we know how busy it can get when building
   a new site. 🙂
 * If you have anymore questions let us know!
 *  [gillanwilliams](https://wordpress.org/support/users/gillanwilliams/)
 * (@gillanwilliams)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/errors-on-404-page/#post-6227007)
 * Hi, I’m using the same theme and am not able to link to the blog either
 * [http://www.futurecapabilities.com/category/news/](http://www.futurecapabilities.com/category/news/)
 * Is there any way to resolve this?
 *  Thread Starter [prunly](https://wordpress.org/support/users/prunly/)
 * (@prunly)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/errors-on-404-page/#post-6227008)
 * Hi gillianwilliams, this thread has been marked resolved. Please open a new thread
   for your problem. Thanks!

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

The topic ‘Errors on 404 page’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sento/1.8.4/screenshot.png)
 * Sento
 * [Support Threads](https://wordpress.org/support/theme/sento/)
 * [Active Topics](https://wordpress.org/support/theme/sento/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sento/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sento/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [prunly](https://wordpress.org/support/users/prunly/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/errors-on-404-page/#post-6227008)
 * Status: resolved