All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

A PHP Error was encountered

Franz 24 Jan 2014 18:24 problem, complete

A PHP Error was encountered
Severity: Notice
Message: Undefined property: EE::$addons
Filename: filters/lsf.tags.php
Line Number: 25

Fatal error: Call to a member function is_package() on a non-object in /Applications/MAMP/htdocs/system/expressionengine/third_party/low_search/filters/lsf.tags.php on line 25

Replies

  1. Low 24 Jan 2014 18:26

    What are your EE and PHP versions?

  2. Franz 24 Jan 2014 18:28

    EE 2.7.3
    PHP Version 5.4.10
    LS Version 3.0.4

  3. Low 24 Jan 2014 18:35

    Where are you getting this error? What's the template you're using? You can use http://pastie.org/ or http://pastebin.com/ for large chunks of code.

  4. Franz 24 Jan 2014 18:39

    - This is the search form
    http://pastie.org/private/aoipdzntdwk...
    - Here's the result page
    http://pastie.org/private/mzxwo5a0njf...
    - This is the result page url:
    http://localhost:8888/immobilien/such.......

    I'm using sample code.. Still trying to get my head around this.

    Thanks for your quick help!

  5. Low 24 Jan 2014 18:43

    Can you try the following... Open up /low_search/filters/lsf.tag.php and look up line #21. Create a new line above it (moving // ------ down) and add this:

    ee()->load->library('addons');


    ...then save and try again.

  6. Franz 24 Jan 2014 18:45

    That works perfectly. Thanks!

  7. Low 24 Jan 2014 18:47

    Cool. I'll add the fix in the next version.