aioseop_title hook getting ob_end_flush(): Cannot use output buffering
-
Hello,
I have used aioseop_title hook for create dynamic title and getting ob_end_flush(): Cannot use output buffering fetal error.
I have already used same code on other website and it’s work fine. but bellow link it’s not working.
https://www.textileandhandicraft.com/shop/aaradhya/
add_action( 'aioseop_title', 'change_seo_meta_title' );
function change_seo_meta_title( $seo_title ){
if(is_product('aaradhya')){
//echo "bh";die;
$seo_title_exists = get_seo_details($post->slug,'title');
if($seo_title_exists!=false){
$seo_title = $seo_title_exists;
}
}return $seo_title;
}
Please suggest how to resolved this issue.
Thanks
The page I need help with: [log in to see the link]
- The topic ‘aioseop_title hook getting ob_end_flush(): Cannot use output buffering’ is closed to new replies.