WSOD on Import (D 9.5.7)

Created on 26 March 2023, over 1 year ago
Updated 28 August 2023, 10 months ago

Problem/Motivation

Once source data is ready for import, actually importing the source crashes the site (WSOD).

Steps to reproduce

Create a CSV table locally, and try to import to your site.

Result:
Deprecated function: fopen(): Passing null to parameter #1 ($filename) of type string is deprecated in create_node() (Line 199 in
/modules/contrib/contentimport/contentimport.module)

immediately followed by
ValueError: Path cannot be empty in fopen() (Line 199 in /modules/contrib/contentimport/contentimport.module)

Proposed resolution

I'm not a PHP coder, but I suppose avoiding deprecated functions and assuring valid values before using should help.

πŸ› Bug report
Status

Active

Version

9.3

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria nofue

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

Comments & Activities

  • Issue created by @nofue
  • πŸ‡ΊπŸ‡ΈUnited States TolstoyDotCom L.A.

    The module code looks like it could stand being updated. Based on the source, it looks like this could be caused by a bad file or a bad configuration. Are you able to upload other files?

  • πŸ‡ΊπŸ‡ΈUnited States CLKeenan

    I'm getting the exact same error. Tried all kinds of variations in the spreadsheet. Tried with only the required fields and still had no luck.

Production build 0.69.0 2024