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
activate plugin fails
Avatar
eusebio luna
Rookie
Free Members
Offline
Feb 12, 2016 - 7:16 am
Quote
when I try to activate the plugin appears erro message : the plugin does not have a valid header
can you help me please
Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Feb 12, 2016 - 7:31 am
Quote

This is not an uncommon problem with WordPress plugin installs as a quick search of the WP support forums will show.

It can sometimes happen, I am informed, if the plugin zip is unzipped within the plugin folder. But I am unsure what the actual cause it. I can tell you the plugin does have a valid header!

You will need to remove whatever id there. So in the WordPress 'plugins' folder remove the simple-press folder completely. The have another go. If it fails again you may need to unzip it locally and ftp the folder up to the server. 

Or you could take a look at the WP forums which, as I say, have a lot of questions on this one. There may be a better answer buried in there somewhere! But using ftp might be quicker 🙂

andy-signature.png
YELLOW
SWORDFISH
Avatar
eusebio luna
Rookie
Free Members
Offline
Feb 12, 2016 - 7:37 am
Quote

i try it. thanks a lot. love simple:press

Avatar
Ike
Sawtry, UK
Member
Free Members
Offline
Feb 12, 2016 - 9:53 am
Quote

No problem, hope it works out OK for you!

Avatar
Jonathan Little
Rookie
Free Members
Offline
Feb 14, 2016 - 12:38 am
Quote

I have the same problem and have tried to re-install both through the WordPress interface and manually using http://FTP. 

The plugin will not activate.

Here is the error message:

Fatal error: Cannot redeclare sp_get_option() (previously declared in /home/myutsi13/public_html/tklp/wp-content/plugins/the-events-calendar/src/functions/template-tags/deprecated.php:500) in /home/myutsi13/public_html/tklp/wp-content/plugins/simple-press/sp-api/sp-api-primitives.php on line 95

Seems that something is being declared twice and WordPress is not liking it.

Just downloaded the latest version from here tonight right before I installed it.

Any help will be greatly appreciated it. I did look on the WordPress site and most everything I read, said either install an older version and/or go back to the developer and let them know about the problem.

Thanks!

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Feb 14, 2016 - 4:20 am
Quote

It is a little problem we never really understood. WordPress developer recommendations propose that all functions written in a plugin be prefixed by a unique identifier to avoid collision. So - being named Simple:Press we prefix all of our functions with 'sp' and one such  function is named 'sp_get_option'.

For some reason the Event Calendar plugin also has a function named 'sp_get_option' hence the conflict. I thought I was told a while back that they had changed theirs but if your EC plugin is up to date then I guess this was not accurate.

It does, sadly, make it impossible to have both plugins installed on a site. We really can not change it that easily without disturbing existing users - m,any of whom have added custom code to their forums.

andy-signature.png
YELLOW
SWORDFISH
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