WordPress.org

Ready to get started?Download WordPress

Forums

Upgrading to 5.3.8 php messes things up? (17 posts)

  1. techartist
    Member
    Posted 1 year ago #

    I recently upgraded my php version from 5.2.5 to 5.3.8 and now my wordpress is all messed up.

    1. My main main only shows one blog post instead of 4.
    2. The posts themselves seem to be cut off. (FIrst paragraphs are missing)
    3. The title of the post does not match the post content.

    Help.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    What happens if you switch to the default 2012 theme?

  3. techartist
    Member
    Posted 1 year ago #

  4. Any error or warning messages?

    There could be a zillion reasons why what you mention is happening. We need to narrow it down much more than that.

    Turn your php debugging on... and post the error messages. If there are way too many, consider using pastebin.com, then post the link here.

  5. techartist
    Member
    Posted 1 year ago #

    Nothing, when I switch to the default theme, the same wrong stuff shows up, though the preview in the new style shows correctly.

  6. techartist
    Member
    Posted 1 year ago #

    @Josh, no error or warning messages show up. How do you turn on php debugging?

  7. Well, as esmi was suggesting... the first thing to do would be to deactivate ALL plugins... switch to the default twentytwelve theme... and manually empty your browser cache.

    So, we would be testing a "vanilla" installation... with no additional scripts running.

    If it is working properly at that point... then you know the conflict is coming from either your theme, or from another plugin (or multiple plugins).

    But first, let's see if it works with just twentytwelve and no plugins activated.

  8. techartist
    Member
    Posted 1 year ago #

    OK, I disabled all the plugins and put the theme back to classic and the problem went away. I will activate one thing at a time and see what is messing things up.

  9. techartist
    Member
    Posted 1 year ago #

    @Josh, it was working with 2012 after removing all plugins.

    Then I was reactivating one plug in at a time and thought I found the culprit. However, now it is hanging on to the problem and I can't change it back, even after deactivating the plugins again.

  10. techartist
    Member
    Posted 1 year ago #

    The blog is still cutting off posts when you click on the individual topic.

  11. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    The blog is still cutting off posts when you click on the individual topic.

    It looks OK now. Clear cache and try again, use a different browser/ computer.

  12. techartist
    Member
    Posted 1 year ago #

    The blog is still cutting off posts when you click on individual topics. It's not fixed.

  13. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    It is not cutting off, I think, but are you using excerpts? Can you go to Screen Options (at the top) of any post and see if you have opted for excerpts?

  14. techartist
    Member
    Posted 1 year ago #

    I am not opting for excerpts. It is definitely cutting off the top of the post.

  15. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Can you revert to Twenty Eleven and see if the problem persists?

  16. She has contacted me. I'm going to hop in there and see what's going on. I will post back here... especially if I feel it's an issue with vanilla WP and PHP 5.3.8 (which is unlikely).

  17. techartist
    Member
    Posted 1 year ago #

    I hired someone to fix the problem and this was their diagnoses:

    The theme you are using has hard-coded calls to plugins inside of it (now it's fixed and it checks if the functions are available before calling them). When you updated your PHP version, some plugins didn't function properly, so you had to disable them which broke up the theme you are using.

    Also the theme is using deprecated functions of WordPress and you will probably have to change it (the theme) soon. For the moment, these functions are still supported by WordPress/PHP but in the future they may drop support for these functions.

    I would recommend not updating WordPress or PHP by yourself for the moment. The problem with not updating is security vulnerabilities. Two major vulnerabilities have been found in WordPress' plugins like W3 Total Cache last week and in this case, an update is mandatory.

    Check this link for more info : http://www.acunetix.com/blog/web-security-zone/wp-plugins-remote-code-execution/

Topic Closed

This topic has been closed to new replies.

About this Topic