Hi,
I´m getting exactly the same error message now.
Did you get a grip on the error?
Do you know about the reason?
Best regards and thank you in advance
Markus
Hi @rskangel and @webmark487
Today I started experiencing the same error message. In my case the line number is different. My error is
Notice: Trying to access array offset on value of type bool in /var/www/<my website>/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 1625
Have you recently changed anything to do with permissions, by any chance?
Hi @fawp,
On my site automatic backups are made with UpdraftPlus.
Actually only 3 backups are always kept, older backups should automatically be deleted.
In this case old backups were not deleted automatically, for whatever reason.
It seems that the webspace quota was reached.
After I deleted some backups manually, the site worked again. The error message was gone.
MY POST IN THE BP 12 THREAD SEEMS TO HAVE DISAPPEARED, REPOSTING HERE JUST IN CASE
@imath Hi Mathieu, I just wanted to point out an error. I am getting it on version 9.2.0 but I see the code is the same in version 11.2.0 so I am assuming it’s still not fixed.
Please see this thread
Getting array offset error on value type Bool
The error is Notice: Trying to access array offset on value of type bool in /var/www/<my website>/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 1625
for 9.2.0 and
Notice: Trying to access array offset on value of type bool in /var/www/<my website>/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 1672
for version 11.2.0
Line 1672 in latest version reads:
$retval = $upload_dir[$key];
Hope this is sufficient. Thanks!
Hi @fawp
This will be fixed in 12.0, here’s the ticket on our Trac environment: https://buddypress.trac.wordpress.org/ticket/8966
great, thank you @imath! 🙂
The error message you’re encountering indicates an issue related to accessing an array offset on a boolean value in a specific file of the Buddypress plugin. Deactivate other plugins one by one and test the update process to check if the issue is caused by a conflict with another plugin. This will help you identify if a specific plugin is causing the problem. Ensure that your PHP version is compatible with the Buddypress plugin. Check the plugin documentation or support resources for recommended PHP versions.
Debugging: Enable WordPress