The Phone number field needs to be installed

Created on 2 April 2025, 6 days ago

Problem/Motivation

Hello, i've some problems with username_phone submodule.
- After activated:
+ Report: The Phone number field needs to be installed
+ Cannot reinstall or uninstall submodule.

Error:

drush pmu username_phone

In ExceptionHandler.php line 56:
                                                                                                              
  SQLSTATE[42S22]: Column not found: 1054 Unknown column 'phone' in 'where clause': SELECT 1 AS "expression"  
  FROM                                                                                                        
  "v1_users_field_data" "t"                                                                                   
  WHERE "phone" IS NOT NULL                                                                                   
  LIMIT 1 OFFSET 0; Array                                                                                     
  (                                                                                                           
  )                                                                                                           
                                                                                                              

In StatementWrapperIterator.php line 113:
                                                                                    
  SQLSTATE[42S22]: Column not found: 1054 Unknown column 'phone' in 'where clause' 

Steps to reproduce

- Drupal 11.1.x
- Activate username and username_phone modules.
- Check report and reinstall username_phone submodule.

Thanks

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇻🇳Vietnam thaoquang

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024