Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
public-topic
Conflict with SportsPress?
Avatar
Philip Adriatico
Guest
Guests
Oct 8, 2015 - 2:17 pm
Quote

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?

Avatar
Ike
Sawtry, UK
Member
Free Members
Offline
Oct 8, 2015 - 2:28 pm
Quote

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.

Avatar
Wendell
Member
Offline
Dec 17, 2015 - 8:45 pm
Quote

so unless SportsPress does something about it, does it mean that i cannot use SimplePress?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
Dec 17, 2015 - 10:08 pm
Quote

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..

Avatar
Wendell
Member
Offline
Dec 17, 2015 - 11:54 pm
Quote

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?

Avatar
Wendell
Member
Offline
Dec 17, 2015 - 11:56 pm
Quote

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.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
Dec 17, 2015 - 11:56 pm
Quote

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...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626