• I have the following shortcode on a page:

    [pdb_list filter=”active=Y” search=true orderby=tower order=asc fields=first_name,last_name,tower]

    This works fine, and I can run a search fine, but if there are multiple pages of search results, I can’t load any of the other pages – I just get the spinning wheel of death. Screenshot of the errors being thrown in the browser as follows:

    https://pasteboard.co/HTOJDQP.png

    Any ideas please? Bit of a pain in the backside!

    Thanks,
    Doug.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author xnau webdesign

    (@xnau)

    OK, you’re getting a 500 response from the server, so you will need to look at your php error log for what is going wrong.

    Thread Starter dougdavis22

    (@dougdavis22)

    This is what I’m getting when DEBUG is enabled:

    Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /customers/e/1/b/kcacr.org.uk/httpd.www/wp-content/plugins/gravityforms/common.php on line 1267 Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /customers/e/1/b/kcacr.org.uk/httpd.www/wp-content/plugins/gravityforms/common.php on line 1304 Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /customers/e/1/b/kcacr.org.uk/httpd.www/wp-content/plugins/gravityforms/common.php on line 1308 Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /customers/e/1/b/kcacr.org.uk/httpd.www/wp-content/plugins/gravityforms/common.php on line 1336 Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /customers/e/1/b/kcacr.org.uk/httpd.www/wp-content/plugins/gravityforms/common.php on line 3456 Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /customers/e/1/b/kcacr.org.uk/httpd.www/wp-content/plugins/gravityforms/common.php on line 3463 Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2”? in /customers/e/1/b/kcacr.org.uk/httpd.www/wp-content/plugins/gravityforms/common.php on line 3476 Deprecated: define(): Declaration of case-insensitive constants is deprecated in /customers/e/1/b/kcacr.org.uk/httpd.www/wp-content/plugins/admin-custom-login/admin-custom-login.php on line 17 Warning: “continue” targeting switch is equivalent to “break”. Did you mean to use “continue 2″? in /customers/e/1/b/kcacr.org.uk/httpd.www/wp-content/plugins/participants-database/participants-database.php on line 1848 Warning: session_set_save_handler(): Cannot change save handler when headers already sent in /customers/e/1/b/kcacr.org.uk/httpd.www/wp-content/plugins/participants-database/vendor/wp-session-manager/vendor/ericmann/sessionz/php/Manager.php on line 133 Read more” >Read more” >Read more” >Read more” >”/>

    Is that any help?

    Plugin Author xnau webdesign

    (@xnau)

    Not too much help there…you’re looking for a “fatal error” those are only warnings, none of them would generate a 500. Try clearing the log, then test the pagination, and check the log right after that.

    Thread Starter dougdavis22

    (@dougdavis22)

    My hosting provider have so far not been forthcoming with the log file, and only offer the ability to ‘enable PHP error display’ which shows some errors on the site which don’t really look any different to the WP Debug messages to me. I’ll try pressing them harder.

    Plugin Author xnau webdesign

    (@xnau)

    That probably won’t work if you’re getting a 500, which indicates a serious problem and php stops running at that point, so it can’t be printing errors to the screen.

    One possibility is a syntax error in a php file, but it is very hard to track down since it often does not register to the log. One way to approach that is to progressively enable/disable plugins while testing to see if you can get it to work. If you think the problem is with Participants Database, reinstalling the plugin with a fresh download (don’t delete from the Plugins page, use FTP to delete and replace with the fresh files) is one way to ensure there are no syntax errors in the plugin itself.

    If you are using a custom template or any other custom code, that would be the first place to look for syntax errors in the php.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unable to load next page of search results’ is closed to new replies.