Your cart is currently empty!
Plugin Generated Unexpected Output – Affiliates Custom Method – Products amount
—
by
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.
Posted in Affiliates Pro
Comments
5 responses to “Plugin Generated Unexpected Output – Affiliates Custom Method – Products amount”
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.
the feed is blank. no html, nothing. blank white, no html source to provide
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
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
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.