Plugin Generated Unexpected Output – Affiliates Custom Method – Products amount

Posted in

After activating Affiliates Custom Method – Products amount plugin, I get a message that says:

“The plugin generated 2 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”

sure enough, it breaks my rss feed

Can you help me with this? I need this plugin to assign a different affiliate commission by amount on a per product basis.

I’ve looked through documentation, and the forum, but no solutions to the unexpected output error.

5 Responses to Plugin Generated Unexpected Output – Affiliates Custom Method – Products amount

  1. Rob June 6, 2014 at 6:49 pm #

    there were two blank lines after the closing ?> in your plugin once I copied and pasted from github into a new file. removed them and activated without a problem.

    the other plugin PayPal promo code is what we’ve been using for our checkout process prior to Woocommerce. Once I convert this last product over to the new checkout process, I’ll remove it.

    so…. this thread has come to a positive conclusion.

  2. Rob May 27, 2014 at 11:38 pm #

    the feed is blank. no html, nothing. blank white, no html source to provide

  3. Rob May 27, 2014 at 11:38 pm #

    ok, I enabled debugging

    I activated the plugin.

    here is the log

    (edited – please use pastebin to post large chunks of logs – log pasted at http://pastebin.com/6pwntARb )

    saw nothing to report upon activation

    but then a few minutes later, something did turn up, but it was a good 3 minutes after activation

    here’s that log

    you’ll notice the dates and times are all wrong, as I wanted a clean log to show you, I saved the log that had the affiliates error in it, deleted the log, deactivated the plugin, cleared log again, then activated to show the clean log with nothing (that I can see anyway) to report

    • kento June 2, 2014 at 8:31 am #

      Where is that Affiliates-custom-method-producct-amount.php coming from and what code is on line 59 in that file?

      Also note that this PayPal Promo Code plugin throws out lots of PHP notices.

      So I’d start with:

      – checking that line 59
      – disabling the PayPal Promo Code plugin to see if the issue still persists

  4. kento May 27, 2014 at 6:44 pm #

    Hi Rob,

    Please enable debugging in WordPress and post the output from the wp-content/debug.log after disabling and enabling the plugin again to see what exactly is happening. Also output generated after requesting the feed please.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share