php error: Trying to access array offset on value of type bool

mazGuq
Posts: 1
Joined: Tue Dec 17, 2024 1:43 am

php error: Trying to access array offset on value of type bool

Post by mazGuq »

Hello. First off thanks for a great plugin. I'm trying to implement in in my site and it looks really useful.

It looks like the account syncing process is working correctly - when a user registers on wordpress a phpbb account is automatically created. However, when login in with that new account, users get this error:

Code: Select all

[phpBB Debug] PHP Warning: in file [ROOT]/ext/w3all/phpbbwordpress/event/main_listener.php on line 130: Trying to access array offset on value of type bool

Fatal error: Uncaught Error: Call to undefined function w3all\phpbbwordpress\event\wpquery() in ...
I can post more of the error if needed. Any tips on how I should start troubleshooting?
User avatar
axew3
w3all User
w3all User
Posts: 2888
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: php error: Trying to access array offset on value of type bool

Post by axew3 »

Hello! Thank for the report.
So it is an issue about the phpBB extension, not of the WP plugin.
Did you correctly set up db connection values so to point to the WP db?
Post Reply