Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
The change of code line 89:
return (isset($containers[$cnid]) ? $containers[$cnid] : NULL);
Gives in the category_display module a foreach () error in this peace of code:
foreach ($categories as $category) {
$is_cat = !empty($category->cnid);
$cat = category_get_container($is_cat ? $category->cnid : $category->cid);
unset($cat->cid);
unset($cat->title);
foreach ($cat as $key => $value) {
$category->$key = $value;
}
Can someone please file a patch?
thanks in advance,
greetings,
Martijn
Comments
Comment #1
JirkaRybka CreditAttribution: JirkaRybka commentedI didn't have such problems in 4.7.x, and neither in 5.x - and both these versions are obsolete now. After more than 2 years of silence, I'm going to just close this issue, assuming it was either site-specific, or more likely fixed in other issue (or no issue at all).
Feel free to re-open if needed.