Warning: array_merge(): Argument #2 is not an array

joeriFranck 11 Aug, 2017
In the backend on chronoforms 6 there is this error message:

Warning: syntax error, unexpected '(' in /home/nspv1be/public_html/nspv_snps/administrator/components/com_chronoforms6/chronoforms/locales/nl_NL.ini on line 1 in /home/nspv1be/public_html/nspv_snps/libraries/cegcore2/libs/lang.php on line 73

Warning: array_merge(): Argument #2 is not an array in /home/nspv1be/public_html/nspv_snps/libraries/cegcore2/libs/lang.php on line 74



The same error is displayed on all the Dutch forms from Chrono 6, the french forms are working fine

Somebody familiar?
GreyHead 11 Aug, 2017
Hi joeriFranck,

Please copy and paste here the first few lines of the file administrator/components/com_chronoforms6/chronoforms/locales/nl_NL.ini

Bob
joeriFranck 11 Aug, 2017
##Translated 2017/05 by C.J.Kok (SPABO)
##Any remarks/additions/changes are welcome!
_SELF = "_zelf"
2ND_ITEM_SHIPPING_COSTS = "2e item verzendkosten"
A_USER_WITH_THE_SAME_USERNAME_OR_EMAIL_ALREADY_EXISTS = "Een gebruiker met dezelfde gebruikersnaam of e-mail bestaat al."
A_USER_WITH_THIS_ACTIVATION_CODE_DOES_NOT_EXIST = "Een gebruiker met deze activatiecode bestaat niet."
ACCESS = "Toegang"
ACTION = "Actie"
ACTION_URL_AND/OR_PARAMETERS = "URL actie en/of parameters"
ACTIONS = "Acties"


probably the '_self' should not be translated?
GreyHead 11 Aug, 2017
Answer
1 Likes
Hi joeriFranck ,

The problem appears to be from the (SPABO) in the first row - I see that from PHP 7.0 # marks are no longer used to mark comments in .ini files. I wonder if that is the problem here. Please try replacing the ## in the first two lines with ;
; Translated 2017/05 by C.J.Kok (SPABO)
; Any remarks/additions/changes are welcome!
_SELF = "_zelf"

Bob
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger