1. oksystems
  2. RO CSVI
  3. Wednesday, 15 October 2025
  4.  Subscribe via email
When save a new template i get error: Argument #1 ($string) must be of type string, array given
in this case Export Virtuemart Order
Accepted Answer Pending Moderation
Hi,

Well we don't need ChatGPT if we know where the error originates from but restoring your template and editing/saving did not show the error. However you are on version 8.20.0 and the current version is 9.0.1.

Please update RO CSVI and see if the issue still occurs. In case you still have the issue, please turn on Error Reporting in the Joomla Global Configuration and post the full error, that should tell us where the error is and we can fix it.

Let us know how it goes.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 1 hour ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
its version 8.20.0

PHP version 8.3.24
Joomla! version 5.3.2

See attachment: template test



Chatgpt tells me to change (but i dont know where)

htmlspecialchars($value)

in

if (is_array($value)) {
$value = implode(', ', $value); // array omzetten naar string
}
echo htmlspecialchars($value, ENT_QUOTES, 'UTF-8');
Attachments (1)
  1. 4 hours ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hi,

Please post a backup of your template as well so we can check the issue with your template.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 7 hours ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello,
Can you tell me the RO CSVI and Joomla version you are using?
Kind regards,

Tharuna

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


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