Page 1 of 1

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

Posted: Tue Dec 17, 2024 1:46 am
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?

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

Posted: Tue Dec 17, 2024 9:00 am
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?