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

Support archive

PHP error after deleting entries

HalvardLienSimonsen 28 Feb 2011 21:33 question, complete

I found a bunch of closed entries, previously but no longer used in my Structure hierarchy, that I deleted. After deleting them, I got this error on the home page (not the CP):

A PHP Error was encountered

Severity: Notice

Message: Undefined index: enabled_types

Filename: low_variables/mod.low_variables.php

Line Number: 157

Replies

  1. Low 28 Feb 2011 23:19

    That's rather peculiar after deleting entries. Couple of questions:

    - What's your PHP, EE and Low Variables version?
    - Can you try and re-save the Low Variables extension settings and see if that makes a difference?
    - What other extensions do you have installed?
    - The error is triggered by a {exp:low_variables:parse} tag. What kind of variable are you parsing with that tag on the home page, and is that var in any way related to the entries you deleted?

  2. HalvardLienSimonsen 28 Feb 2011 23:34

    I just went into the modules page (not even into the settings for Low Variables) and got a message that my LV license was invalid. Re-entered it (and updated the rest of settings - everything was cleared), and now everything seems fine. What a strange one.

    FWIW:

    PHP Version 5.2.14
    EE: 2.1.3 Build 20101220
    Low Variables 1.3.4

  3. Low 28 Feb 2011 23:39

    Hmmm... I wonder why the extension settings were cleared. But since everything works again now, I'll leave it at this. Let me know if it happens again.

  4. HalvardLienSimonsen 2 Mar 2011 11:59

    Yeah, it happened again. I think it happened after we published some new entries - but I'm not quite sure. Once again solved it by navigating to the extension, getting the message that the license is invalid, and then re-entering it. Once again the settings reset themselves.

  5. Low 2 Mar 2011 12:02

    Weird. What other extensions do you have installed? Adding or deleting entries has nothing to do with LV, so maybe another add-on is responsible for messing up the extension settings...

  6. HalvardLienSimonsen 2 Mar 2011 12:31

    Other (enabled) extentions: blueprints, bw required category, freebie, low seg2cat, nsm .htaccess generator, nsm live look, playa, single sticky, structure, wygwam no upload tab, p&t field pack.

  7. Low 2 Mar 2011 13:04

    I think I need to focus on reproducing this behaviour. Are you able to trigger this behaviour? Also, have you noticed that any other extension loses its settings? For example, try setting Low Seg2cat's 'set all segments' setting to 'yes' and see if that changes to 'no' when it happens again.

    I probably should take a look at your EE installation. Can you send me login data to low at loweblog dot com?

  8. HalvardLienSimonsen 2 Mar 2011 13:08

    Alright. Do you need FTP or CP access?

  9. Low 2 Mar 2011 13:29

    CP for now. Maybe FTP later if need be.

  10. Low 2 Mar 2011 14:04

    Closing this thread -- the problem was a bug in another add-on which was overwriting its settings for all installed extensions.

  11. AboutWout 2 Mar 2011 14:40

    I would like to add and confirm that it was my add-on (BW Required Category) and not Low Variables that caused the problem. I fixed it a pushed a new version to GitHub.

    My sincere apologies to you, Halvard...

    Regards,
    Wouter

  12. HalvardLienSimonsen 2 Mar 2011 18:27

    All's good, Wouter. Glad I could contribute to finding the error.