Support Forum

PHP error

MD Mark Devlin
Mark Devlin
Member

Hi, I am getting this PHP error:

Undefined index: editor in /nas/wp/www/cluster-2150/newslines/wp-content/sp-resources/forum-plugins/post-preview/sp-preview-plugin.php on line 38

Any idea how to get rid of it?

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Looks like you have lost an option setting – although i can not think why that might be. Easily fixed In think.

Go to the forum admin > Options > Global Display Settings. Top right is the option to use the editor integrated toolbar. If you want that turned off then turn it on, update the panel and then turn it off and update. Force the option to be saved. If you want it on then turn it on and save… That should fix it…

If you saw this message – which s NOT an error by the way but a simple notice – on the public facing side of your website then such a display should be turned off. It is really bad practice to expose any such php messages to the public which now see the exact path of your whole website – something that should not be exposed.

MD Mark Devlin
Mark Devlin
Member

I noticed it in my logs, not on the user side. I followed your instructions and the warning has disappeared. Thank you.