Help: PHP Fatal error

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Vastasia2018
Registered User
Posts: 131
Joined: Wed Oct 24, 2018 12:34 pm

Help: PHP Fatal error

Post by Vastasia2018 »

Hi, my forum works perfectly but I can't access the ACP anymore. I opened a ticket with the server sysadmins but they replied that it's a code problem, not the server. This was their response, copied from the error log and I ask for your help in solving the problem.

Code: Select all

[Thu Mar 16 17:15:22.579909 2023] [proxy_fcgi:error] [pid 720682:tid 140109072557824] [client 79.24.175.73:0] AH01071: Got error 'PHP message: PHP Fatal error:  Declaration of lexer_6d586c2::isProxyInitialized(): boo must be compatible with ProxyManager\\Proxy\\LazyLoadingInterface::isProxyInitialized(): bool in /home/forum/domains/forum.grnet.it/public_html/cache/production/container_dbdbe80dc7030ae9bd39ee30cca82130.php on line 6058\n', referer: https://forum.grnet.it/
This all happened after I installed the Pages extension.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26869
Joined: Fri Aug 29, 2008 9:49 am

Re: Help: PHP Fatal error

Post by Mick »

To disable your extensions follow Knowledge Base - Disabling all extensions at once. Once you've done that and regained ACP access you should report the issue to the extension author in the dedicated dsicussion/support topic for the extension.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
Vastasia2018
Registered User
Posts: 131
Joined: Wed Oct 24, 2018 12:34 pm

Re: Help: PHP Fatal error

Post by Vastasia2018 »

Ok I read, thanks. But what if I want to disable only one extension?
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26869
Joined: Fri Aug 29, 2008 9:49 am

Re: Help: PHP Fatal error

Post by Mick »

It’s only temporary until you fix the problem, once you’re back in the ACP you can re-enable them as you wish except for ‘Pages’ of course.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
Vastasia2018
Registered User
Posts: 131
Joined: Wed Oct 24, 2018 12:34 pm

Re: Help: PHP Fatal error

Post by Vastasia2018 »

Ok, I solved the problem. I hired a software engineer on Fiverr, also an expert in PhpBB, and the whole forum is back to working.

However, there is a residual problem: apparently my version of the forum (3.3.8) and, above all, my version of php (7.1) generates incompatibility with the forum cache system.

Of course he advised me to upgrade to php 7.4 but here's the problem: I use an SEO extension (this one) which is incompatible with php versions newer than 7.1 (but it also works fine with Phpbb 3.3.8).

The question: is it possible to abandon that SEO extension with something more modern and compatible with the php 7.4 version?

Thank you.
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2495
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: Help: PHP Fatal error

Post by P_I »

Your current PHP version and the purposed upgrade to PHP 7.4 are both on PHP: Unsupported Branches.

Personally I would be looking to make sure my boards are always using one of the PHP: Supported Versions.
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: 11851
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Help: PHP Fatal error

Post by warmweer »

Vastasia2018 wrote: Fri Mar 17, 2023 11:15 am Ok, I solved the problem. I hired a software engineer on Fiverr, also an expert in PhpBB, and the whole forum is back to working.

However, there is a residual problem: apparently my version of the forum (3.3.8) and, above all, my version of php (7.1) generates incompatibility with the forum cache system.

Of course he advised me to upgrade to php 7.4 but here's the problem: I use an SEO extension (this one) which is incompatible with php versions newer than 7.1 (but it also works fine with Phpbb 3.3.8).
...
SEO extension are of little benefit to a board.
Upgrading the PHP version to 7.4 is actually almost a minimum requirement for phpBB 3.3 but PHP 7.4 is EOL so I suggest you forget the SEO (until it updated perhaps) and use PHP 8.0+.
I'm actually surprised a software engineer (and an expert in phpBB?) suggested PHP 7.4
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.
Vastasia2018
Registered User
Posts: 131
Joined: Wed Oct 24, 2018 12:34 pm

Re: Help: PHP Fatal error

Post by Vastasia2018 »

warmweer wrote: Fri Mar 17, 2023 11:34 am I'm actually surprised a software engineer (and an expert in phpBB?) suggested PHP 7.4
Probably the reason is because my server currently supports php version 7.4 at most :?

But now something is wrong again. The forum is extremely slow and the server system administrators tell me that it is overloaded and ask me if by chance the cache has been disabled, but I don't know. I do not understand...
Last edited by Vastasia2018 on Fri Mar 17, 2023 1:40 pm, edited 1 time in total.
Vastasia2018
Registered User
Posts: 131
Joined: Wed Oct 24, 2018 12:34 pm

Re: Help: PHP Fatal error

Post by Vastasia2018 »

Ok I think I urgently need some expert from this community to get my forum in line, permanently. Obviously paying.

Can you recommend someone please?
User avatar
janus_zonstraal
Registered User
Posts: 6613
Joined: Sat Aug 30, 2014 1:30 pm

Re: Help: PHP Fatal error

Post by janus_zonstraal »

In totale ci sono 216 utenti connessi : 6 registrati, 1 nascosto e 209 ospiti (basato sugli utenti attivi negli ultimi 5 minuti)
Record di utenti connessi: 981 registrato il mar mar 29, 2016 7:58 pm
Block the Chinese bots on your board.
And it will work as before.
If you don't know how I can do it for you.
Sorry! My English is bat ;) !!!
Vastasia2018
Registered User
Posts: 131
Joined: Wed Oct 24, 2018 12:34 pm

Re: Help: PHP Fatal error

Post by Vastasia2018 »

janus_zonstraal wrote: Fri Mar 17, 2023 2:42 pm
In totale ci sono 216 utenti connessi : 6 registrati, 1 nascosto e 209 ospiti (basato sugli utenti attivi negli ultimi 5 minuti)
Record di utenti connessi: 981 registrato il mar mar 29, 2016 7:58 pm
Block the Chinese bots on your board.
And it will work as before.
If you don't know how I can do it for you.
Hi, the forum worked very well and - as a layman - I don't think it's the bots fault, also because now the board is disabled. But I could also be wrong and the fact that the forum has become very slow after solving the problem of entering ACP is just an unfortunate coincidence.

However I just sent a ticket to the server sysadmins for them to analyze the problem and tell me which component is causing the overload.I noticed that another website hosted on the server has become very slow (practically unusable like the forum) and nobody touched that one.

I'll be in touch soon. Thank you.
Vastasia2018
Registered User
Posts: 131
Joined: Wed Oct 24, 2018 12:34 pm

Re: Help: PHP Fatal error

Post by Vastasia2018 »

Hi, I'm in serious trouble. I managed to disable the board and put it in maintenance mode. However, loading the forum homepage is extremely slow (basically unusable) and I don't understand why. Another website hosted on my server has also become very slow and practically unusable. Until the day before yesterday it was very fast.

I opened a ticket with the server sysadmins and this was their response: «The reason why this happens is because probably the person in question has disabled the cache or other similar operation, so he knows what he did and what may have caused the problem.
In fact it is the forum PHP processes that cause the overload.
Without cache the pages take longer to open and obviously for this reason more users accumulate at the same time, causing a greater use of CPU and RAM, with an avalanche effect (on all services hosted on the VPS).

Since the changes this person made caused this problem, it would be best to put everything back as before and start over
»

I don't know how to fix it and I need help.

Thank you.
User avatar
janus_zonstraal
Registered User
Posts: 6613
Joined: Sat Aug 30, 2014 1:30 pm

Re: Help: PHP Fatal error

Post by janus_zonstraal »

I already told you what the problem is and how to solved it.
Block the Chinese bots on your board.
And it will work as before.
If you don't know how I can do it for you.
Sorry! My English is bat ;) !!!

Return to “[3.3.x] Support Forum”