Title: get error message
Last modified: August 20, 2016

---

# get error message

 *  Resolved [afreyer](https://wordpress.org/support/users/afreyer/)
 * (@afreyer)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/get-error-message/)
 * hi,
 * thank you for this plugin – i ve searched for this option, because previous_next_link
   only shows listed elements by chronical sort.
 * i tried this plugin but i got on most of items the error message “wpqpapl:Error:
   4”.
    i tried inside and outside of the loop. some items worked, some not.
 * please, could you give me another example for using this? maybe a complete loop
   with wp_query function?
    thank you.
 * regards
    andrej
 * [http://wordpress.org/extend/plugins/wp-query-powered-adjacent-post-link/](http://wordpress.org/extend/plugins/wp-query-powered-adjacent-post-link/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ryan Burnette](https://wordpress.org/support/users/ryanburnette/)
 * (@ryanburnette)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/get-error-message/#post-3634595)
 * Error 4 means that the plugin never found any adjacent posts, but without an 
   example of your code I can’t say why it never found anything. The WP_Query arguments
   have not have been formatted properly.
 * Since writing this plugin I realized that using WP_Query for this purpose alters
   the main query and can cause problems with many themes.
 * I’m going to release a better version of this plugin one day, for now I’d suggest
   looking for another solution until a new plugin is released.

Viewing 1 replies (of 1 total)

The topic ‘get error message’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-query-powered-adjacent-post-link_333439.
   svg)
 * [WP_Query Powered Adjacent Post Link](https://wordpress.org/plugins/wp-query-powered-adjacent-post-link/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-query-powered-adjacent-post-link/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-query-powered-adjacent-post-link/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-query-powered-adjacent-post-link/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-query-powered-adjacent-post-link/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ryan Burnette](https://wordpress.org/support/users/ryanburnette/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/get-error-message/#post-3634595)
 * Status: resolved