Warning: trim() expects parameter 1 to be string, array given in UserStorageController->preSave() (line 367 ... user.entity.inc)
Description of the bug
During a fresh install of Backdrop 1.28.2 a warning is issued that appears in the watchdog log:
Warning: trim() expects parameter 1 to be string, array given in UserStorageController->preSave() (line 367 ... user.entity.inc)
This is on a system running php 7.4
Another possibly unrelated error occurs earlier in the install process:
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-frqhovohvl' at line 1
No other untoward effects are noticed. Install completes successfully and works Backdrop works smoothly.
Additional information
Backdrop CMS: 1.28.2 Installation profile: standard PHP version: 7.4.33 Drupal 7 compatibility: on Database server: 8.0.30 Web server: Apache/2.4.59 (Debian) jQuery version: 3.7.1 jQuery UI version: 1.13.2 CKEditor 5 version: 40.2.0 Used in formats: Basic
Add any other information that could help, such as:
- Backdrop CMS version:
- Web server and its version:
- PHP version:
- Database sever (MySQL or MariaDB?) and its version:
- Operating System and its version:
- Browser(s) and their versions: