'null' values in array using views.

Created on 9 April 2024, 7 months ago
Updated 15 April 2024, 7 months ago

Problem/Motivation

I'm working to create a 'rest export' view for user profiles in Drupal, intending to include social links via the Social Media Links Block and Field module. Despite setting everything up correctly, the social link fields return 'null' when displayed in both REST export and traditional views. This suggests an issue with retrieving or displaying these field values, rather than a specific problem with REST functionality.

Steps to reproduce

  1. Install Drupal 9/10, with the Views and Social Media Links Block and Field modules enabled.
  2. Create a new user view, opting for either REST export or a standard view.
  3. Include the social link field in the view's field list.
  4. Configure and preview or save the view.
  5. Notice the social link fields displaying as 'null'.

Proposed resolution

While I do not have a direct solution, I recommend verifying the Social Media Links Block and Field module's compatibility with the current Drupal and Views versions. Community insights or workarounds for this issue would be invaluable.

🐛 Bug report
Status

Active

Version

2.9

Component

Code

Created by

🇮🇹Italy sepa_cleversoft

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

Comments & Activities

Production build 0.71.5 2024