• Resolved sanarchivist

    (@sanarchivist)


    I’ve installed, uninstalled, and reinstalled (manually and through the CMS) Tracks on my sub-site (https://library.tmc.edu/tmclibrary100/), and the posts do not appear on the front page. I looked at the source code and it just stops at line 58:
    <div id="main" class="main" role="main">
    <div class="post publish author-syates post-207 format-standard category-uncategorized post_tag-featured excerpt odd excerpt-1">

    This might’ve occurred when I was trying to create a child theme.

    Things I haven’t done yet because I need to consult the IT department:
    Restart the server
    Update WordPress to 4.0
    Reinstall wordpress

    I’m hoping you’ve seen this problem before, and . I would really like to use this theme, but unfortunately I can’t spend a lot of time troubleshooting.

    Note: Tracks works great in my testing space.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Tracks!

    The first thing to try is deactivating all plugins on the site temporarily. You can bulk deactivate them from the Plugins menu, and see if this fixes the issue. If it does, you just need to reactivate them until you find which plugin is causing the issue.

    If this doesn’t work, you can install this plugin on your site and it will display all recent PHP errors in your Dashboard. If you copy and paste that info here, it will help me find the cause of the issue.

    Thread Starter sanarchivist

    (@sanarchivist)

    Hi Ben. Thanks for getting back to me. I deactivated the plugins, and the problem still persists. This is a sub-site on the main library site and the debug.log file is full of main library errors, which might or might not be effecting the Tracks site. Two errors were listed for Tracks:

    [20-Oct-2014 15:10:58 UTC] PHP Fatal error: Call to undefined function get_the_permalink() in /var/www/wp-content/themes/tracks/content.php on line 89
    [20-Oct-2014 15:11:02 UTC] PHP Fatal error: Call to undefined function get_the_permalink() in /var/www/wp-content/themes/tracks/content.php on line 89

    I imported the content from my test site using WordPress Importer.

    I’m wondering if I should just start fresh outside the multi-site wordpress.

    Theme Author Ben Sibley

    (@bensibley)

    That’s very helpful, thank you!

    In the Tracks folder on your server, can locate the content.php file and change get_the_permlink() on line 89 to get_permalink()? I am fairly certain this will fix the issue.

    Thread Starter sanarchivist

    (@sanarchivist)

    Yes! It did fix it. I knew it must’ve been some little syntax error gumming up everything. Thank you!

    Theme Author Ben Sibley

    (@bensibley)

    You’re welcome!

    I’ve included the same fix in version 1.30.1 of Tracks, so when that’s available you can safely update without the error coming back.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Home page does not generate posts’ is closed to new replies.