Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author prettyboymp

    (@prettyboymp)

    Since this is your test server, are you able to define(‘WP_DEBUG’, true); in your wp-config.php or view the error_logs to provide some error output?

    Thread Starter bswen

    (@bswen)

    Here’s the error produced when attempting to click on or to another page in search results pagination (http://rhrealitycheck.wpengine.com/page/1410065407/?s=rick+perry):

    Fatal error: Uncaught exception 'CloudSearchAPIException' with message 'Start must be a positive integer' in /nas/wp/www/cluster-1455/rhrealitycheck/wp-content/plugins/lift-search/api/cloud-search.php:55 Stack trace: #0 /nas/wp/www/cluster-1455/rhrealitycheck/wp-content/plugins/lift-search/api/cloud-search.php(60): Cloud_Search_Query->__validate_start(14100654060) #1 /nas/wp/www/cluster-1455/rhrealitycheck/wp-content/plugins/lift-search/wp/lift-wp-search.php(109): Cloud_Search_Query->set_start(14100654060) #2 /nas/wp/www/cluster-1455/rhrealitycheck/wp-content/plugins/lift-search/wp/lift-wp-search.php(348): Lift_WP_Search::lift_search_query(Object(WP_Query)) #3 [internal function]: Lift_WP_Search::posts_results(NULL, Object(WP_Query)) #4 /nas/wp/www/cluster-1455/rhrealitycheck/wp-includes/plugin.php(230): call_user_func_array(Array, Array) #5 /nas/wp/www/cluster-1455/rhrealitycheck/wp-includes/query.php(2683): apply_filters_ref_array('posts_results', Array) #6 /nas/wp/www/cluster-1455/rhrealitycheck/wp-includes/query.php(2 in /nas/wp/www/cluster-1455/rhrealitycheck/wp-content/plugins/lift-search/api/cloud-search.php on line 55

    Thread Starter bswen

    (@bswen)

    $start is set to 14100654060 on line 55 of /api/cloud-search.php

    Thread Starter bswen

    (@bswen)

    If I replace 14100654060 in the query string with 2 or 3, the correct page appears…

    Seems that something, not sure what, is going wrong with the get_pagenum_link function to produce that number?

    Plugin Author prettyboymp

    (@prettyboymp)

    Have you been able to find what was changing the page number/ offset?

    Plugin Author Kevin Langley Jr.

    (@kevinlangleyjr)

    @bswen, are you still experiencing issues with pagination?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Pagination broken’ is closed to new replies.