Home Forums Basel – Premium Template Instagram has returned invalid data 2019

This topic contains 5 replies, has 2 voices, and was last updated by Elise Noromit Elise Noromit 6 days, 2 hours ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #149138

    fiodor
    Customer

    Hi guys,

    recently I noticed that Instagram stopped working.

    We have problems on the homepage https://ades-art.com/ and product pages https://ades-art.com/shop/bluzki/bluzka-zhenskaya-mod-441/

    I’ve tried the solution you provided in last year, it doesn’t work.

    Thanks,
    Fiodor

    Private Content Hidden
    #149144

    Hello,

    I cannot log in to the admin panel. Please update your theme if you have not done that yet https://xtemos.com/docs/basel/update-theme/

    Then configure the Instagram as per this instruction: https://xtemos.com/docs/basel/faq-guides-2/setup-instagram-api/

    Best Regards

    • This reply was modified 6 days, 17 hours ago by Elise Noromit Elise Noromit.
    #149146

    fiodor
    Customer

    I’ve updated user’s password you may now log in with the same creditentials.

    Is there a way to fix instagram without updating? There are some updates in the parent theme so we will update a bit later.

    #149168

    Hello,

    Please move all the customizations into the child theme not to lose. You can use this method meanwhile:

    Please add this code to the functions.php of the child theme:

    add_filter( 'basel_intagram_user_ajax_load', '__return_true' );

    Next, find the file

    basel\inc\shortcodes\shortcodes.php

    Find this line:

    if ( is_wp_error( $media_array ) && $media_array->get_error_code() === 'invalid_response_429' ) {

    and replace with this line:

    if ( is_wp_error( $media_array ) && ( $media_array->get_error_code() === 'invalid_response_429' || apply_filters( 'basel_intagram_user_ajax_load', false ) ) ) {

    Best Regards

    #149197

    fiodor
    Customer

    As always, a huge thanks for quick response!

    Btw, it works now. I didn’t make a change, did you?

    #149286

    Hello,

    I did not change anything either. If you have any questions please feel free to contact us.

    Best Regards

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.