Tagged: , ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #1003826

    Hi Guys,

    I am getting the referenced error when trying to use the Instagram widget on my website. I’ve searched the forum for troubleshooting tips, but have not been able to make the widget work properly.

    I am running Enfold 4.2.6 on a GoDaddy (sorry =) ) shared host, running php 5.6 (tested with 7.0, 7.1 and 7.2, too – all with no luck).

    I found your recommended solution to replace class-framework-widgets.php (from https://kriesi.at/support/topic/instagram-has-returned-invalid-data-2/). I made a backup copy of the original file – and then overwrote it. The new file crashed the site completely, so I switched it back.

    Any thoughts?



    Hey pabloj13,

    Thank you for using Enfold.

    Have you tried to upgrade to version 4.4.1? Let us know if the upgrade helps. If it didn’t, please post the login details in the private field.

    Best regards,


    Hi Ismael,

    Thank you for the help. Upgrading fixed the issue immediately.

    I have one follow-up question. Is there a way to get the Instagram widget to add more than 12 images – maybe something with a pagination?

    Thank you again for your help!



    This is possible – open up enfold\framework\php\class-framework-widgets.php and go to line 2657

    <option value="12" <?php selected( 12, $number ) ?>>12</option>

    Replace 12 with any higher value and save the file. Then go to the widget settings and select this value.

    Best regards,


    Hi Dude,

    Thank you for the help. It now pulls in any number of instagram photos I specify. :) However, the images are coming in different sizes. I am currently using the four column layout – and the outside images (columns 1 and 4) are slightly larger than the two middle images in each row. I can’t see anything in the css that would be making this happen.
    Any insight?


    Hi John,

    Thanks for the feedback, where can we see the results you are getting?

    Best regards,


    This is a website in progress, so I shared the link in the private content section.



    Here what I do see

    let us know if that works out for you.

    Best regards,


    Thanks Basilis. That is definitely not what I see. Any idea what might be causing this discrepancy? I see the same thing on mac and pc – on Chrome and Firefox.




    Please try to add this code to the quick css field:

    #top #wrap_all .av-instagram-item {
        padding: 0;
        border: 2px solid #fff;

    Best regards,

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.