Title: Error 0
Last modified: January 11, 2017

---

# Error 0

 *  Resolved [jmurphree](https://wordpress.org/support/users/jmurphree/)
 * (@jmurphree)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-0-2/)
 * Hey I was getting error 0 about 95% of the time, then put this code in the plugin
   file: exit( wp_redirect( admin_url( ‘options-general.php’ ) ) );
 * It seems to be working GREAT now, check it out and let me know if not: [https://www.morgellonssurvey.org/shop/](https://www.morgellonssurvey.org/shop/)
 * Thanks for the great and innovative plugin!
    -  This topic was modified 9 years, 7 months ago by [jmurphree](https://wordpress.org/support/users/jmurphree/).
    -  This topic was modified 9 years, 7 months ago by [jmurphree](https://wordpress.org/support/users/jmurphree/).
      Reason: Added the link, then edited so it went straight to the shop

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

 *  Thread Starter [jmurphree](https://wordpress.org/support/users/jmurphree/)
 * (@jmurphree)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-0-2/#post-8653732)
 * Hey now it looks like this plugin only works for users logged in – otherwise 
   visitors get the error 0. Any suggestions?
 *  Plugin Author [Roman](https://wordpress.org/support/users/cr1000/)
 * (@cr1000)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-0-2/#post-8686368)
 * Hi!
    Update (v1.0.4 ) already available please check. Before you upgrade, make
   a backup!
 * Best regards CR1000Team
 *  [BizStudent2012](https://wordpress.org/support/users/bizstudent2012/)
 * (@bizstudent2012)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-0-2/#post-8722789)
 * Hi, I updated to v1.0.4, but as like others it is only working if user is logged
   in or they get the error 0. I like this plugin! Is there a fix for this problem?
   Thanks
 *  [Theb0zzy](https://wordpress.org/support/users/theb0zzy/)
 * (@theb0zzy)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-0-2/#post-8841226)
 * Hi jmurphree, i’m having that 0 error, in which file did you put your code?
    
   Thanks in advance!
 * Hi found it! But not working, i got de 0 error! And if i deactivate the plugin
   works fine! Any idea please !
    -  This reply was modified 9 years, 5 months ago by [Theb0zzy](https://wordpress.org/support/users/theb0zzy/).
      Reason: Found it!
    -  This reply was modified 9 years, 5 months ago by [Theb0zzy](https://wordpress.org/support/users/theb0zzy/).
      Reason: Found it, but no working
 *  [Theb0zzy](https://wordpress.org/support/users/theb0zzy/)
 * (@theb0zzy)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/error-0-2/#post-8851626)
 * Hey [@jmurphree](https://wordpress.org/support/users/jmurphree/) can you please
   tell me where exactly did you put your lines of code,
    exit( wp_redirect( admin_url(‘
   options-general.php’ ) ) ); I tried in the AffiliateImporterAm.php, after the//
   wp_redirect() does not exit automatically and should almost always be followed
   by exit. exit; But have same 0 blank page!! Can you help!? Please!

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

The topic ‘Error 0’ is closed to new replies.

 * ![](https://ps.w.org/affiliateimporteram/assets/icon-256x256.jpg?rev=1559380)
 * [AffiliateImporterAm](https://wordpress.org/plugins/affiliateimporteram/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/affiliateimporteram/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/affiliateimporteram/)
 * [Active Topics](https://wordpress.org/support/plugin/affiliateimporteram/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/affiliateimporteram/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/affiliateimporteram/reviews/)

## Tags

 * [amazon](https://wordpress.org/support/topic-tag/amazon/)
 * [Error [0]](https://wordpress.org/support/topic-tag/error-0/)
 * [exit](https://wordpress.org/support/topic-tag/exit/)

 * 5 replies
 * 4 participants
 * Last reply from: [Theb0zzy](https://wordpress.org/support/users/theb0zzy/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/error-0-2/#post-8851626)
 * Status: resolved