Bug Reports · Legacy archive

Bug: Adding to Region

Started by Pieh Jan 19, 2010 3 posts Locked

  1. Bug: Adding to Region

    #1
    Earlier today I was thinking that a sub of mine (( http://strolen.com/viewing/The_Complete_Guide_to_Necro-Nautical_Magics )) would be a god fit for the 'books and things' region. Then, out of nowhere, while browsing a few minutes ago, there was a link on the side of my subs that said 'add to the books and things region.' I clicked it and got the following long list of warnings and notices.

    Edit: It actually worked too, too well. It got added to the region twice.

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined variable: region

    Filename: models/mcomment.php

    Line Number: 730
    A PHP Error was encountered

    Severity: Notice

    Message: Trying to get property of non-object

    Filename: models/mcomment.php

    Line Number: 730
    A PHP Error was encountered

    Severity: Notice

    Message: Undefined variable: region

    Filename: models/mcomment.php

    Line Number: 730
    A PHP Error was encountered

    Severity: Notice

    Message: Trying to get property of non-object

    Filename: models/mcomment.php

    Line Number: 730
    A PHP Error was encountered

    Severity: Notice

    Message: Undefined variable: region

    Filename: models/mcomment.php

    Line Number: 730
    A PHP Error was encountered

    Severity: Notice

    Message: Trying to get property of non-object

    Filename: models/mcomment.php

    Line Number: 730
    Region
    #
    http://strolen.com/regions

          A PHP Error was encountered

          Severity: Notice

          Message: Undefined variable: region_categories

          Filename: models/mcomment.php

          Line Number: 731
          A PHP Error was encountered

          Severity: Warning

          Message: Invalid argument supplied for foreach()

          Filename: models/mcomment.php

          Line Number: 731
          A PHP Error was encountered

          Severity: Notice

          Message: Undefined variable: node

          Filename: models/mcomment.php

          Line Number: 739
          A PHP Error was encountered

          Severity: Notice

          Message: Trying to get property of non-object

          Filename: models/mcomment.php

          Line Number: 739

        *
          Leave Region
          A PHP Error was encountered

          Severity: Notice

          Message: Undefined variable: remove_sub_region

          Filename: models/mcomment.php

          Line Number: 740

    A PHP Error was encountered

    Severity: Warning

    Message: Cannot modify header information - headers already sent by (output started at /home/strolen/domains/strolen.com/public_html/lockmor/application/models/mcomment.php:729)

    Filename: helpers/url_helper.php

    Line Number: 541
  2. Re: Bug: Adding to Region

    #2
    oi!
  3. Re: Bug: Adding to Region

    #3
    I did a couple tests after removing a chunk of code. Seems like I did a copy and paste to use as a reference and just left it in there. It seemed to work but let me know if this repeats for anybody.

Bug Reports · All categories · Guildhall