PHP greška molim pomoć

Bok,

radim na wordpress temi na local hostu i nema nikakvih grešaka, kad sam temu prebacio na hosting
i aktivirao ju je, pojavila se je poruka iznad admin panela :

Warning: Cannot modify header information - headers already sent by (output started at /home/tema/public_html/wp-content/themes/osnovna/functions.php:161) in /home/tema/public_html/wp-includes/option.php on line 563

Warning: Cannot modify header information - headers already sent by (output started at /home/tema/public_html/wp-content/themes/osnovna/functions.php:161) in /home/tema/public_html/wp-includes/option.php on line 564

što napraviti da to ispravim ?

hvala ! :varenizec

pa pogledaj sto se nalazi na liniji 161

Postavi nam kod, ne možemo lupati. Vjerovatno si zaboravio nešto dodati…

evo pogledajte code : <?php automatic_feed_links(); $sidebars = array(‘Sidebar’, ‘Sidebar-3’, 'Sid - Pastebin.com

molim pomoć :varenizec

Hvala !

hvala :slight_smile:

budem to sada išao napraviti :slight_smile:

pokusao si poslati header informaciju browseru premda je vec printan html, to moras uciniti ranije ili ukljuci output buffering u php.ini ili koristi ob_start i ob_flush…

kako vidim da je wordpress samo u php.ini ukljuci output buffering i neces imati problem.


Copyright © 2020 WM Forum - AboutContact - Sponsored by: Mydataknox & Webmaster.Ninja