Title: [Plugin: EG-Attachments] Missing/wrong attachments listed, wrong links
Last modified: August 20, 2016

---

# [Plugin: EG-Attachments] Missing/wrong attachments listed, wrong links

 *  Resolved [paulblac](https://wordpress.org/support/users/paulblac/)
 * (@paulblac)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/)
 * I just upgraded to WordPress 3.3.1. EG attachments was working fine with my previous
   version 3.1.4.
 * Now when I go to a page with attachments listed, it lists the correct number 
   of attachments. However, it mixes up and duplicates some of them, so there is
   always something missing. This happens whether I specify certain IDs to show 
   or not, sorting in various ways, etc.
 * For example, on my free report download page, it previously (correctly) showed
   a colour version and a black&white version of the report to download. Now it 
   shows 2 copies of the black&white version.
 * I also noticed (not sure if this is a problem) that the links includes multiple
   IDs. For example, instead of
 * [http://www.someplace.com/report/?aid=917&sa=1](http://www.someplace.com/report/?aid=917&sa=1)
 * It’s showing…
 * [http://www.someplace.com/report/?aid=917&sa=1&aid=917&sa=1](http://www.someplace.com/report/?aid=917&sa=1&aid=917&sa=1)
 * The more downloads on the page, the more show up. Here’s another sample from 
   my site:
 * [http://www.someplace.com/downloads/?aid=2433&sa=1&aid=2435&sa=1&aid=2436&sa=1&aid=2428&sa=1&aid=2429&sa=1&aid=2430&sa=1&aid=2431&sa=1&aid=2432&sa=1&aid=2433&sa=1](http://www.someplace.com/downloads/?aid=2433&sa=1&aid=2435&sa=1&aid=2436&sa=1&aid=2428&sa=1&aid=2429&sa=1&aid=2430&sa=1&aid=2431&sa=1&aid=2432&sa=1&aid=2433&sa=1)
 * Any help would be appreciated.
 * Thanks,
    Paul
 * [http://wordpress.org/extend/plugins/eg-attachments/](http://wordpress.org/extend/plugins/eg-attachments/)

Viewing 14 replies - 1 through 14 (of 14 total)

 *  Plugin Author [emmanuelg](https://wordpress.org/support/users/emmanuelg/)
 * (@emmanuelg)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500686)
 * Hi
 * I made some tests with the version 1.9.2 of the plugin, and cannot get your results…
 * Multiple display can occur when auto-shortcode is activated, while you have a
   manual shortcode at the same time.
    In this case, you can disable the auto-shortcode,
   or check the option “Disable auto-shortcode when a manual shortcode is detected”.
 * Emmanuel.
 *  Thread Starter [paulblac](https://wordpress.org/support/users/paulblac/)
 * (@paulblac)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500689)
 * Thanks for the quick reply Emmanuel.
 * I checked the ‘Disable’ setting, and although auto-shortcodes were turned off,
   that setting was not. So I checked it and clicked Save.
 * However, I noticed that none of my changes seemed to be saved in the Settings
   screen (if I left the page and came back, the options were not correct). So I
   deactivated and reactivated the plugin.
 * Now the settings seem to save ok, and when I ran tests again, the problem with
   multiple ‘aid’ and ‘sa’ extensions is gone. Maybe something didn’t save properly
   when I upgraded to WP 3.3.1?
 * Anyways, there’s still a problem with it mixing up the first attachment in the
   list. It always appears to be the same as the last attachment.
 * For example:
 * Correct
    File A File B File C File D
 * Incorrect (this is what’s happening)
    File D File B File C File D
 * If I have only 2 files listed, it shows the last one twice. For example:
 * Correct
    File A File B
 * Incorrect (this is what’s happening)
    File B File B
 * Here is the shortcode I’m using:
 * [attachments orderby=”id ASC” label=doctitle fields=”title,caption,size” force_saveas
   =1]
 * I also use it on another page by listing specific IDs to display, and I get the
   same results. I also tried ordering by filename with the same results.
 * Any ideas?
 * Thanks,
    Paul
 *  Plugin Author [emmanuelg](https://wordpress.org/support/users/emmanuelg/)
 * (@emmanuelg)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500699)
 * Questions:
    – Which version do you use? – When you upgraded the plugin, did you
   desactivate, and re-activate the plugin?
 * “I noticed that none of my changes seemed to be saved in the Settings screen”
   
   This kind of error occurs when the field is not recorded in the plugin option
   entry (entry: eg-attachments-option, field: shortcode_auto_exclusive)
 * Options are updated during plugin activation.
 * If you can, desactivate the plugin, delete the option entry, and then reactivate
   the plugin.
 *  Thread Starter [paulblac](https://wordpress.org/support/users/paulblac/)
 * (@paulblac)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500734)
 * I’m using version 1.9.2. When I upgraded, I meant I upgraded WordPress to v 3.3.1.
   At first, I did not deactivate and reactivate EG-Attachments separately, but 
   I did so yesterday and it solved the multiple ‘aid’ and ‘sa’ extensions showing
   up.
 * I’m not sure what you mean by the deleting the option entry. Do you mean in the
   WP database?
 * Paul
 *  Thread Starter [paulblac](https://wordpress.org/support/users/paulblac/)
 * (@paulblac)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500761)
 * I figured out how to delete the EGattachment options, so I completely uninstalled
   the plugin and re-installed it.
 * Unfortunately, I still have the same problem — the first file is always the same
   as the last file.
 * In other words…
 * Correct
    File A File B
 * Incorrect (this is what’s happening)
    File B File B
 * Also, I noticed on a different page that the first attachment is missing completely,
   even though it’s specified in the list as follows:
 * [attachments orderby=”id ASC” fields=”title,filename,size” label=doctitle force_saveas
   =1 logged_users=1 nofollow=0 docid=”2342,2341,2340,2337,2336,2335,2334,2333,2332,2331″]
 * ID # 2331 is missing from the list. All the rest show up
 * Any ideas?
 * Thanks,
    Paul
 *  Thread Starter [paulblac](https://wordpress.org/support/users/paulblac/)
 * (@paulblac)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500803)
 * Hi Emmanuel,
 * I’m not sure if you saw my message above, but it’s still not working correctly.
   Does the plugin have a debug mode that could offer some insight?
 * Any help you can offer would be appreciated.
 * Thanks,
    Paul
 *  Thread Starter [paulblac](https://wordpress.org/support/users/paulblac/)
 * (@paulblac)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500821)
 * Hi Emmanuel,
 * After further testing, I discovered that one of my plugins, Wishlist Member, 
   was causing the problem. When I turned it off, EG-Attachments started working.
   When I turned it on, EGA stopped working.
 * I’ve got Wishlist support looking into the problem, but they say they can’t support
   third-party plugins. And my entire site is built around Wishlist Member, so I
   can’t just get rid of the plugin.
 * Have you ever seen this problem before? Any ideas on a solution? I have a test
   site I can let you see if you’re interested.
 * I will let you know what I hear from Wishlist tech support.
 * Thank you,
 * Paul
 *  Plugin Author [emmanuelg](https://wordpress.org/support/users/emmanuelg/)
 * (@emmanuelg)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500822)
 * If I well understand, you pay for a plugin (Whishlist member), and the developper
   team doesn’t give you any support …
 * Nevertheless, could you contact me by mail, we will discuss about how to manage
   the issue.
 * Emmanuel.
 *  Thread Starter [paulblac](https://wordpress.org/support/users/paulblac/)
 * (@paulblac)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500824)
 * Yes, you understand correctly. I am pushing for their development team to look
   into it, as it’s obviously their bug, but in the mean time, any help you can 
   offer would be appreciated.
 * I couldn’t find a contact form on your website and I don’t want to post my email
   on this forum. Could you send me a message using my website contact form? Then
   we can communicate by email.
 * [http://www.spirepoint.ca/contact](http://www.spirepoint.ca/contact)
 * Thank you for your help
 * Paul
 *  Plugin Author [emmanuelg](https://wordpress.org/support/users/emmanuelg/)
 * (@emmanuelg)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500826)
 * I sent you a mail.
 * My contact page is: [http://www.emmanuelgeorjon.com/contact/](http://www.emmanuelgeorjon.com/contact/)
 * Emmanuel.
 *  Plugin Author [emmanuelg](https://wordpress.org/support/users/emmanuelg/)
 * (@emmanuelg)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500828)
 * Hi Paul,
 * As discussed by mail, the bug is identified. As I will publish version 1.9.3 
   today, the fix will be published later, with the version 1.9.4.
 * Emmanuel.
 *  Thread Starter [paulblac](https://wordpress.org/support/users/paulblac/)
 * (@paulblac)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500832)
 * Excellent, thank you! I just tested the change you sent by email (after upgrading
   to 1.9.3 and it works fine now). I’m looking forward to your final update.
 * Thank you again! 🙂
 * Paul
 *  Plugin Author [emmanuelg](https://wordpress.org/support/users/emmanuelg/)
 * (@emmanuelg)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500844)
 * The version 1.9.4 is published and should solve your issue.
 * Emmanuel.
 *  Thread Starter [paulblac](https://wordpress.org/support/users/paulblac/)
 * (@paulblac)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500857)
 * Thank you Emmanuel for all your hard work. I ran a quick test on my test site
   and it seems to be working. I’ll update my main site and if I see any issues,
   I’ll let you know.
 * Thanks again!
 * Paul

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘[Plugin: EG-Attachments] Missing/wrong attachments listed, wrong links’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/eg-attachments_fbfbfb.svg)
 * [EG-Attachments](https://wordpress.org/plugins/eg-attachments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/eg-attachments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/eg-attachments/)
 * [Active Topics](https://wordpress.org/support/plugin/eg-attachments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/eg-attachments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/eg-attachments/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [paulblac](https://wordpress.org/support/users/paulblac/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-eg-attachments-missingwrong-attachments-listed-wrong-links/#post-2500857)
 * Status: resolved