nice share,+rep
line 680 replace this if(self::get('isPaid') and& self::get($key)){ for this if(wfConfig::set('isPaid', '1') and& self::get($key)){
work fine...
(11-21-2017 05:20 AM)gundodghf Wrote: [ -> ]nice share,+rep
line 680 replace this if(self::get('isPaid') and& self::get($key)){ for this if(wfConfig::set('isPaid', '1') and& self::get($key)){
work fine...
Thanks +rep
Thanks, very good. +rep
(11-21-2017 05:20 AM)gundodghf Wrote: [ -> ]nice share,+rep
line 680 replace this if(self::get('isPaid') and& self::get($key)){ for this if(wfConfig::set('isPaid', '1') and& self::get($key)){
work fine...
This is what line 680 should look like -> BUT REPLACE "and" with ampersand sign (press shift and 7) to get ampersand sign ---> there must be 2 ampersands and not be like "and&"
This forum auto changes the one ampersand into the word "and"
it must be like: and&&and (but remove both the words "and" - there must be no "and" before or after the 2 ampersand signs)
Code:
if(wfConfig::set('isPaid', '1') and& self::get($key)){
This made my free Version 6.3.21 Premium.
Thank you!!! Rep added.
I got it. now I have Premium v6.3.22
Reps added to basabz, BlackbirdRider and gundodghf
Thank you bros.
I have version 6.3.22
I changed the line 680 and getting this error
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected 'and' in /home/XXXXXXXXX/public_html/wp-content/plugins/wordfence/lib/wfConfig.php on line 680
Please help me.
Thanks
If you actually read the last couple of posts carefully, you'll be able to figure out what have you done wrong.
Thanks
fixed it and working great now
update to latest one thanks
(07-22-2017 08:01 PM)basabz Wrote: [ -> ] (07-22-2017 07:55 PM)DragonsRider Wrote: [ -> ]Great share. I was looking for this. Max reps added.
However, it failed to upload with a message " The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature "
weird never encountered that kind of error before, maybe you can try uploading it using your ftp or file manager from your host not via wordpress admin, and make sure its on .zip compression