“Error: Unexpected token ‘<', " “… is not valid JSON” in theme builder

This topic has 13 replies, 4 voices, and was last updated 6 months, 3 weeks ago ago by Andrew Mitchell

  • Avatar: thevedansia
    thevedansia
    Participant
    April 24, 2024 at 08:54

    This particular error is coming in theme builder when i was trying to edit footer

    this issue happened after this issue came “We are unable to connect to the XStore API with the XStore theme. Please check your SSL certificate”

    this particular issue resolved but thi new issue arrive although in System Requirements page its showing all ok and green check but when i click on the patches its showing the same isse “We are unable to connect to the XStore API with the XStore theme. Please check your SSL certificate or white lists.”

    Wp login info and FTP info is provided

    theme is becoming full of bugs fix this

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    12 Answers
    Avatar: thevedansia
    thevedansia
    Participant
    April 24, 2024 at 09:02

    “We are unable to connect to the XStore API with the XStore theme. Please check your SSL certificate or white lists.
    cURL error 28: Connection timed out after 2001 milliseconds”

    this issue again came

    Files is visible for topic creator and
    support staff only.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 24, 2024 at 09:25

    Hello, Thevedansia,

    Thank you for getting in touch with us.

    https://prnt.sc/ejT0jp4FOft8 – please provide the correct FTP access.

    https://prnt.sc/ZQ8FgEp9SaLU – We recommend that you contact your hosting provider for further assistance. They are best equipped to help you resolve any issues you may be experiencing.

    For further reading and a more comprehensive understanding of the error, you may find the following resources helpful:
    https://kinsta.com/knowledgebase/curl-error-28/
    https://www.wpbeginner.com/wp-tutorials/how-to-fix-curl-error-28-connection-timed-out-after-x-milliseconds/

    Kind Regards,
    8theme team

    Avatar: thevedansia
    thevedansia
    Participant
    April 24, 2024 at 10:15

    we have spoke to my hosting provider and they this issue is coming from the theme itself new FTP access given in private content area

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 24, 2024 at 12:15

    Hello,

    We appreciate your prompt response.

    Please try to add the next code in the functions.php file of the child theme:

    function increase_http_request_timeout( $r, $url ) {
        $r['timeout'] = 500; // Increase timeout to 500 seconds
        return $r;
    }
    add_filter( 'http_request_args', 'increase_http_request_timeout', 10, 2 );

    and let us know the result.

    Could you kindly confirm whether your server employs any white or blacklists? Additionally, we would appreciate it if you could verify whether the following IP addresses are blocked on your server:
    – 176.9.106.102
    – 136.243.62.54
    Thank you for your attention to this matter.

    Kind Regards,
    8theme team

    Avatar: thevedansia
    thevedansia
    Participant
    April 24, 2024 at 13:39

    i have tried not working

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 24, 2024 at 13:40

    Hello,

    Could you kindly confirm whether your server employs any white or blacklists? For this contact your hosting provider.
    Additionally, we would appreciate it if you could verify whether the following IP addresses are blocked on your server:
    – 176.9.106.102
    – 136.243.62.54
    Thank you for your attention to this matter.

    Kind Regards,
    8theme team

    Avatar: thevedansia
    thevedansia
    Participant
    April 24, 2024 at 15:05

    new issue arrived

    Error: Unexpected token ‘<', "
    “… is not valid JSON
    in THEME BUILDER
    AND IN THE FOOTER
    “Warning: Undefined array key “icon” in /home/givldmzl/vedansia.com/wp-content/plugins/elementor/includes/widgets/icon-box.php on line 695

    Warning: Undefined array key “icon” in /home/givldmzl/vedansia.com/wp-content/plugins/elementor/includes/widgets/icon-box.php on line 708″

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 24, 2024 at 16:08

    Dear @thevedansia,

    We hope this message finds you well.

    Upon reviewing the error you reported, we have determined that it originates from the default files of the Elementor plugin (https://prnt.sc/Po9_23Jk6TIN), which falls outside the scope of our support services as we primarily provide assistance for our proprietary projects.

    In an effort to resolve the issue, we replaced the problematic Icon Box widget from Elementor with one of our XStore widgets. You can view the changes here: https://prnt.sc/12DEDe_DyeRg. This modification successfully eliminated the errors on the frontend. However, it did not rectify the issue within the Builders panel.

    We noticed there is a switcher to a table layout, visible here: https://prnt.sc/TQNeBr7eIjda, but we were unable to identify the underlying cause of the error that affects the Builders panel. To facilitate your workflow, we have activated this feature for you, enabling you to edit any of your builders. You can access this functionality here: https://prnt.sc/1UDlR-3f9pas.

    Should you require further assistance or have additional questions, please do not hesitate to contact us.

    Kind regards,

    Jack Richardson
    8Theme’s Team

    Avatar: thevedansia
    thevedansia
    Participant
    April 24, 2024 at 19:39

    This is the reply which we have got from our hosting provider.

    “I noticed in your other ticket you have the same issue so I’ve merged them. They recommended to test two IPs and I only knew of 1 IP the last time, here is a test for both:

    [givldmzl@sg1-ts111 ~]$ curl -I 176.9.106.102

    HTTP/1.1 301 Moved Permanently

    Server: nginx

    [givldmzl@sg1-ts111 ~]$ curl -I 136.243.62.54

    HTTP/1.1 403 Forbidden

    Server: nginx

    One is redirecting which is fine, the other is giving us a 403. The 403 response is coming from their server and indicates it may be blocking you, but we cannot be sure why. Perhaps that one is no longer valid. I would recommend you to forward this information to them, and get back to us if anything else needs to be tested.”

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 26, 2024 at 14:16

    Hello, thevedansia,

    We hope this message finds you well. We would like to inform you that the issue you experienced, caused by the distance between servers resulting in request times exceeding 10 seconds, has been successfully resolved.

    However, please be aware that this problem may recur in the future due to the inherent nature of the server setup.

    Thank you for your understanding and cooperation.

    Best Regards,

    8Theme’s Team

    Avatar: thevedansia
    thevedansia
    Participant
    April 27, 2024 at 12:49

    issue is not solved yet i am not able to apply the patch update screenshot is attached for the reference

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 29, 2024 at 08:26

    Hello, thevedansia,

    Unfortunately, we are unable to take any further action on our end. As more data is transmitted, the response time correspondingly increases. We recommend that you contact your server provider, as they may be able to assist you with this issue.

    Please be assured that there are no blocks (neither whitelist nor blacklist) on our server, and it is accessible from all locations.

    For your reference, please visit the following link:

    https://www.host-tracker.com/en/ic/2/a67fdd02-7a75-4ffb-ad01-8bb6a4aa633b?u=https%253A%252F%252F8theme.com%252Fimport%252Fupdate-history%252Fxstore%252F%255D(https%253A%252F%252Fwww.host-tracker.com%252Fen%252Fic%252F2%252Fa67fdd02-7a75-4ffb-ad01-8bb6a4aa633b%253Fu%253Dhttps%253A%252F%252F8theme.com%252Fimport%252Fupdate-history%252Fxstore%252F

    Best Regards,
    The 8Theme Team

  • Viewing 13 results - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.