Fatal Error Occurring
-
I get this error when I try to activate your plugin.
Fatal error: Cannot redeclare class eqGraph in /home/content/90/7781490/html/wp-content/plugins/sportspress/lib/eos/eos.class.php on line 603
Any ideas?
Thanks!
-
Hi there!
It could be conflicting with another plugin loading the same library (Equation Operating System). Do you have any other plugins installed?
Yeah man, I have a whole bunch of plugins. Is there a way I can cross reference?
There are a couple ways to check.
If it’s on a local server like MAMP or XAMPP, it would be easiest to search the wp-content/plugins folder for “eqGraph” using a text editor like Sublime, Eclipse, or Dreamweaver.
If it’s on a remote server, I would recommend deactivating each plugin one at a time to find the plugin that’s conflicting.
I’m curious to know which plugin is loading the same library. If you could send me a list of the plugins installed, I’d be happy to check for you.
Hey man, so I started going through each and deactivating one by one but I just don’t have the time right now…here’s a list though.
Akismet
Comment Rating Widget
Disable Comments
Donate Plus
Easy iFrame Loader
Export Users to CSV
GeekShed Embed
Google Apps Login
Google Drive Embedder
Gravity Forms
Insert JavaScript & CSS
Mass Mail
Ninja Forms
Page Links To
Page Restrict
Paste from Word to WordPress (Images too!) by NonprofitCMS.org
Permalink Editor
phpbb_recent_topics
PMC Disable Comments
Poll
Recent Tweets
Registration Form Widget
Restrict Content
RSS Retriever
Scroll Comments Widget
Show RSS FEED
Show RSS Feeds
Simple Custom CSS
SportsPress
StatPress
Subscribers Text Counter
TablePress
User Role Editor
Use Shortcodes in Sidebar Widgets
Velvet Blues Update URLs
WordPress Importer
wordTube
WP-PageNavi
WP-Project
WP Hide Post
WP phpBB Bridge
WPtouch Mobile Plugin
Xbox 360 information pluginThank you for the additional info. I suspect the conflict is occurring in one of the statistic related plugins, but we’ve just released version 0.4 which namespaces the EOS classes so there should be no more conflicts once you update SportsPress 🙂
Hey man, this is up and running now! Mostly working perfectly. This plugin is GREAT!
One question right off the bat:
I’m trying to make a “League Leaders” page. Obviously what I’d like is to select all the players in the league, and do a “Sort Order” by goals, “descending”. When I try to “Select All” players, I hit update, and it automatically deselects. No matter what I do, I can’t select all the players in the league, so when the page goes live, there’s no data for the table.
Is there a workaround for this? Any ideas?
Also, you don’t have any option to import/export .csv or .xls files yet, do you?
Glad to hear that!
We’ve just released a minor update (0.4.1) that checks if all players are selected. It should be displaying all of the players when you view the list, but let me know if the data is still missing.
Regarding import/export, the current version includes a CSV import tool for players and teams. To use the importer, go to Tools > Import and select one of the SportsPress importers.
Hey man!
Thanks again for keeping up with me. This plugin is shaping up to be fantastic.
I successfully imported a league of 140 players perfectly thanks to the import tool. It’s great! I also plugged in some fake stats and it looks like the Widgets will function properly as well.
One thing I have found is I was trying to make a team page for each team, basically selecting a “Player List”, then just from the drop down menu, selecting their Team, and sorting by Name, or something like that. Just a quick link so people can see their roster or other team’s rosters.
It works fine and the table shows up, but this code shows up on top of it.
Warning: array_key_exists() expects parameter 2 to be array, string given in /home/content/90/7781490/html/wp-content/plugins/sportspress/functions.php on line 1974
Any ideas?
Thanks!
PS I also tried to make a “League Leaders” full page again and was experiencing the same problem: “No data available in table”.
This plugin is awesome 😉
Had that warning also, and found out that it is fixed in next versions, just wait for an update, or fix it yourself like the first lines of this commit:
https://github.com/ThemeBoy/SportsPress/commit/f025fe52baa4997fb979dc058e521c58b36716e0
Cheers
Hi there,
Glad you’re enjoying the plugin 🙂
Yep, the error has been fixed and is now available as version 0.4.2
Could be really useful to me…. however….
A fresh install of both WP (through AMPPS) and SportsPress (through WP) on localhost causes a fatal error… (No explainations what so ever… Just “Fatal Error”…) after download, install and plugin activation… (Plugin does not activate)
There are no other plugins installed….
Php v 5.3.29
MySql v 5.xPlease help…
Thanks
@ducky63 Thanks for the details. I’ll look into this issue.
The topic ‘Fatal Error Occurring’ is closed to new replies.