Errors
-
When I installed the plugin I received the following error:
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.
When I attempt to upload a csv file I receive this error:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/58/11637758/html/wp-content/plugins/sports-rankings-lists/wp-ranking.php:286) in /home/content/58/11637758/html/wp-admin/async-upload.php on line 32
51I’m positive it has nothing to do with file format and/or playing the correct data in the correct columns. Any other thoughts or ideas?
-
I attempt to add a list category:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/58/11637758/html/wp-content/plugins/sports-rankings-lists/wp-ranking.php:286) in /home/content/58/11637758/html/wp-includes/class-wp-ajax-response.php on line 129
I attempt to publish a list:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/58/11637758/html/wp-content/plugins/sports-rankings-lists/wp-ranking.php:286) in /home/content/58/11637758/html/wp-includes/pluggable.php on line 875
Not trying to spam. I’ve troubleshot website errors before and generally the more info the better. 🙂
no need to create categories for your list or rankings – they serve no purpose – just create the list and ranker with no category assigned.
make sure the link to the CSV is in the URL field when you upload the CSV file and insert it.
the header of the csv doesn’t need to contain the column names
THE FEED issue is being worked on now – the feed will work on the second pull, nevertheless we need to resolve it and will very soon.
Please notice when I activate the plug-in I get the following error message from WP in yellow on the plug-in backend page:
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.
I ignored the list category but still received the above error messages.
The CSV file had no headers. I created my own file and then I also used the sample file you provide (great idea to offer this BTW)
I apologize, I’m not sure what a feed issue is. I’ll try to wait patiently while you fix it. 🙂 This could be a very handy tool as no other plug-ins fulfill my need to rank players. I appreciate your hard work!
okay its fixed – RSS and sitemap errors gone.. just had to remove white space in file.
Better. No header errors anymore. I edited “sports-rankings-lists/import_players.php” by overwriting the comma to a semi-colon when reading while importing a list (I use open office).
However, after using the ranker short code on a post, I receive the follow error. Please note that line 176 and line 193 error appears a lot more times in that order. I didn’t count but I’m assuming one of each error for each player in the list (200+).
Any thoughts or ideas?
Warning: Invalid argument supplied for foreach() in /home/content/58/11637758/html/wp-content/plugins/sports-rankings-lists/wp-ranking.php on line 150
Warning: Invalid argument supplied for foreach() in /home/content/58/11637758/html/wp-content/plugins/sports-rankings-lists/wp-ranking.php on line 176
Warning: Division by zero in /home/content/58/11637758/html/wp-content/plugins/sports-rankings-lists/wp-ranking.php on line 193
Warning: Invalid argument supplied for foreach() in /home/content/58/11637758/html/wp-content/plugins/sports-rankings-lists/wp-ranking.php on line 176
Warning: Division by zero in /home/content/58/11637758/html/wp-content/plugins/sports-rankings-lists/wp-ranking.php on line 193
Warning: Invalid argument supplied for foreach() in /home/content/58/11637758/html/wp-content/plugins/sports-rankings-lists/wp-ranking.php on line 176
Warning: Division by zero in /home/content/58/11637758/html/wp-content/plugins/sports-rankings-lists/wp-ranking.php on line 193
why change plugin file from comma to ; ??
delete the plugin from your server
download and install again
If errors persist you’ll need to disable all plugins – then enable the ranker and you should not have errors anymore –
then enable you other plugins one at a time until you find the conflict –
let me know which plugin has a conflict and I’ll look at it.
I tested this plugin on three servers / installed with various themes and plugins and it works fine – so the issue is isolated to your install. I’ll help you but you need to do the above first
If the above errors are in your log – but the rankings are working in the front end I would lower your PHP log level – those errors are really warnings – that I suspect are a theme or plugin conflict.
Thank you for your input.
I changed to “;” from “,” because when I imported your example file after a brief edit, I would get 1;Aaron Rodgers;Green Bay;QB all in the first text box. I went back to open office and confirmed it was saved as a .csv. So the quickest fix was for me to tell the importer to look for a “;” instead of a comma. I included that information in my last post, just in case there was a chance it might have messed something else up.
I disabled all plugins that do not come with a clean install. Still having the same issues.
Rankings are not working on the front end (user side) but do import nicely into the backend (admin side).
I’ll try to round up more details tonight.
hmm..
should work fine..
email me admin username and password to your website and I’ll take a look.
Also, send your apache logs –
Kurt at fantasyknuckleheads dot com
This was a user error – plugin works fine – please see the screenshots if you have trouble using
Hi,
I get the same errors as the other user reported.I havent’t found the solution, I can only see it was actually found.
Warning: Invalid argument supplied for foreach() in /web/htdocs/www.coinflipclub.it/home/wp-content/plugins/sports-rankings-lists/wp-ranking.php on line 150 Warning: Invalid argument supplied for foreach() in /web/htdocs/www.coinflipclub.it/home/wp-content/plugins/sports-rankings-lists/wp-ranking.php on line 176 Warning: Division by zero in /web/htdocs/www.coinflipclub.it/home/wp-content/plugins/sports-rankings-lists/wp-ranking.php on line 193 Warning: Invalid argument supplied for foreach() in /web/htdocs/www.coinflipclub.it/home/wp-content/plugins/sports-rankings-lists/wp-ranking.php on line 176 Warning: Division by zero in /web/htdocs/www.coinflipclub.it/home/wp-content/plugins/sports-rankings-lists/wp-ranking.php on line 193
Could you please help me out, too?
Best
NicholasThe errors when uploading CSV is due to the CSV not being a “windows CSV” – you’ll see this option in MAC and Open Office. So when you save the file as CSV make sure you save the file as “MS Windows CSV” or “Windows CSV” –
The topic ‘Errors’ is closed to new replies.