Than you so much Brandon! With your findings I was able to fix my site that was completely down because of those two little commas.
May I ask, what tool did you use to find the syntax errors?
Apologize,
I still doesn’t know what should I do with the script.
thank you
Hello all,
Apologies for this and thank you for flagging it. We’re pushing a new version (2.1.1) shortly. As Brandon rightly pointed out the issue is trailing commas that aren’t supported in PHP versions 7.2 and under.
I was able to find 3, the two Brandon flagged and one on line 84 of includes/Admin/Enhanced_Catalog_Attribute_Fields.php.
@rickymuchtar the argument lists on those lines finish with commas. This is a common coding practise if the argument list spans multiple lines. However it has only been supported by PHP recently. So you need to delete the commas at the end of the lines in the files flagged by Brandon and then save the file.
Thank you and sorry again
Hi there,
We’ve just released version 2.1.1, which contains a fix for this issue. Would you please try updating to the latest version and let us know how it goes?
Cheers,
Benjamin
Thanks @benjaminskyverge. Works fine now.
Hey @aidvu,
Great, thanks for checking and for reporting back here!
I’ll go ahead and mark this thread as resolved now. If anyone if runs into any issues with v2.1.1, please don’t hesitate to create a new support thread; we’re happy to help! 🙂
Cheers,
Benjamin