TypeError and Notice
-
Howdy, hoping all is well. Better Messages is fantastic and am thankful for the development! ??
I’m using the latest version of Better Messages, latest version of WordPress, PHP 8.1.31. Read another support thread mentioning uninstalling and re-installing Better Messages which I did just in case before posting. I’m experiencing two errors. One is mildly annoying and the other is preventing messages from being sent.A PHP notice is visible on the following view:
Better Messages > Settings > Integrations > Emojis > Emojis for Selector
PHP Deprecated: uksort(): Returning bool from comparison function is deprecated, return an integer less than, equal to, or greater than zero in /home/site/adventuringtimes/wp-content/plugins/bp-better-messages/views/layout-settings.php on line 3415
Screenshot: https://photos.app.goo.gl/qMBPnXj7HnUBQfw79When composing a message via site.com/pm#/new-conversation followed by typing a name it shows:
TypeError: can’t assign to property “thread_id” on “
PHP Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/site/adventuringtimes/wp-content/plugins/bp-better-messages/inc/functions.php on line 1089{\”result\”:\”new_thread\”}”: not an object
Screenshot: https://photos.app.goo.gl/ThxREg6mNLvCGx919
When clicking an existing conversation the message works just fine. This prevents all users from being able to create a new conversation from message view. When sending a message through the user profile it works just fine. It doesn’t matter if the user is friended or not, the same result occurs even with the same user (tested both scenarios). This error also shows in the error log.Warm regards,
Josh
- You must be logged in to reply to this topic.