Title: Widget problem
Last modified: November 21, 2016

---

# Widget problem

 *  Resolved [goof71](https://wordpress.org/support/users/goof71/)
 * (@goof71)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/)
 * after the update (1.2.6) I have a problem with the “Last Post” widget :
    – it
   displays correctly the lasts posts when I am on the main forum page (where the
   short-code is) – it displays correctly the lasts posts when i choose one of my
   forums – But… it displays “The forum has not been configured correctly.” when
   I click on a subject
 * who have the same behavior ?

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/widget-problem-55/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/widget-problem-55/page/2/?output_format=md)

 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8464640)
 * Hello [@goof71](https://wordpress.org/support/users/goof71/)
 * I moved the location-settings from all widgets to the forum-settings. Please 
   go to your forum-settings and select the location (the page with your forum-shortcode)
   of your forum. After that it should work correctly. 🙂
 * Greetings,
    Thomas
    -  This reply was modified 9 years, 6 months ago by [Asgaros](https://wordpress.org/support/users/asgaros/).
 *  Thread Starter [goof71](https://wordpress.org/support/users/goof71/)
 * (@goof71)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8464880)
 * Hi !
    Still have the problem… (only on subjects). The location settings is ok.:/
   Regards
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8464940)
 * Hello again,
 * I justed released a new update. Can you please test if its working fine now?
 *  [miseamort](https://wordpress.org/support/users/miseamort/)
 * (@miseamort)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8465054)
 * Hello ,
 * Since the 1.2.6 uptade , i have a similar issue which is :
 * -When i click on one of the forum sections the page doesnt display like the url
   cant be found , it stays on the same page ( main page where the forum is displayed
   with the shortcode [forum]). So i have no more way to access any subject , but
   they still exist.
    -Same issue with the widget links.
 * So What could be a solution to solve it ? Downgrade to the 1.2.5 version ( i 
   dont know if it’s possible).
 * my website : [http://stillinprogress.fr/](http://stillinprogress.fr/)
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8465086)
 * [@goof71](https://wordpress.org/support/users/goof71/)
    [@miseamort](https://wordpress.org/support/users/miseamort/)
 * Hello again. Everyone who has problems with the links can please try the following
   with the **LATEST** 1.2.7 version:
 * 1. Open the file asgaros-forum/includes/forum.php
    2. Find the following code(
   around line 185):
 *     ```
       function setLinks() {
           global $wp;
           $this->links['home']        = esc_url(get_page_link($this->options['location']));
           $this->links['forum']       = esc_url(add_query_arg(array('view' => 'forum'), $this->links['home']));
           $this->links['topic']       = esc_url(add_query_arg(array('view' => 'thread'), $this->links['home']));
           $this->links['topic_add']   = esc_url(add_query_arg(array('view' => 'addthread'), $this->links['home']));
           $this->links['topic_move']  = esc_url(add_query_arg(array('view' => 'movetopic'), $this->links['home']));
           $this->links['post_add']    = esc_url(add_query_arg(array('view' => 'addpost'), $this->links['home']));
           $this->links['post_edit']   = esc_url(add_query_arg(array('view' => 'editpost'), $this->links['home']));
           $this->links['current']     = add_query_arg($_SERVER['QUERY_STRING'], '', trailingslashit(home_url($wp->request)));
       }
       ```
   
 * 3. Replace it with the following code:
 *     ```
       function setLinks() {
           global $wp;
           $this->links['home']        = get_page_link($this->options['location']);
           $this->links['forum']       = add_query_arg(array('view' => 'forum'), $this->links['home']);
           $this->links['topic']       = add_query_arg(array('view' => 'thread'), $this->links['home']);
           $this->links['topic_add']   = add_query_arg(array('view' => 'addthread'), $this->links['home']);
           $this->links['topic_move']  = add_query_arg(array('view' => 'movetopic'), $this->links['home']);
           $this->links['post_add']    = add_query_arg(array('view' => 'addpost'), $this->links['home']);
           $this->links['post_edit']   = add_query_arg(array('view' => 'editpost'), $this->links['home']);
           $this->links['current']     = add_query_arg($_SERVER['QUERY_STRING'], '', trailingslashit(home_url($wp->request)));
       }
       ```
   
 * After that please test it again.
 * **If this fix should work, please leave me a message here as soon as possible
   so I can release a new updated version!**
    -  This reply was modified 9 years, 6 months ago by [Asgaros](https://wordpress.org/support/users/asgaros/).
    -  This reply was modified 9 years, 6 months ago by [Asgaros](https://wordpress.org/support/users/asgaros/).
 *  [miseamort](https://wordpress.org/support/users/miseamort/)
 * (@miseamort)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8465102)
 * Great , it works fine now , thanks for the code fix.
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8465115)
 * [@miseamort](https://wordpress.org/support/users/miseamort/)
 * Thanks you very much for your fast reply! I will publish a new update in the 
   next few minutes.
 * I really apologize for the troubles which were caused by the last updates! 🙁
   This bug only occurs with some WordPress configurations so I didnt notice it 
   in my testing-environment. Sorry again!
 *  Thread Starter [goof71](https://wordpress.org/support/users/goof71/)
 * (@goof71)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8465133)
 * Still have the problem with the fix.
    Sorry
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8465155)
 * [@goof71](https://wordpress.org/support/users/goof71/)
 * Can you please apply the v1.2.8 version, clear your browser-chache and disable
   maybe existing WordPress caching-plugins to make sure everything is generated
   with the newest files?
 * If the problem still occurs: Do you have a link to your website so I can have
   a look?
 *  Thread Starter [goof71](https://wordpress.org/support/users/goof71/)
 * (@goof71)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8465160)
 * Ok I do that !
    There’s something new applying the fix : the error message is
   now in french 😉
 *  Thread Starter [goof71](https://wordpress.org/support/users/goof71/)
 * (@goof71)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8465201)
 * Still have the problem. You ca have a look there : [http://www.fanselanchalon.fr/v3/forums](http://www.fanselanchalon.fr/v3/forums)
   (
   Under the forum you have “Derniers messages” = Last Posts) Thanks !
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8465271)
 * Okay, for testing purpose please open the following file:
 * asgaros-forum/includes/forum-widgets.php
 * With v1.2.8 installed please change line 92 from:
    `if ($locationSetUp) {` To:`
   if (true) {`
 * When this is done I have to check the widget-links in your site again, but at
   least it should show us “something” which can help me to reproduce it.
 *  Thread Starter [goof71](https://wordpress.org/support/users/goof71/)
 * (@goof71)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8465308)
 * Done ! And it works now !
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8465336)
 * Strange …
 * I actually cant really reproduce this at my testing-environment but I think it
   has something to do with the sequence stuff is loaded internally.
 * I will try to figure it out. At the meantime its working for you with that “dirty”
   fix.
 *  Thread Starter [goof71](https://wordpress.org/support/users/goof71/)
 * (@goof71)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/#post-8465352)
 * Thanks for all 😉

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/widget-problem-55/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/widget-problem-55/page/2/?output_format=md)

The topic ‘Widget problem’ is closed to new replies.

 * ![](https://ps.w.org/asgaros-forum/assets/icon-128x128.png?rev=1546717)
 * [Asgaros Forum](https://wordpress.org/plugins/asgaros-forum/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/asgaros-forum/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/asgaros-forum/)
 * [Active Topics](https://wordpress.org/support/plugin/asgaros-forum/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/asgaros-forum/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/asgaros-forum/reviews/)

 * 18 replies
 * 4 participants
 * Last reply from: [Yworld](https://wordpress.org/support/users/yworld/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/widget-problem-55/page/2/#post-8481839)
 * Status: resolved