Support Forum

Undefined sfpmremove???

SS Suhaib Siddiqi
Suhaib Siddiqi
Member

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.

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

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.

SS Suhaib Siddiqi
Suhaib Siddiqi
Member

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
MP Mr Papa
Mr Papa
Member

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/support-forum/sp5-general-topics/sql-processes-cripple-server-after-sp-update/page-3/#p134530

you can turn off error logging if you like…