When I disable the off canvas menu, I get many errors displayed in the mega menu. See example image.

The mod_menu is looking for "item->caption".

default_component on line 87
default_url on line 81

If I switch on the off canvas menu it does not show these errors.

D.

    dave_3d
    Hi
    May i know the Joomla and PHP version of your site?
    This appear PHP warnings.

    I am using the latest Joomla 4.1.2 with PHP 8.0.12. Using ts4_b5_blank 1.1.5 and T4 2.1.6.

    The problem is not PHP. The actual line of the problem :

    $linktype = (!empty($item->icon)  ? $item->icon  : "") . $linktype . $item->caret . $item->caption;

    The problem is with "$item->caption" being undefined when Offcanvas menu is disabled.

    BUT, when I enable Offcanvas menu these errors are not there.

    If I disable the Offcanvas menu these errors appear.

    See attached images.

    D.

      dave_3d
      Hi
      I tried same steps but not found it

      Can you check error report is set to default, if it still showing, kindly put the site online and submit a temp super user login in edit fields. It is PHP waring show on your site, need to tested on the site as I am not able to replicate the same issue.

      Hi Ninja,

      I checked and a new version of the T4 framework was released yesterday. Perhaps you were testing with this new version ?

      I looked to view changes and the mod_menu files have been changed.

      I upgraded my T4 framework to 2.1.7.

      The errors are not there - the last updates have solved that error.

      Thanks for looking into this.

      D.

      Ninja locked the discussion.
      Write a Reply...
      You need to Login to view replies.