Support Forum
i am using SportsPress, i wanna try the free SimplePress version before deciding to purchase the extensions.
While activating the plugin i get this error message --> Fatal error: Cannot redeclare sp_get_option() (previously declared in /home/hoopsph/public_html/brgyginebra/wp-content/plugins/sportspress/includes/sp-core-functions.php:242) in /home/hoopsph/public_html/brgyginebra/wp-content/plugins/simple-press/sp-api/sp-api-primitives.php on line 95
Now, i don't what what that means - but i do see a sportspress word there. What do you think?
Hey Philip,
It's common practice (as suggested by WP guidelines) to prefix your functions with your own unique identifier. In our case we've used sp - i.e sp_get_option()..
My guess would be that unfortunately SportsPress has done exactly the same thing and also has an sp_get_option() function causing the problem.
I've only seen this once before with another plugin so it seems to be a rare issue.. Your best bet might be to contact SportsPress and ask them if it's possible to change it so SP and SportsPress can run OK together.
Please remember also that this forum is for pre purchase questions.. Although I'm happy to have the information and don't mind explaining, for any future support type questions please open up a topic in our support forum.
so unless SportsPress does something about it, does it mean that i cannot use SimplePress?
yes, afraid so...
what is sports press? a theme? depending on how often that plugin is updated, you could modify the plugin to remove the same name function... but if they update, you would lose your changes...
you could do same with simple press, but we have often updates as new features and bug fixes are added..
Visit Cruise Talk Central and Mr Papa's World
SportsPress is a plugin for sports websites, a league manager.
so its possible to run them both? i just have to edit something after every update?
Mr Papa said
yes, afraid so...what is sports press? a theme? depending on how often that plugin is updated, you could modify the plugin to remove the same name function... but if they update, you would lose your changes...
you could do same with simple press, but we have often updates as new features and bug fixes are added..
i really hope you can help me out. would like to purchase the platinum plan if ever its possible to run sportspress with it.
yes, you need to edit one plugin or the other... find every usage of sp_get_option and change it to something else, say sp2_get_option...
in simple press, that function is used literally hundreds or thousands of times...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)