Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi! I had a look at the source code of one of the problematic posts and saw that effectively, there’s no HTML inside. Could you temporarily remove the tags for that post to see if the content appears?

    Also some extra questions: have you updated your theme or installed/updated plugins that could be related to the management of tags?

    Thread Starter vrpunk

    (@vrpunk)

    Hi,
    I removed the two tags: domaine maupertuis
    from the post
    https://blog.lescaves.co.uk/2021/11/01/spotlight-on-domaine-maupertuis/

    Nothing new, just a straight clone from one server to another.

    Regards
    Mark

    Thanks for the test!

    Maybe the PHP version in the new server is different now and there’s something in the way tags are rendered that is causing an error. Could you check the versions?

    Also, could you enable debugging? There’s information for that in this page. After that is enabled, add the tags to your post again and visit the page.

    Thread Starter vrpunk

    (@vrpunk)

    Current version is native s 7.4 (ea-php74 in cPanel).
    Not got access to older server so not sure what it was running.

    Debug mode enabled
    Added tag back to post
    https://blog.lescaves.co.uk/2021/11/01/spotlight-on-domaine-maupertuis/

    Not displaying

    Regards
    Mark

    If the debug mode is working fine, that means that the page is not generating code errors. Can you check if there’s a file called debug.log inside /wp-content/. I imagine that it won’t be there, because the page is not throwing errors… but just in case.

    Also, in this post there are other things you could try that I think are related to your problem.

    Thread Starter vrpunk

    (@vrpunk)

    Yes it has debug.log, I have copied it and uploaded it to https://lescaves.co.uk/debug.txt

    Regards
    Mark

    Oh, nice! I see a fatal error that could be related (it happens inside the head.php file, so that could explain why nothing gets rendered on your page):

    [01-Feb-2022 11:54:33 UTC] PHP Deprecated:  Non-static method thesis_head::build() should not be called statically in /home/xdvsvbw/blog/wp-content/themes/thesis_185/lib/html/frameworks.php on line 10
    [01-Feb-2022 11:54:33 UTC] PHP Fatal error:  Uncaught Error: [] operator not supported for strings in /home/xdvsvbw/blog/wp-content/themes/thesis_185/lib/classes/head.php:161
    Stack trace:
    #0 /home/xdvsvbw/blog/wp-content/themes/thesis_185/lib/classes/head.php(12): thesis_head->meta()
    #1 /home/xdvsvbw/blog/wp-content/themes/thesis_185/lib/html/frameworks.php(10): thesis_head::build()
    #2 /home/xdvsvbw/blog/wp-content/themes/thesis_185/index.php(10): thesis_html_framework()
    #3 /home/xdvsvbw/blog/wp-includes/template-loader.php(106): include('/home/xdvsvbw/b...')
    #4 /home/xdvsvbw/blog/wp-blog-header.php(19): require_once('/home/xdvsvbw/b...')
    #5 /home/xdvsvbw/blog/index.php(17): require('/home/xdvsvbw/b...')
    #6 {main}
      thrown in /home/xdvsvbw/blog/wp-content/themes/thesis_185/lib/classes/head.php on line 161

    I think that it could be related to your thesis theme in combination with your current PHP version (but it’s just a guess). Would it be possible to switch themes to test this idea?

    Thread Starter vrpunk

    (@vrpunk)

    Yes we could try.
    Thesis says v1.8.5 Active.
    I have the three standard 2014,2015,2013 themes i could switch to one of them? Simply press ACTIVATE?

    Presume easy enough to go back to thesis?

    Regards
    Mark

    Thread Starter vrpunk

    (@vrpunk)

    Just a side test.
    I made the last post (Orange wines & tasting in 3D) not work by adding a TAG.

    I then went to themes and did a live preview, the standard themes showed it.
    I clicked customize on Thesis…which showed home page and clicked the post and it would not display it.

    That might help investigate problem

    regards
    Mark

    I then went to themes and did a live preview, the standard themes showed it.

    I’m not sure how precise is the live preview, but that could be a good indication that the problem was in the current theme.

    I have the three standard 2014,2015,2013 themes i could switch to one of them? Simply press ACTIVATE? Presume easy enough to go back to thesis?

    Generally yes, but before doing that I’d recommend you to do a backup to be extra safe: How To Safely Change Your WordPress Theme

    • This reply was modified 3 years, 1 month ago by Javier Arce.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Posts with TAGS are not displaying’ is closed to new replies.