• Resolved pfernand

    (@pfernand)


    Can anybody tell me what this message means? I know it’s some kind of conflict with NextGEN and an answer-my-question plugin but I don’t understand what it means. I haven’t modified any header info that I know of . . .

    Warning: Cannot modify header information – headers already sent by (output started at /home1/pfernand/public_html/interactivetalentmanager.com/wp-content/plugins/answer-my-question/functions.inc.php:16) in /home1/pfernand/public_html/interactivetalentmanager.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/frame_communication/class.frame_event_publisher.php on line 74

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 10 replies - 1 through 10 (of 10 total)
  • @pfernand Read here
    You should also try to upload a fresh folder of “answer-my-question plugin” because of a corrupted file in that plugin.

    Thread Starter pfernand

    (@pfernand)

    Thanks Tizz. I removed and re-added answer-my-question plugin and still got the error. I then checked the function.inc.php file tags to make sure they started and ended correctly and they did. I was able to eliminate the error by commenting out the piece of code below. I lost my success message but at least I don’t have the error.

    I don’t see what’s wrong with this piece of code. Do you???

    //Show success notification
    	echo '
    	<div class="updated">
    		<p><strong>'.__("Updates Saved!").'</strong></p>
    	</div>';

    Plugin Contributor photocrati

    (@photocrati)

    @pfernand – There could be something in the whitespace on those lines.

    Try replacing the code withe following to see if it makes any difference:
    echo '<div class="updated"><p><strong>'.__("Updates Saved!").'</strong></p></div>';

    – Cais.

    Thread Starter pfernand

    (@pfernand)

    Unfortunately I still get the error ??

    -Patty

    @pfernand Place the cursor at the end of the last ?> in functions.inc.php, i.e. attached without space, and hold down CANC until you see the extra final line is deleted.
    If you use an editor like Notepad++ you can clearly see it, if not the simple default notepad will be good anyway (or directly via FTP).
    I see that there’s another file with an extra empty final line in that plugin, so if the error happens again, check the file name and do the same thing.

    Thread Starter pfernand

    (@pfernand)

    Hi Tizz. I opened functions.inc.php in Notepadd++. Went to the last ?>. I held down CTLR (CANC)? and hit delete repeatedly but I didn’t see any extra lines.

    What’s the other file you saw with an extra empty line?

    Thanks for your help.

    @pfernand Yesterday I have seen an extra empty line after the closing tag in that function file (and if you don’t see it with the naked eye, “PHP” see it anyway), so if you held down for a while the delete key near the closing tag, the empty spaces should have been deleted. I don’t remember now the name of the other file, but maybe it’s not important if isn’t a “function” file – but just in case, if the files are few, checking all of them and remove the spaces after the closing tag does not hurt.
    Besides that, that plugin is not updated from 2012 and the latest questions in their support are unanswered for a year – so it may not be compatible with the latest versions of WordPress and NextGEN.

    Thread Starter pfernand

    (@pfernand)

    Thanks, Tizz. Yes, I noticed the last update was 2012 etc. I checked the other files for the empty line and didn’t find it. I have to agree with you that the darn plugin isn’t compatible with the recent NextGEN. Thank you so much for your help. I really appreciate it. Even though I didn’t resolve my warning msg, the documentation you shared with me was very helpful for future reference. Thank you.

    @pfernand I don’t know what exactly does that plugin, but I think you should try another one and maybe here you can find something similar.

    Thread Starter pfernand

    (@pfernand)

    Lol . . . such an obvious solution. Thank you. I’m switching to the DW Question and Answer (https://www.ads-software.com/plugins/dw-question-answer/) plugin.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Warning Message’ is closed to new replies.