Hi,
I have encountered a bug in the New version of ROCSVI 7.15. - Virtuemart Plugin
I do not use import rules in my template.
In particular, only from CRON script, when I try to import a list of articles I get the following error:
Parse error: syntax error, unexpected '?' in /plugins/csvirules/fieldcombine/fieldcombine.php on line 173
This error does not occur if the file is imported from the backend!
Comparing the "fieldcombine.php" file of version 7.15 with the file of version 7.14, there is an excess code, in line 173 which releases the error!
This is the excess code:
$defaultValue = $fieldDefaultValue->default_value ?? '';
I proceeded to remove the excess code (?? '') and the new code is:
$defaultValue = $fieldDefaultValue->default_value;
After this modification the problem is solved!
can you verify why this happens?
Why did this bug occur in the new version?
This Workaround is correct?
I hope it will be useful to users
Thanks
- trackidea
- RO CSVI
- Tuesday, 14 April 2020
- Subscribe via email
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!