Skip to content

Indirect modification of overloaded property #10

Open
@mbbender

Description

@mbbender

I did a fresh pull into my shared addons module directory and installed the module. I think added an FAQ and set a nav item to point to the FAQ module and got the error above.

The $this->data->faq line is not being set since it did not exist previously. I had to modify the MX/Controller file to change __get() to &__get() to fix the issue for this module and allow for the dynamic addition of properties.

However, in looking through the various versions and history of this MX/Controller file I don't see where it was every set to the change I made and I'm wondering what could be wrong with my setup that it doesn't work right out of the box? I'm using a fresh brand new install of 2.2.1 and a pull right from github of the module. Any help would be appreciated, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions