Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #897726

    Hey,
    I don’t know what happen but as you can see the instagram widget does not look good!
    http://www.hotelladdict.se

    I also have this error text in the footer:
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘av_custom_iframe_height’ not found or invalid function name in /home/d8737/hotelladdict.se/wp-includes/class-wp-hook.php on line 286

    What have I done? Any idea?

    Thanks
    Charlotte

    #897786

    Hi Charlotte!

    Thank you for using Enfold.

    Please test the following modification: https://kriesi.at/support/topic/instagram-feed-showing-text-and-not-loading-images/#post-897766

    Cheers!
    Ismael

    #897973

    Hi.

    Sorry I don’t understand. Where do I find this file:

    Please edit the framework > php > class-framework-widgets.php file, go to line 1671.

    Thanks
    Charlotte

    #898426

    Hi Charlotte,

    This is the file that you’re looking for
    /wp-content/themes/enfold/framework/php/class-framework-widgets.php

    You might want to use FTP to find it.

    Best regards,
    Victoria

    #898440

    Thanks Victoria.
    I have change the code according to this instructions but I still get the error text when I choose Small image in the instagram widget…

    Best Regards
    Charlotte

    Please edit the framework > php > class-framework-widgets.php file, go to line 1671.

    $image[‘thumbnail’] = str_replace( ‘s640x640’, ‘s160x160’, $image[‘thumbnail_src’] );
    $image[‘small’] = str_replace( ‘s640x640’, ‘s320x320’, $image[‘thumbnail_src’] );
    Replace it with:

    $image[‘thumbnail’] = $image[‘thumbnail_src’];
    $image[‘small’] = $image[‘thumbnail_src’];

    #898981

    Hi,

    This should be fixed in the latest version of the theme (4.2.1), please try updating to that: http://kriesi.at/documentation/enfold/updating-your-theme-files/

    Best regards,
    Rikard

    #898982

    Hi Charlotte,

    What is the error?

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #899012

    Hi Rikard.

    When I check manually for an update it says: No Updates available. You are running the latest version! (4.2)

    Hi Victoria,
    I have added the login now.

    Thanks!
    Charlotte

    #899314

    Hey,

    I don’t know what I did but it the instagram widget is working now!

    But I don’t know where this text came from in the footer:
    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘av_custom_iframe_height’ not found or invalid function name in /home/d8737/hotelladdict.se/wp-includes/class-wp-hook.php on line 286

    What do you think it is?

    Thanks
    Charlotte

    #899473

    Hi Charlotte,

    Great, glad you got it working. I tried loggin into your site but I couldn’t see that warning, where exactly are you seeing that?

    Best regards,
    Rikard

    #899552

    Rikard,

    You don’t need to login to view it. As I said it is in the footer. Just scroll down.

    Thanks
    Charlotte

    #900663

    Hi Charlotte,

    You can disable debug display, here is how to do it.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #901489

    Thanks Victoria but it says:

    “It’s important to keep in mind that WP_DEBUG should not be used on a live site. While it’s a useful feature during development, it can be dangerous on a live site because text in the PHP notices can reveal details about your code, paths and other information to visitors to your site.”

    Why do you recommend me to use it when my website is live?

    /Charlotte

    #901952

    Hi Charlotte,

    Image 2018-01-24 at 12.57.03.png
    It says that you should disable debug display. But the errors should still be written to a log file, and the article helps you to set it up. You don’t need to do it if you don’t want.

    Best regards,
    Victoria

    #902031

    Hi Victoria.

    So there is no other solution?
    Thanks
    Charlotte

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘av_custom_iframe_height’ not found or invalid function name in /home/d8737/hotelladdict.se/wp-includes/class-wp-hook.php on line 286

    #903492

    Hi Charlotte :)

    Could you please firstly update Enfold to the latest version 4.2.2 – kriesi.at/documentation/enfold/updating-your-theme-files/, preferably via FTP and check if that helps? If it does not, please let us know.

    Regards,
    Yigit

    #903496

    Hi Yigit,

    it’s working now :)

    Charlotte

    #903672

    Hi,

    Glad to hear that it’s working :) Let us know if you need further assistance or if we can close the thread.

    Best regards,
    Nikko

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