[phpBB Debug] PHP Warning - 3.3.11

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
WMP
Registered User
Posts: 72
Joined: Tue Sep 19, 2023 3:31 am
Location: America

[phpBB Debug] PHP Warning - 3.3.11

Post by WMP »

Hello, three seems to be a small issue with my phpbb 3.3.11 forum. It shows this debug error once. If I refresh the page it goes away.

Code: Select all

<b>[phpBB Debug] PHP Warning</b>: in file <b>[ROOT]/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/AbstractNormalization.php</b> on line <b>172</b>: <b>Couldn't fetch DOMElement. Node no longer exists</b><br />
<b>[phpBB Debug] PHP Warning</b>: in file <b>[ROOT]/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/AbstractNormalization.php</b> on line <b>172</b>: <b>Couldn't fetch DOMElement. Node no longer exists</b><br />
<!DOCTYPE html>
Can anyone please offer assistance? Thank you.
Last edited by Mick on Thu Dec 07, 2023 8:00 pm, edited 1 time in total.
Reason: Solved.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26702
Joined: Fri Aug 29, 2008 9:49 am

Re: [phpBB Debug] PHP Warning - 3.3.11

Post by Mick »

Does it happen with other browsers or if you clear both browser and phpBB caches? Were you doing anything to your board before this warning started happening? If not, as it’s a PHP warning, I suspect your host may have changed the PHP version (or something else) without mentioning it to you, you should ask them, show them the error.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel©
🇬🇧
WMP
Registered User
Posts: 72
Joined: Tue Sep 19, 2023 3:31 am
Location: America

Re: [phpBB Debug] PHP Warning - 3.3.11

Post by WMP »

Mick wrote: Sat Dec 02, 2023 10:24 am Does it happen with other browsers or if you clear both browser and phpBB caches? Were you doing anything to your board before this warning started happening? If not, as it’s a PHP warning, I suspect your host may have changed the PHP version (or something else) without mentioning it to you, you should ask them, show them the error.
It seems to only do it one time after I purge the cache, as far as I can tell. I cannot specifically recall if I had made any type of php file changes prior to this beginning. The only php file I have made changes to are the language files. I noticed this about a week ago.

Thank you for the helpful reply. I will ask my host if they have made any php server adjustments. [redacted]

I have recently added ABBC and ShareOn extensions as well.
WMP
Registered User
Posts: 72
Joined: Tue Sep 19, 2023 3:31 am
Location: America

Re: [phpBB Debug] PHP Warning - 3.3.11

Post by WMP »

My host says everything seems fine on their end, and to ask the software developers about the error.

What does the file do anyway? Maybe that would help me to figure out what I may have done or not done correctly while doing edits or working with extensions.

Code: Select all

[phpBB Debug] PHP Warning</b>: in file <b>[ROOT]/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/AbstractNormalization.php</b> on line <b>172</b>: <b>Couldn't fetch DOMElement. Node no longer exists<br />

[phpBB Debug] PHP Warning</b>: in file <b>[ROOT]/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/AbstractNormalization.php</b> on line <b>172</b>: <b>Couldn't fetch DOMElement. Node no longer exists<br />
/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/AbstractNormalization.php ... Couldn't fetch DOMElement. Node no longer exists

What is it looking for? Would making edits to any of the language files cause this?
WMP
Registered User
Posts: 72
Joined: Tue Sep 19, 2023 3:31 am
Location: America

Re: [phpBB Debug] PHP Warning - 3.3.11

Post by WMP »

Any help at all with this would be greatly appreciated. Host says to ask the developers.
rxu
Extensions Development Team
Posts: 3804
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation

Re: [phpBB Debug] PHP Warning - 3.3.11

Post by rxu »

TextFormatter is 3rd-party library which internals I'm afraid can be explained by its author only.
As the library handles parsing posts and BBCode, probably something related happens (broken BBcode, broken text content in some manner, files broken by editing, etc). Also it's possible to be some extensions interferring, PHP version incompatibility and so on.
I guess some more information is needed to get an idea, like f.e. presented in Support Request Template.
User avatar
ssl
Registered User
Posts: 1842
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: [phpBB Debug] PHP Warning - 3.3.11

Post by ssl »

WMP wrote: Sat Dec 02, 2023 10:43 pm I have recently added ABBC and ShareOn extensions as well.
What happens when you deactivate these two extensions?
Sorry for my English ... I do my best!

phpBB: 3.3.12 | PHP: 8.3.7
[Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
WMP
Registered User
Posts: 72
Joined: Tue Sep 19, 2023 3:31 am
Location: America

Re: [phpBB Debug] PHP Warning - 3.3.11

Post by WMP »

ssl wrote: Thu Dec 07, 2023 8:44 am
WMP wrote: Sat Dec 02, 2023 10:43 pm I have recently added ABBC and ShareOn extensions as well.
What happens when you deactivate these two extensions?
Thank you for your suggestion, I forgot I could just disable the extension without having to uninstall it completely.

I disabled the 'External Link In New Window' extension and that fixed it.

This is the on I have. I will try to find another ext for the target="_blank" function.
External Link In New Window
Clean Name: martin/externallinkinnewwindow
Description: Modifies external links to open in a new browser window by default.
Version: 1.2.0
Homepage: https://github.com/Mar-tin-G/ExternalLinkInNewWindow
Release Time: 2020-03-19
Licence: GPL-2.0-only
Requirements
phpBB Version: >=3.2.0
PHP Version: >=5.4
Last edited by WMP on Fri Dec 08, 2023 12:06 am, edited 1 time in total.
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2403
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: [phpBB Debug] PHP Warning - 3.3.11

Post by P_I »

WMP wrote: Thu Dec 07, 2023 7:52 pm I will try to find another ext for the target="_blank" function.
What about https://www.phpbb.com/customise/db/extension/elonw/ as an alternative?

That extension does seem to have active support so maybe ask about PHP Supported Versions, i.e. 8.1, 8.2 and 8.3 at the time of this post.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
WMP
Registered User
Posts: 72
Joined: Tue Sep 19, 2023 3:31 am
Location: America

Re: [phpBB Debug] PHP Warning - 3.3.11

Post by WMP »

P_I wrote: Thu Dec 07, 2023 8:04 pm
WMP wrote: Thu Dec 07, 2023 7:52 pm I will try to find another ext for the target="_blank" function.
What about https://www.phpbb.com/customise/db/extension/elonw/ as an alternative?

That extension does seem to have active support so maybe ask about PHP Supported Versions, i.e. 8.1, 8.2 and 8.3 at the time of this post.
Thank you. I will try.

It may have conflict with ShareOn ext. Maybe, not sure.

Return to “[3.3.x] Support Forum”