[Resolved] Undefined property

Home Forums Support [Resolved] Undefined property

Home Forums Support Undefined property

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #665847
    comichouse

    In my WPML interface (setup page) I get 2 warning messages concerning GP:

    Notice: Undefined property: stdClass::$container_class in /home/users/livekftp/live-cartooning.nl/wp-content/themes/generatepress/inc/structure/navigation.php on line 224

    Notice: Undefined property: stdClass::$container_class in /home/users/livekftp/live-cartooning.nl/wp-content/themes/generatepress/inc/structure/navigation.php on line 224

    What is wrong here?

    Thx! Hans

    #666066
    Tom
    Lead Developer
    Lead Developer

    This means WPML is removing this attribute from the menu, which we check for elsewhere: https://github.com/tomusborne/generatepress/blob/2.1.4/inc/structure/navigation.php

    If it’s only happening on the setup page in WPML, then you’re safe to ignore it.

    #666067
    comichouse

    I see. Thx Tom.

    #666310
    Tom
    Lead Developer
    Lead Developer

    No problem 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.