PHP Error when posting replies

Report Forum issues. Request forum changes, or report problems.
Herowannabe
Board Ruler
Board Ruler
Posts: 3174
Joined: Fri Apr 05, 2013 12:17 pm
Has thanked: 357 times
Been thanked: 194 times

Re: PHP Error when posting replies

Post by Herowannabe » Fri Mar 15, 2019 3:54 pm

Tecslicer wrote:
Fri Mar 15, 2019 2:47 pm
OK. I've updated the site to the newest minor upgrade, and they say that should solve it...? Let me know if it's still not working right.
It looks like it's working fine now. Thanks Tecslicer!
Zath
Posts: 258
Joined: Mon Feb 12, 2018 3:29 pm
Has thanked: 117 times
Been thanked: 87 times

Re: PHP Error when posting replies

Post by Zath » Mon Mar 18, 2019 10:52 pm

Oh no. Oh NO. Rust and Ruin, it's happening again! I posted in Chapter 1: Homecoming (Continued) with a dice roll and then edited it. After the edit, I noticed that my dice roll had been duplicated. I clicked on the Post Reply button to check and, lo and behold, this familiar error message popped up immediately.

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/s9e/text-formatter/src/Renderer.php on line 19: DOMDocument::loadXML(): Extra content at the end of the document in Entity, line: 18

Fatal error: Uncaught TypeError: Argument 1 passed to s9e\TextFormatter\Renderers\PHP::at() must be an instance of DOMNode, null given, called in /homepages/36/d234420808/htdocs/mistborn/vendor/s9e/text-formatter/src/Renderers/PHP.php on line 130 and defined in /homepages/36/d234420808/htdocs/mistborn/vendor/s9e/text-formatter/src/Renderers/PHP.php:29 
Stack trace: 
#0 /homepages/36/d234420808/htdocs/mistborn/vendor/s9e/text-formatter/src/Renderers/PHP.php(130): s9e\TextFormatter\Renderers\PHP->at(NULL) 
#1 /homepages/36/d234420808/htdocs/mistborn/vendor/s9e/text-formatter/src/Renderer.php(27): s9e\TextFormatter\Renderers\PHP->renderRichText('<r>Penn frowned...') 
#2 /homepages/36/d234420808/htdocs/mistborn/phpbb/textformatter/s9e/renderer.php(250): s9e\TextFormatter\Renderer->render('<r>Penn frowned...') 
#3 /homepages/36/d234420808/htdocs/mistborn/includes/functions_content.php(600): phpbb\textformatter\s9e\renderer->render('<r>Penn frowned...') 
#4 /homepages/36/d234420808/htdocs/mistborn/includes/functions_posting.php(1066) in /homepages/36/d234420808/htdocs/mistborn/vendor/s9e/text-formatter/src/Renderers/PHP.php on line 29
:(
Herowannabe
Board Ruler
Board Ruler
Posts: 3174
Joined: Fri Apr 05, 2013 12:17 pm
Has thanked: 357 times
Been thanked: 194 times

Re: PHP Error when posting replies

Post by Herowannabe » Tue Mar 19, 2019 3:14 am

Zath wrote:
Mon Mar 18, 2019 10:52 pm
Oh no. Oh NO. Rust and Ruin, it's happening again! I posted in Chapter 1: Homecoming (Continued) with a dice roll and then edited it. After the edit, I noticed that my dice roll had been duplicated. I clicked on the Post Reply button to check and, lo and behold, this familiar error message popped up immediately.

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/s9e/text-formatter/src/Renderer.php on line 19: DOMDocument::loadXML(): Extra content at the end of the document in Entity, line: 18

Fatal error: Uncaught TypeError: Argument 1 passed to s9e\TextFormatter\Renderers\PHP::at() must be an instance of DOMNode, null given, called in /homepages/36/d234420808/htdocs/mistborn/vendor/s9e/text-formatter/src/Renderers/PHP.php on line 130 and defined in /homepages/36/d234420808/htdocs/mistborn/vendor/s9e/text-formatter/src/Renderers/PHP.php:29 
Stack trace: 
#0 /homepages/36/d234420808/htdocs/mistborn/vendor/s9e/text-formatter/src/Renderers/PHP.php(130): s9e\TextFormatter\Renderers\PHP->at(NULL) 
#1 /homepages/36/d234420808/htdocs/mistborn/vendor/s9e/text-formatter/src/Renderer.php(27): s9e\TextFormatter\Renderers\PHP->renderRichText('<r>Penn frowned...') 
#2 /homepages/36/d234420808/htdocs/mistborn/phpbb/textformatter/s9e/renderer.php(250): s9e\TextFormatter\Renderer->render('<r>Penn frowned...') 
#3 /homepages/36/d234420808/htdocs/mistborn/includes/functions_content.php(600): phpbb\textformatter\s9e\renderer->render('<r>Penn frowned...') 
#4 /homepages/36/d234420808/htdocs/mistborn/includes/functions_posting.php(1066) in /homepages/36/d234420808/htdocs/mistborn/vendor/s9e/text-formatter/src/Renderers/PHP.php on line 29
:(
I edited out the duplicate dice roll. It's only a temporary fix, but it'll do for now. We'll have to remember to roll dice in separate posts until Tecslicer can take a look at it I guess.
Zath
Posts: 258
Joined: Mon Feb 12, 2018 3:29 pm
Has thanked: 117 times
Been thanked: 87 times

Re: PHP Error when posting replies

Post by Zath » Tue Mar 19, 2019 4:49 pm

Thanks!
Separate posts for dice, and no editing a dice post. Understood.
Bill Whitmore
Posts: 753
Joined: Thu Jul 18, 2013 10:33 am
Has thanked: 7 times
Been thanked: 46 times

Re: PHP Error when posting replies

Post by Bill Whitmore » Wed Mar 20, 2019 4:26 am

Yea, I usually go back and edit posts so the narrative reflects my (lately crappy) dice rolls but that is problematic at the moment. :(
Post Reply

Return to “Forum Issues”