-
AuthorPosts
-
January 15, 2018 at 10:34 pm #897726
Hey,
I don’t know what happen but as you can see the instagram widget does not look good!
http://www.hotelladdict.seI 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 286What have I done? Any idea?
Thanks
CharlotteJanuary 16, 2018 at 1:52 am #897786Hi 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!
IsmaelJanuary 16, 2018 at 11:04 am #897973Hi.
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
CharlotteJanuary 17, 2018 at 12:25 pm #898426Hi Charlotte,
This is the file that you’re looking for
/wp-content/themes/enfold/framework/php/class-framework-widgets.phpYou might want to use FTP to find it.
Best regards,
VictoriaJanuary 17, 2018 at 12:48 pm #898440Thanks 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
CharlottePlease 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’];January 18, 2018 at 10:29 am #898981Hi,
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,
RikardJanuary 18, 2018 at 10:30 am #898982Hi 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,
VictoriaJanuary 18, 2018 at 10:59 am #899012Hi 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!
CharlotteJanuary 18, 2018 at 9:43 pm #899314Hey,
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 286What do you think it is?
Thanks
CharlotteJanuary 19, 2018 at 5:09 am #899473Hi 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,
RikardJanuary 19, 2018 at 8:40 am #899552Rikard,
You don’t need to login to view it. As I said it is in the footer. Just scroll down.
Thanks
CharlotteJanuary 22, 2018 at 8:23 am #900663Hi Charlotte,
You can disable debug display, here is how to do it.
If you need further assistance please let us know.
Best regards,
VictoriaJanuary 23, 2018 at 3:35 pm #901489Thanks 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
January 24, 2018 at 6:58 am #901952January 24, 2018 at 10:42 am #902031Hi Victoria.
So there is no other solution?
Thanks
CharlotteWarning: 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
January 26, 2018 at 7:34 pm #903492Hi 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,
YigitJanuary 26, 2018 at 7:50 pm #903496Hi Yigit,
it’s working now :)
Charlotte
- This reply was modified 6 years, 11 months ago by charlotteraboff.
January 27, 2018 at 1:55 pm #903672Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.