"Warning: array_key_exists():" Error at top of all BuddyPress Pages.

Posted in: Newspaper
Post count: 13

Hi.

I did post this in reply to someone who had the exact same error message but for a different problem but I thought it might be a good idea to post separately.

I’m getting this error code but only on BuddyPress pages automatically created by BuddyPress – /Members, /Activity and /Groups etc. The error is …..

Warning: array_key_exists(): The first argument should be either a string or an integer in /home/oldpalud/public_html/wp-content/plugins/td-composer/legacy/Newspaper/init.php on line 31583

Everything is completely up to date. I updated via ftp, cleared caches etc. Turning wp_debug to true shows the same message.

I can’t work out what the problem might be. I tested on a staging site – same version of BuddyPress 4.20, Latest WordPress but only v 9.5 of Newspaper and the error is not showing.

There is also no error if I switch to WordPress 2019. So I think it is an issue with something in the theme after v 9.5.

Any assistance would be very much much appreciated. I have to get this resolved but I’m stumped.

Cheers!

PS – I very much appreciate the work you do.

  • This topic was modified 7 years by RajeshS.
  • This topic was modified 7 years by RajeshS.
Post count: 20688

Hi,

It seems the same is happening on my end as well, I made a test with the plugin. The buddypress pages all display the warning you mention, in the frontend
http://prntscr.com/nfnnmp
I am testing with the latest WordPress, theme, and plugin versions and it is happening. I also tried an older plugin version, but same result. This may be happening after the theme 9.7 update, the warning refers to a file that did not exist prior to 9.7.

I will add this issue on our list immediately, it will be investigated and fixed as soon as possible. I am sorry for this inconvenience.

Thanks

Post count: 13

Thanks for your help Simion. That would be very much appreciated.

Post count: 13

Hello Simion,

Just wanted to let you know the 9.7.2 update fixed the problem for me.

Many thanks for your help.

Best wishes.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.