volition.design
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Jetpack] Can't comment on Carousel images – errorI am glad it worked for you. Happy to help!
The blog switching is required for a multisite network of blogs.
http://codex.ww.wp.xz.cn/Create_A_Network
If you have not enabled multisite, I think you don’t need blog switching. So we can safely comment those lines.
Forum: Plugins
In reply to: [Plugin: Jetpack] Can't comment on Carousel images – errorHi jdblundell,
Comment the entire if block at line 305 in file jetpack-carousel.php like this, and see if that fixes the error for you.
// Used in context like NewDash
$switched = false;
/* commented because this code is giving fatal error
if ( $_blog_id != get_current_blog_id() ) {
switch_to_blog( $_blog_id );
$switched = true;
}
*/See how I have commented the entire if block in that file. I only have one blog so I don’t need blog switching. $switched is set to false, so this worked for me.
Forum: Plugins
In reply to: [Plugin: Jetpack] Can't comment on Carousel images – errorI have fixed this issue on my website. When I looked closely be debugging, I got the error – “call to undefined function switch_to_blog()”
That function is being called on line 305 in jetpack-carousel.php
I have only one blog so I don’t need blog switching, and hence commented the entire if block. That fixed the issue for me.
Forum: Plugins
In reply to: [Plugin: Jetpack] Can't comment on Carousel images – errorFirst of all, thanks Syed for extracting this cool gallery carousel out of the Jetpack module and uploading it as a separate plugin.
I am also facing the same problem. Image commenting does not work and gives the error – “Sorry, but there was an error posting your comment. Please try again later.”
Syed, could you please look into this as many of us are facing the same problem. Thanks!