Got error 'PHP message: PHP Fatal error: Class phpbb\\db\\driver\\factory contains 1 abstract method and must therefore

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
Luchtzak
Registered User
Posts: 257
Joined: Sat Jul 20, 2002 7:13 pm
Contact:

Got error 'PHP message: PHP Fatal error: Class phpbb\\db\\driver\\factory contains 1 abstract method and must therefore

Post by Luchtzak » Wed Apr 17, 2019 12:22 am

I don't know if it's because of a PHP upgrade, but I have the following error code in my stats. Forums return error 500, I cleared the cache via FTP to no avail.

Code: Select all

[Wed Apr 17 02:20:12.533462 2019] [proxy_fcgi:error] [pid xxx] [client xxx] AH01071: Got error 'PHP message: PHP Fatal error:  Class phpbb\\db\\driver\\factory contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (phpbb\\db\\driver\\driver_interface::sql_num_queries) in /home/xxx/public_html/forums/phpbb/db/driver/factory.php on line 21\n'
[Wed Apr 17 02:20:12.533462 2019] [proxy_fcgi:error] [pid xxx] [client xxx] AH01071: Got error 'PHP message: PHP Fatal error: Class phpbb\\db\\driver\\factory contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (phpbb\\db\\driver\\driver_interface::sql_num_queries) in /home/xxx/public_html/forums/phpbb/db/driver/factory.php on line 21\n'


User avatar
EA117
Registered User
Posts: 584
Joined: Wed Aug 15, 2018 3:23 am
Contact:

Re: Got error 'PHP message: PHP Fatal error: Class phpbb\\db\\driver\\factory contains 1 abstract method and must there

Post by EA117 » Wed Apr 17, 2019 4:51 am

A change of PHP version by your hosting service could definitely be a good explanation of how the issue started "if you didn't change anything yourself."

But it's not obvious for me which version of phpBB 3.1.x or 3.2.x could have had the abstract warning on the implementation of driver_interface::sql_num_queries. Perhaps provide more details about your setup, or just fill out a Support Request Template and include it here.

Luchtzak
Registered User
Posts: 257
Joined: Sat Jul 20, 2002 7:13 pm
Contact:

Re: Got error 'PHP message: PHP Fatal error: Class phpbb\\db\\driver\\factory contains 1 abstract method and must there

Post by Luchtzak » Wed Apr 17, 2019 9:56 am

I don't know how, but the issue got fixed. A PHP re-start ?

User avatar
EA117
Registered User
Posts: 584
Joined: Wed Aug 15, 2018 3:23 am
Contact:

Re: Got error 'PHP message: PHP Fatal error: Class phpbb\\db\\driver\\factory contains 1 abstract method and must there

Post by EA117 » Wed Apr 17, 2019 4:38 pm

Seems like an oddly-specific type of failure condition, but I guess it could have been sunspots. 😉

Luchtzak
Registered User
Posts: 257
Joined: Sat Jul 20, 2002 7:13 pm
Contact:

Re: Got error 'PHP message: PHP Fatal error: Class phpbb\\db\\driver\\factory contains 1 abstract method and must there

Post by Luchtzak » Wed Apr 17, 2019 9:57 pm

EA117 wrote:
Wed Apr 17, 2019 4:38 pm
Seems like an oddly-specific type of failure condition, but I guess it could have been sunspots. 😉
My IT-guy said the PHP server was restarted and it worked again. The server's RAM is filling up and we don't know why.

Post Reply

Return to “[3.2.x] Support Forum”