Syntax Error when saving order

ThemeBurn SupportForumsOpenCart ThemesTechnopolis OpenCart ThemeSyntax Error when saving order

This topic has been marked as not resolved.

Hi,

When I edited an existing order and tried to save it, i’ll get the following error:

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

OK

Fatal error: Cannot redeclare array_insert() (previously declared in /home/vhosts/MYSITE/httpdocs/v2/system/vendor/BurnEngine/library/Utils.php:988) in /home/vhosts/MYSITE/httpdocs/v2/system/library/mpdf/includes/functions.php on line 45

Which ends up in being unable to save changes. Any idea how to fix this?

December 8, 2016 at 8:55 pm #54155

Hi,

We will need the website url, admin and ftp access, so we can check.

You can use hidepost to share private information with the support staff.

BR,
ThemeBurn team

December 9, 2016 at 4:55 pm #54184

Here you go:

Thansk in advance

December 12, 2016 at 10:53 am #54236

Hi,

we fixed the conflict between our theme and one of your extensions (PDF Invoice Pro).

Regards,
ThemeBurn team

December 16, 2016 at 9:42 am #54408

Can you tell me which files you changed.
Then I can copy them to our fresh installation.
Thanks

January 30, 2017 at 12:05 am #55953

The changed file is system\vendor\BurnEngine\config\data\ocmod\engine2200.ocmod.xml. The change is actually compatible with the default opencart installations, so we decided to include it in the future releases, so you don’t have to worry when upgrading.

Regards,
ThemeBurn team

February 1, 2017 at 9:27 am #56024

After overwriting the file i still encouter the error:

Fatal error: Cannot redeclare array_insert() (previously declared in /home/vhosts/go-proguru.nl/httpdocs/system/vendor/BurnEngine/library/Utils.php:988) in /home/vhosts/go-proguru.nl/httpdocs/system/library/mpdf/includes/functions.php on line 45

February 1, 2017 at 12:29 pm #56038

Sorry, we have posted a wrong file. There are actually several files:

system/vendor/BurnEngine/admin/ThemeAdminExtension.php
system/vendor/BurnEngine/admin/plugin/ColorsPlugin.php
system/vendor/BurnEngine/library/Utils.php
system/vendor/BurnEngine/model/data/AreaItemData.php

February 1, 2017 at 2:21 pm #56042

Still no solution.
All files you put here are exactly the same on my old and new config.
Mayeb you check it on my server?

February 1, 2017 at 6:57 pm #56047

We updated the last mentioned files on your server. Can you please check if the error still happens?

Regards,
ThemeBurn team

February 6, 2017 at 10:52 pm #56139
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.