Hi dear I am facing below errors when I click the edit button kindly can you help fix please-
FAQ addon-
Notice: Trying to access array offset on value of type null in /xx/xx/xx/admin/includes/actions/faq/views/edit.php on line 36
Groups Addon-
Undefined offset: 6 in
/xx/xx/xx/admin/includes/actions/groups/infoboxes/edit.php
on line
23
Thank you in advance;
Warm Regds./
radhavallabh
Facing errors in admin
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
-
ecartz
- Core Team
- Posts: 3084
- Joined: Tue Nov 05, 2019 6:02 pm
- Phoenix Version:
- Has thanked: 4 times
- Been thanked: 208 times
Re: Facing errors in admin
That's a notice, not an error. But if you don't like it, you could try changing line 36 of that file toradhavallabh wrote: ↑Sun Dec 11, 2022 4:54 am Notice: Trying to access array offset on value of type null in /xx/xx/xx/admin/includes/actions/faq/views/edit.php on line 36
Code: Select all
. '</span></div>' . new Input('faq_question[' . $l['id'] . ']', ['value' => $faq['faq_question'] ?? '']) . '</div>';radhavallabh wrote: ↑Sun Dec 11, 2022 4:54 am Undefined offset: 6 in
/xx/xx/xx/admin/includes/actions/groups/infoboxes/edit.php
on line
23
Code: Select all
. new Input('groups_name[' . $l['id'] . ']', ['value' => $group_names[$l['id']] ?? '']) . '</div>';-
admin
- Contributor
- Posts: 217
- Joined: Wed Oct 30, 2019 1:34 pm
- Phoenix Version:
- Has thanked: 20 times
- Been thanked: 22 times
Re: Facing errors in admin
For help and support for Addons, ensure to post in the appropriate Addon Topic.radhavallabh wrote: ↑Sun Dec 11, 2022 4:54 am errors when I click the edit button
FAQ addon-
Groups Addon-
Do not start a new topic.
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: Facing errors in admin
Thank you so much dear the error faced on group.php is fixed nowecartz wrote: ↑Sun Dec 11, 2022 6:39 amThat's a notice, not an error. But if you don't like it, you could try changing line 36 of that file toradhavallabh wrote: ↑Sun Dec 11, 2022 4:54 am Notice: Trying to access array offset on value of type null in /xx/xx/xx/admin/includes/actions/faq/views/edit.php on line 36Code: Select all
. '</span></div>' . new Input('faq_question[' . $l['id'] . ']', ['value' => $faq['faq_question'] ?? '']) . '</div>';radhavallabh wrote: ↑Sun Dec 11, 2022 4:54 am Undefined offset: 6 in
/xx/xx/xx/admin/includes/actions/groups/infoboxes/edit.php
on line
23Code: Select all
. new Input('groups_name[' . $l['id'] . ']', ['value' => $group_names[$l['id']] ?? '']) . '</div>';
but the faq.php notice seems to persist;
Warm Regds./
radhavallabh
-
radhavallabh
- Senior Contributor
- Posts: 466
- Joined: Tue Oct 27, 2020 4:09 am
- Phoenix Version: 1.1.0.6
- Has thanked: 29 times
- Been thanked: 3 times
Re: Facing errors in admin
Ok dear shall keep that in mind in future...admin wrote: ↑Sun Dec 11, 2022 7:42 amFor help and support for Addons, ensure to post in the appropriate Addon Topic.radhavallabh wrote: ↑Sun Dec 11, 2022 4:54 am errors when I click the edit button
FAQ addon-
Groups Addon-
Do not start a new topic.