WordPress.org

Ready to get started?Download WordPress

Forums

Numeric request keys are invalid When Clicking 'Next Page' (5 posts)

  1. andymacdonalduk
    Member
    Posted 4 years ago #

    Hey Guys,

    Having a really difficult time with an error thats started appearing on my site over the last few weeks. When people are clicking the 'next and previous' page links at the bottom of the home page, instead of going to the next page, people are being greeted with a message which simple says "Numeric request keys are invalid."

    I originally thought this might have been a WP PageNavi issue, so went ahead and swapped out the PageNavi code for WordPress' standard "<?php posts_nav_link(); ?>" but its still happening.

    I don't think i have made any changes to my blog in the last few weeks which could have caused this. The only thing i have done is created a user forum (SMF) which is running at cherylanncole.co.uk/forums - a totally separate directory to my WP installation.

    Could anybody give me any advice on where i should be looking to try and fix this please? Ive done a search of the forums, and google and cannot find the source of the problem.

    Any help will be very much appreciated. My website is http://www.cherylanncole.co.uk and is running the latest version of WordPress.

    With regards,
    Andrew MacDonald

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-related problems?

  3. andymacdonalduk
    Member
    Posted 4 years ago #

    OK I did what you said, and it turns out its nothing to do with any plugins.

    WHen i swapped the theme out for the default, that fixed the problem, soooooo.... where should i be looking in my theme for the problem???

    I know all of my theme files pretty well, but what do you think i should be looking at specifically for the problem? Any idea at all?

  4. andymacdonalduk
    Member
    Posted 4 years ago #

    OK I found the problem.

    I am using a feature of SMF to import the latest posts in my forum onto my WordPress home page.

    Im using this line: <?php require("/home/ccole/public_html/forums/SSI.php"); ?>

    I know this isnt a SMF support forum, but would you have any idea what exactly could be causing this?

  5. esmi
    Forum Moderator
    Posted 4 years ago #

    No idea but you might want to change the require for an include. That way the page won't fall over with a fatal error if SSI.php isn't available. Other than that, you might want to look for some sort of variable conflict - ie SSI.php using variable names that are normally reserved by WordPress ($post etc).

Topic Closed

This topic has been closed to new replies.

About this Topic