Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Imrahil
Registered User
Posts: 7
Joined: Tue Nov 15, 2022 11:56 am

Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by Imrahil »

Support Request Template
What version of phpBB are you using? phpBB 3.2.9
What is your board's URL? https://drono.pl/dyskusje/
Who do you host your board with? neteasy.pl
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? No
What version of phpBB3 did you update from? phpBB 3.2.8
What styles do you currently have installed? Digi
What language(s) is your board currently using? Polish
Which database type/version are you using? MySQL 5
What is your level of experience? Comfortable with PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Nothing.
Please describe your problem. Hi!

I've trouble with my phpBB forum (version 3.2.9). Sometimes when users try to use searchbox or openning topics, this error appears: "Fatal error: Uncaught InvalidArgumentException: Cannot load XML"

For example:
https://drono.pl/dyskusje/viewtopic.php ... m&start=10
https://drono.pl/dyskusje/search.php?ke ... dom+z+bali

What's going on?
Generated by SRT Generator
Last edited by Imrahil on Tue Nov 15, 2022 1:11 pm, edited 2 times in total.
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1645
Joined: Thu Apr 23, 2009 1:20 pm
Location: Stuttgart, Germany
Name: Christian
Contact:

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by Crizzo »

Please fill out the Support Request Template and post it back here to enable us to assist you better.
My extensions for phpBB: CDB
German phpBB Support at www.phpbb.de
Imrahil
Registered User
Posts: 7
Joined: Tue Nov 15, 2022 11:56 am

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by Imrahil »

Done.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6669
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by HiFiKabin »

Digi has not been updated since php 3.3.2 so that may well be the source of your problem.

The easy way to tell is to switch to prosilver and see if the error still happens.


EDIT:- My error, I thought I was in 3.3.x support, please ignore me
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1645
Joined: Thu Apr 23, 2009 1:20 pm
Location: Stuttgart, Germany
Name: Christian
Contact:

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by Crizzo »

Since he is only on phpBB 3.2.9, this should be fine for him

What PHP version do you have?
My extensions for phpBB: CDB
German phpBB Support at www.phpbb.de
User avatar
warmweer
Jr. Extension Validator
Posts: 11194
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by warmweer »

Imrahil wrote: Tue Nov 15, 2022 1:11 pmDone.
Nope: you need to read Crizzo's post completely
Crizzo wrote: Tue Nov 15, 2022 12:21 pm Please fill out the Support Request Template and post it back here to enable us to assist you better.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Imrahil
Registered User
Posts: 7
Joined: Tue Nov 15, 2022 11:56 am

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by Imrahil »

Crizzo wrote: Tue Nov 15, 2022 1:34 pm Since he is only on phpBB 3.2.9, this should be fine for him

What PHP version do you have?
7.0.10
warmweer wrote: Tue Nov 15, 2022 1:56 pm
Imrahil wrote: Tue Nov 15, 2022 1:11 pmDone.
Nope: you need to read Crizzo's post completely
Crizzo wrote: Tue Nov 15, 2022 12:21 pm Please fill out the Support Request Template and post it back here to enable us to assist you better.
What do you mean? I've edit my first post and put there what support feature generated me.
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2344
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦
Contact:

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by P_I »

Imrahil wrote: Tue Nov 15, 2022 6:18 pm
Crizzo wrote: Tue Nov 15, 2022 1:34 pm Since he is only on phpBB 3.2.9, this should be fine for him

What PHP version do you have?
7.0.10
That version has been end-of-life for almost 4 years per PHP: Unsupported Branches.

In addition, the most recent version of phpBB 3.2 is phpBB 3.2.11 which contains security fixes.
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
User avatar
warmweer
Jr. Extension Validator
Posts: 11194
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by warmweer »

Imrahil wrote: Tue Nov 15, 2022 6:18 pm What do you mean? I've edit my first post and put there what support feature generated me.
Apologies, I hadn't notice that the first post was edited :oops:

When you updated your board to 3.2.8 which package did you use? If Changed Files package: did you remove the old vendor folder and upload the version from the Changed Files package.

Actually P.I. suggests (not explicitly but it's implied) to update your board to 3.2.11 (and then test with prosilver)
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Imrahil
Registered User
Posts: 7
Joined: Tue Nov 15, 2022 11:56 am

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by Imrahil »

I've updated to 3.2.11, but problem still exists. PHP update to 7.3.6 also didn't work out.
warmweer wrote: Tue Nov 15, 2022 7:14 pm
When you updated your board to 3.2.8 which package did you use? If Changed Files package: did you remove the old vendor folder and upload the version from the Changed Files package.
Actually, I can't remember what was the last change on that board, that was a long time ago. I've selected "Update from 3.2.8" in Support Request Template, because it forced me to choose something.
User avatar
warmweer
Jr. Extension Validator
Posts: 11194
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by warmweer »

Imrahil wrote: Wed Nov 16, 2022 1:34 pm I've updated to 3.2.11, but problem still exists. PHP update to 7.3.6 also didn't work out.
phpbb 3.2.x isn't compatible with PHP 7.3
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Imrahil
Registered User
Posts: 7
Joined: Tue Nov 15, 2022 11:56 am

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by Imrahil »

warmweer wrote: Wed Nov 16, 2022 1:40 pm
Imrahil wrote: Wed Nov 16, 2022 1:34 pm I've updated to 3.2.11, but problem still exists. PHP update to 7.3.6 also didn't work out.
phpbb 3.2.x isn't compatible with PHP 7.3
Yeah, I know. I've just tried another option. Now there is 7.0.10.
User avatar
warmweer
Jr. Extension Validator
Posts: 11194
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by warmweer »

Your cookie domain is currently drono.pl
Change that to .drono.pl (note the leading dot) (but I don't think this will solve the issue here).
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Imrahil
Registered User
Posts: 7
Joined: Tue Nov 15, 2022 11:56 am

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by Imrahil »

Yep, didn't work out. Do we have other ideas?
Imrahil
Registered User
Posts: 7
Joined: Tue Nov 15, 2022 11:56 am

Re: Fatal error: Uncaught InvalidArgumentException: Cannot load XML

Post by Imrahil »

Anybody? :)
Post Reply

Return to “[3.2.x] Support Forum”