Class 'League\Csv\Writer' not found

Created on 10 January 2022, almost 3 years ago
Updated 16 November 2023, about 1 year ago

Problem/Motivation

Error: Class 'League\Csv\Writer' not found in Drupal\csv_serialization\Encoder\CsvEncoder->encode() (line 150 of /public_html/modules/csv_serialization/src/Encoder/CsvEncoder.php)

Steps to reproduce

Attempting to export a view.

Current setup

  1. Drupal: 8.9.20 (Update underway but not completed yet)
  2. PHP: 7.3.33
  3. CSV Serialization: 8.x-2.0 (Installed via Composer)
  4. League/CSV: 9.6.2 (Installed via Composer, confirmed via json and lock file)

I've confirmed all the files have the correct user:group and permissions.

Caches have been cleared, modules and libraries have been re-installed (via composer), other newer versions (9.1 and ^9) have been tried.
Same error constantly.

πŸ› Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia Toby Wild

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024