Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Fatal Error on activation
Avatar
Steven Brettler
Rookie
Free Members
sp_UserOfflineSmall Offline
Oct 8, 2012 - 1:44 pm

Im  getting  this  error on  a  new install of your  plugin.  Im installing  by  ftping   your  folder  to  the plugins folder  It  appears in the list of  plugins and  i  get  this  when i  try  to  activate it

 

Fatal error: Cannot redeclare sp_get_option() (previously declared in /problem-with-post-edit-buttonome/searts/public_html/wp/wp-content/plugins/the-events-calendar/lib/template-tags-deprecated.php:215) in /problem-with-post-edit-buttonome/searts/public_html/wp/wp-content/plugins/simple-press/sp-api/sp-api-primitives.php on line 98

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 8, 2012 - 2:38 pm

So it appears that our plugin and the calendar plugin have a function named the same.

Only solution is to change one of them to not be conflicting. That is, change name of function and all calling locations. In Simple Press, that will be hundreds of locations. Plus their function is in a deprecated file, so may not even be used. Not familiar with the events plugin though.

Always a potential when including code (ie plugins) from multiple folks.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online: robrtg
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: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625