Support Forum

Fatal Error on activation

SB Steven Brettler
Steven Brettler
Member

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

1 Answer

New Answer

MP Mr Papa
Mr Papa
Member

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.