Sectigo Loopkup Orders show Error Uncaught SyntaxError: JSON.parse: expected

When access Sectigo Products from Addons of WHMCS admin show error

Uncaught SyntaxError: JSON.parse: expected ',' or '}' after property value in object at line 1 column xxx of the JSON data

Because the returned data contains configuration in the configuration column with incorrect syntax

Open modules/addons/sectigo/src/Services/WHMCSRepository.php, line 1053

mod_sectigo_service_details.*

edit to

'mod_sectigo_service_details.orderid',
'mod_sectigo_service_details.omsnumber',
'mod_sectigo_service_details.status',
'mod_sectigo_service_details.serviceid',
'mod_sectigo_service_details.created_at',
'mod_sectigo_service_details.updated_at',

or download the attachment WHMCSRepository.zip and replace the current file

Tested with sectigo_addon_1.6.28.2

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

WHMCS: fread() expects parameter 2 to be int, float given

When the Support Ticket Mail Import Log displays the error "fread() expects parameter 2 to be...

Powered by WHMCompleteSolution