Support Forum

bug for new users

BM Bretema M
Bretema M
Member

Hi

FORO –

Warning: Illegal string offset ‘topics’ in C:xampphtdocswordpresswp-contentpluginssimple-pressforumcontentclassessp-list-topic-class.php on line 337

 

This message appears at the beginning of the forum, when a new user registers. then when you publish a new topic disappears.

please help.

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

First, this area is not for support. For detailed support help you will need to open a topic in the support forum. 

Second, it is really a bad idea to displaying php messages like this on a live site. Displaying notices, warnings and errors is not good at all. Highly suggest you turn them off as any site guide will recommend. 

So this is a warning from accessing an uninitialized or non existent array element. Not good programming but it functions just fine. As these things come up we try to fix them in the next release. But they are harmless. 

We will investigate. 

BM Bretema M
Bretema M
Member

Mr Papa said
First, this area is not for support. For detailed support help you will need to open a topic in the support forum. 

Second, it is really a bad idea to displaying php messages like this on a live site. Displaying notices, warnings and errors is not good at all. Highly suggest you turn them off as any site guide will recommend. 

So this is a warning from accessing an uninitialized or non existent array element. Not good programming but it functions just fine. As these things come up we try to fix them in the next release. But they are harmless. 

We will investigate.   

Apologies.
Thanks for the reply. solved by removing php messages as you suggested.
 
many thanks.

If you need more data no problem in providing them.
YS Yellow Swordfish
Yellow Swordfish
Member

Good news. And good to have stopped php messages showing up on the display. A bad practice.

Thanks for the offer but the problem is resolved and will be in the next update.