Support Forum
Hi all.
I have 2 bugs on a brand new install (just with the sample data) :
Admins panel >>> Notice: Undefined index: bypasslogout in ...\www\wp-content\plugins\simple-press\admin\panel-admins\forms\spa-admins-your-options-form.php on line 43
Themes panel >>> Notice: Undefined index: parent in ...\www\wp-content\plugins\simple-press\admin\panel-themes\forms\spa-themes-list-form.php on line 86
And 2 others bug as soon as I update some options :
Global settings + "Update Global Options" >>> Error message on the "Options" panel >>> Notice: Undefined index: blockroles in ...\www\wp-content\plugins\simple-press\admin\panel-options\support\spa-options-prepare.php on line 30
Global settings + "Update Members Options" >>> Error message on the "User groupes" panel >>> Undefined index: sfsinglemembership in ...\www\wp-content\plugins\simple-press\admin\panel-usergroups\support\spa-usergroups-prepare.php on line 20
I've made some test on "spa-usergroups-prepare.php" and I've found :
- before a click on Global settings + "Update Members Options", $sfmemberopts array has this values :
array (size=3)
'sfcheckformember' => boolean true
'sfsinglemembership' => boolean false
'sfhidestatus' => boolean true
- after a click on Global settings + "Update Members Options", $sfmemberopts array has this values :
array (size=2)
'sfcheckformember' => boolean true
'sfhidestatus' => boolean true
'sfsinglemembership' is not defined anymore after the first update. For sure it's the same reason for the others bugs.
Good timing as I am working on notices at the moment - not that I have seen these ones locally.
Where are you seeing these? Are you displaying them on the screen? Or are you checking the log file? If on the screen we do recommend that you turn them off as it is very insecure to show these paths publicly and any host that leaves screen display on has clearly got something wrong in the setup procedures.
I will look into these tonight thanks...
YELLOW
SWORDFISH
|
It was a local install on wamp and the error messages only show when I use the standard left menu of WP. If I use the included menu of SP, no warning at all (but the value are still missing).
Warning messages are deactivated on the production server so it's all good for me if those errors are not serious.
Thanks.
Nothing serious. Those were old, well established option values that had been missed in the install. All would have corrected itself after a few runs but it is always good to find them and get them put right. I thank you for bringing them to our attention.
And good news on your server too. Sounds like the WAMP php.ini is showing notices which you may or may not find useful!
YELLOW
SWORDFISH
|
1 Guest(s)