Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - Add Planned Absence View in Members Area #742

Closed
awucweb opened this issue Dec 11, 2021 · 2 comments
Closed

Bug - Add Planned Absence View in Members Area #742

awucweb opened this issue Dec 11, 2021 · 2 comments

Comments

@awucweb
Copy link

awucweb commented Dec 11, 2021

Hey Tom @tbar0970 thanks for the previous hot fix got another for you.

SYSTEM ERROR (NOTICE)
Undefined variable: person

Show Details
Line 86 of File /home/xxxxxxxx/public_html/jethro/members/views/view_0_add_planned_absence.class.php
Array
(
[0] => Array
(
[file] => /home/xxxxxxxx/public_html/jethro/include/system_controller.class.php
[line] => 186
[function] => printView
[class] => View__Add_Planned_Absence
[type] => ->
[args] => Array
(
)

    )

[1] => Array
    (
        [file] => /home/xxxxxxxx/public_html/jethro/members/templates/main.template.php
        [line] => 72
        [function] => printBody
        [class] => System_Controller
        [type] => ->
        [args] => Array
            (
            )

    )

[2] => Array
    (
        [file] => /home/xxxxxx/public_html/jethro/include/system_controller.class.php
        [line] => 128
        [args] => Array
            (
                [0] => /home/xxxxxx/public_html/jethro/members/templates/main.template.php
            )

        [function] => require
    )

[3] => Array
    (
        [file] => /home/xxxxxx/public_html/jethro/members/index.php
        [line] => 58
        [function] => run
        [class] => System_Controller
        [type] => ->
        [args] => Array
            (
            )

    )

)

SYSTEM ERROR (NOTICE)
Trying to get property 'id' of non-object

Show Details
Line 86 of File /home/xxxxxxxxxxxxx/public_html/jethro/members/views/view_0_add_planned_absence.class.php
Array
(
[0] => Array
(
[file] => /home/xxxxxxxxxxx/public_html/jethro/include/system_controller.class.php
[line] => 186
[function] => printView
[class] => View__Add_Planned_Absence
[type] => ->
[args] => Array
(
)

    )

[1] => Array
    (
        [file] => /home/xxxxxxxxxxxxxx/public_html/jethro/members/templates/main.template.php
        [line] => 72
        [function] => printBody
        [class] => System_Controller
        [type] => ->
        [args] => Array
            (
            )

    )

[2] => Array
    (
        [file] => /home/xxxxxxxxxxxxxxxx/public_html/jethro/include/system_controller.class.php
        [line] => 128
        [args] => Array
            (
                [0] => /home/xxxxxxxxxxxxxx/public_html/jethro/members/templates/main.template.php
            )

        [function] => require
    )

[3] => Array
    (
        [file] => /home/xxxxxxxxxxxxx/public_html/jethro/members/index.php
        [line] => 58
        [function] => run
        [class] => System_Controller
        [type] => ->
        [args] => Array
            (
            )

    )

)

@tbar0970
Copy link
Owner

Thanks for reporting. That's embarrasing. I think I was interrupted while working on that bit, and obviously didn't pick up the mental thread properly.

@tbar0970
Copy link
Owner

You can hotfix by replacing members/views/view_0_add_planned_absence.class.php with https://raw.githubusercontent.com/tbar0970/jethro-pmm/135c6567c3979dedfe8f0ed59d19ad4cf773bfc3/members/views/view_0_add_planned_absence.class.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants