• Resolved wrxbuzz

    (@wrxbuzz)


    Hi Guys,

    I’m trying to find the problem to this wordpress pagination problem, when I press on page “2” I get a 404 page. I’ve already search Google for 2 hours and tried multiple patches and plugins that supposedly intended to fix this problem but they didn’t work for me.

    Any idea why this is happening??

    https://benronperfume.flywheelsites.com/?s=gucci <— Works fine

    https://benronperfume.flywheelsites.com/page/2/?s=gucci <— Produce a 404 PAGE NOT FOUND

    I use this custom query:

    $params = array(
    'posts_per_page' => 10,
    'post_limits' => 100,
    'post_type' => array('product'),
    'product_cat' => $_REQUEST["c"],
    'meta_query' => array(
    		array(
    		'key' => '_stock',
    		'value' => 3,
    		'compare' => '>',
    		'type' => 'NUMERIC'
    		)
    		,
    		array(
    			'key' => '_stock_status',
    			'value' => 'instock'
    		)
    	)
    );

    Any help will be greatly appreciated!

    –Tal

Viewing 1 replies (of 1 total)
  • Thread Starter wrxbuzz

    (@wrxbuzz)

    Self-Solved. Ok after reading the master list *grin* and disabling all plugins, the problem vanished. Now I have to figure out which plugin caused it.

Viewing 1 replies (of 1 total)
  • The topic ‘Search results pagination 404 error’ is closed to new replies.