• Resolved prunly

    (@prunly)


    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

    (@thinkupthemes)

    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

    (@prunly)

    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.
    https://demo.thinkupcloud.com/sento-free/not_a_page/

    Theme Author ThinkUpThemes

    (@thinkupthemes)

    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

    (@prunly)

    Thanks ThinkUpThemes. This resolved it. Great theme and nice support!

    Theme Author ThinkUpThemes

    (@thinkupthemes)

    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!

    Hi, I’m using the same theme and am not able to link to the blog either

    https://www.futurecapabilities.com/category/news/

    Is there any way to resolve this?

    Thread Starter prunly

    (@prunly)

    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.