Facing errors in admin

Open to all! Ask other shopowners for help.
Locked
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

Facing errors in admin

Post by radhavallabh »

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


Join The Code Co-op to get access to your library in the Code Co-op Forum
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

Post by ecartz »

radhavallabh 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
That's a notice, not an error. But if you don't like it, you could try changing line 36 of that file to

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

Post by admin »

radhavallabh wrote: Sun Dec 11, 2022 4:54 am errors when I click the edit button
FAQ addon-
Groups Addon-
For help and support for Addons, ensure to post in the appropriate Addon Topic.
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

Post by radhavallabh »

ecartz wrote: Sun Dec 11, 2022 6:39 am
radhavallabh 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
That's a notice, not an error. But if you don't like it, you could try changing line 36 of that file to

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>';
Thank you so much dear the error faced on group.php is fixed now :D
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

Post by radhavallabh »

admin wrote: Sun Dec 11, 2022 7:42 am
radhavallabh wrote: Sun Dec 11, 2022 4:54 am errors when I click the edit button
FAQ addon-
Groups Addon-
For help and support for Addons, ensure to post in the appropriate Addon Topic.
Do not start a new topic.
Ok dear shall keep that in mind in future...


Join The Code Co-op to get access to your library in the Code Co-op Forum
Locked