1. mangeshmane
  2. RO CSVI
  3. Wednesday, 18 February 2026
  4.  Subscribe via email
DivisionByZeroError When Importing Joomla Articles with Custom/Subform Fields (Joomla 6 + PHP 8.4)

Hello RO CSVI Support Team,

I am facing a serious issue while importing Joomla articles using RO CSVI, where the import fails with a DivisionByZeroError, apparently related to custom fields (especially subform fields).

Environment Details

Joomla Version: 6.0.2

PHP Version: 8.4 (also tested with PHP 8.3)

Server: WAMP (Windows local environment)

RO CSVI Import Type: Joomla Content → Articles

Custom Fields Extension Installed: ACF Custom Fields

Several Joomla core custom field types + subform fields exist on the site.

What Works Successfully

We successfully imported the following without issues:

Categories

Field Groups

Fields

Articles without custom field values

A basic article import works correctly when using only standard fields such as:

title, alias, introtext, state, category_path


Additionally, some articles had blank introtext values, which caused import issues until we replaced empty values with:

<p></p>


After that, article import completed successfully.

Main Issue: DivisionByZeroError

When custom fields are enabled during the article import (especially subform fields), the import fails with:

Division by Zero error

Import stops unexpectedly

RO CSVI logs show that the crash occurs during the custom field import stage.

The Joomla PHP error log contains warnings such as:

Deprecated DOMCdataSection null value warnings

Undefined property: stdClass::$customfield

Errors originating from:

plugins/fields/subform/
administrator/components/com_fields/


This strongly suggests that RO CSVI is attempting to process a NULL custom field value, leading to the DivisionByZeroError.

Temporary Workaround Found

Disabling the Joomla plugin:

Fields - Subform


allowed the article import to complete successfully.

So the issue appears directly related to:

✅ Subform field processing
✅ NULL/empty custom field values during import
✅ Compatibility with Joomla 6 + PHP 8.4

Current Requirement

We have now imported articles without custom field values, but we still need to import the missing custom field data separately for already imported articles, using criteria like:

alias

category_path

However, enabling subform/custom field import again triggers the same error.

Request for Support

Could you please confirm:

Is this a known bug in RO CSVI when importing subform custom fields on Joomla 6 / PHP 8.4?

Is there an update or patch available to handle NULL custom field values safely?

What is the recommended way to import subform/custom field values for existing articles without triggering DivisionByZeroError?

Thank you very much for your support.
I can provide full RO CSVI logs and sample CSV files if required.
Accepted Answer Pending Moderation
Hello,
I understand you are having problem importing Subform custom field. There is no known issues with this custom field import. So Please post import debug log and import file with subform custom field to check. To get the import debug log see How to collect debug information? document.

Also post a screenshot on how you have subform field setup in Joomla fields page.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 2 days ago
  2. RO CSVI
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!