Forums

[resolved] Weird "Sorry, no posts matched your criteria" error (10 posts)

  1. RJHarris
    Member
    Posted 1 year ago #

    My WordPress install was working fine.

    Now I have a weird problem with my pages: http://www.mangumpartners.com

    If you click on the menu for a page, you get an error: "Sorry, no posts matched your criteria." http://www.mangumpartners.com/?page_id=6

    But in the dashboard there is definitely content in the page. If you click on the "View Page" clink in the dashboard, the error appears instead of the content. For some reason, published content is not showing up on the site.

    I am not using permalinks and all plugins are up to date.

    Can anyone please help?

  2. RJHarris
    Member
    Posted 1 year ago #

    When I try to access this page, http://www.mangumpartners.com/?page_id=52

    I get another error:
    You are here: Home \ Fatal error: Maximum execution time of 30 seconds exceeded in username/mangumpartners.com/wp-includes/formatting.php on line 80

  3. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you tried switching to the TwentyTen theme to rule out any theme-specific problems?

  4. RJHarris
    Member
    Posted 1 year ago #

    Wow. Good suggestion Esmi. When I switch to TwentyTen the content appears as normal. So it is a theme-specific problem. Can you help me troubleshoot? I'd so much appreciate your help.

  5. RJHarris
    Member
    Posted 1 year ago #

    Please can someone help? I don't mean to bump this message, but I'm getting desperate here!

  6. Mark / t31os
    Moderator
    Posted 1 year ago #

    It's most likely a function in the theme's functions.php file, testing procedures would be to remove 1 or 2 functions at a time and see when functionality returns. Once you've narrowed it down to a particular function, post the code into a pastebin and report the link back here.

    :)

  7. RJHarris
    Member
    Posted 1 year ago #

    Thank you Mark (sigh of relief) I will definitely give this a go and report back here. I've not heard from the theme designer yet... :(

  8. Mark / t31os
    Moderator
    Posted 1 year ago #

    If you can isolate the problem function i could write a fix for you.

    In any case, let us know if there's anything else we can do to help.. :)

  9. RJHarris
    Member
    Posted 1 year ago #

    Thank you Mark. I tracked down the problem to a bug in the Breadcrumbs function, thanks to your hint. Luckily the theme author had issued a fix, so I just needed to copy and paste. I truly appreciate your offer of help.

    Old code:
    http://wordpress.pastebin.com/0Ac4f7PY

    The fixed code is here.
    http://wordpress.pastebin.com/CDJYw3SG

  10. Mark / t31os
    Moderator
    Posted 1 year ago #

    You're welcome..

    Happy to hear it's working for you now, and thanks for posting up the fix.. ;)

Topic Closed

This topic has been closed to new replies.

About this Topic