How can I show immediate and/or parents in a title? August 10, 2022 by Tarik Billa You must initialize your variable $parents_titles before the foreach $parents_titles="";