One line 132 of megamenu.utilities.inc in the current developer edition:

$output = substr($output, 0, strlen($output) - strlen('</div>'));

This is causing major levels of broken-ness in a site that worked with a dev from 2013.

This is the offending line and used to be:

$output = str_replace('</div>','',$output);

I think this needs to be refactored at some point, but I'm thinking others may be having this issue also.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ElusiveMind created an issue. See original summary.

ElusiveMind’s picture

Title: Roll A New Version » Stripping out Div Issue on List items
Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Issue summary: View changes
Priority: Critical » Major
ElusiveMind’s picture

Issue summary: View changes
ElusiveMind’s picture

ElusiveMind’s picture

Status: Active » Needs review