Problem z modyfikacją - Problem z similar topics
Oko Bobra - 28-07-2013, 20:28 Temat postu: Problem z similar topics Po zalozeniu tematu wyskakuje taki blad nad 1 postem
Kod: | Warning: Illegal string offset 'title' in /home/cssledzi/domains/cs-sledziu.pl/public_html/includes/similar_topics.php on line 147 Warning: Illegal string offset 'forum' in /home/cssledzi/domains/cs-sledziu.pl/public_html/includes/similar_topics.php on line 148 Warning: Illegal string offset 'title' in /home/cssledzi/domains/cs-sledziu.pl/public_html/includes/similar_topics.php on line 147 Warning: Illegal string offset 'forum' in /home/cssledzi/domains/cs-sledziu.pl/public_html/includes/similar_topics.php on line 148 |
Podrzucam moj plik similar_topics.php
MQs - 29-07-2013, 01:00
Tutaj wszystko ok moim zdaniem. Gdzieś wcześniej masz źle zdefiniowane $sfc['topics'] (prawdopodobnie bez trzeciego nawiasu) np. coś takiego:
Kod: | $sfc['topics'][$topic_id] = ... |
Rozumiem, że "po założeniu tematu" znaczy wtedy jak odświeży stronę po komunikacie o wysłaniu. Wrzuć viewtopic.php to zobaczę, bo chyba tam czegoś brakuje.
|
|
|