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
Undefined sfpmremove???
Avatar
Suhaib Siddiqi
Member
Free Members
sp_UserOfflineSmall Offline
Nov 20, 2013 - 12:43 pm

I see in error_log files [20-Nov-2013 12:23:31] PHP Notice:  Undefined index:  sfpmremove
[20-Nov-2013 12:23:31] PHP Notice:  Undefined index:  sfpmremove

which slows down the web site.  The error is from SimplePress.  If I disable Simple Press plugin, the error is not reported in the error_log file and everything works file.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 20, 2013 - 12:55 pm

It's a notice and while we do fix them when they come to our attention - as it says in the SP error log panel - it's just a notice.

How can it possibly slow down your web site?

We could do with the function and line number which should be reported as well so we can focus on the correct usage.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Suhaib Siddiqi
Member
Free Members
sp_UserOfflineSmall Offline
Nov 20, 2013 - 1:57 pm

I cannot explain how possibly I can slow down site, but this is what I observe.  Disabeling SP helps gain the speed.  That Notice is not SP Error panel but from server error_log file.  Below are errors from SP Error panel

 

November 20, 2013
1:17 pm
1 php file: s/simple-press/sp-api/sp-api-plugins.php
line: 742
function: sp_combine_plugin_script_files
Notice | Undefined index: header
November 20, 2013
1:17 pm
3 php file: s/simple-press/sp-api/sp-api-plugins.php
line: 722
function: sp_combine_plugin_script_files
Notice | Undefined index: js-sfpmupdate
November 20, 2013
12:15 pm
2 php file: s/simple-press/admin/panel-admins/forms/spa-admins-your-options-form.php
line: 45
function: spa_admins_your_options_form
Notice | Undefined index: setmods
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 20, 2013 - 10:58 pm

I dont understand either...  certainly you are getting other things in your standard php error log too (other meaningless notices)...

but if you do this:  https://simple-press.com/suppo.....3/#p134530

you can turn off error logging if you like...

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: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625