In the Daily Menu - Settings, no matter what I do there I get this error on saving:
Warning
Field required: ID
What does this warning try to tell me and how can I solve it?
Warning: Field required: ID
-
- Phoca Member
- Posts: 13
- Joined: 28 Feb 2010, 00:45
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning: Field required: ID
Hi, hmmm, which version of Phoca Restaurant Menu do you run? In which view you get this error? Can you paste a screenshot?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 28 Feb 2010, 00:45
Re: Warning: Field required: ID
Hi again,
I have downloaded the "Phoca Restaurant Menu Lite (Joomla!3)" component: com_phocamenu_lite_v3.1.1.zip
Its installed on a Joomla 3.8.12 site (just upgraded to 3.8.13 but still same result).
I get this error inside the Daily Menu Group when saving inside the Settings option
Beside this everything else seems to work great
I have downloaded the "Phoca Restaurant Menu Lite (Joomla!3)" component: com_phocamenu_lite_v3.1.1.zip
Its installed on a Joomla 3.8.12 site (just upgraded to 3.8.13 but still same result).
I get this error inside the Daily Menu Group when saving inside the Settings option
Beside this everything else seems to work great
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning: Field required: ID
Hi, mostly such message should come in edit view in case some form is missing ID parameter. But this is a screenshot of list view, there is no form so if this will happen once, this could be some old message displayed now, but if it is display alway, hard to say from where this error message is comming.
If you enable debug mode in Joomla! Global Configuration, do you get some more info there?
Jan
If you enable debug mode in Joomla! Global Configuration, do you get some more info there?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 28 Feb 2010, 00:45
Re: Warning: Field required: ID
Just to clearify, this error you see in the screenshot happens when clicking on Save or Save & Close in the "Daily Menu Settings: [New]" section.
Just after my saving attempt it revert back to the Daily Menu list view where the error message is shown.
Manybe this gives you a clue for what ID parameter is missing here?
Just after my saving attempt it revert back to the Daily Menu list view where the error message is shown.
Manybe this gives you a clue for what ID parameter is missing here?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning: Field required: ID
Hi, thank you very much for the info, confirmed, this will be fixed in next version, for now you can do a quick fix, open:
administrator\components\com_phocamenu\controllers\phocamenuconfig.php
line cca 218, ADD:
before:
// Test if the data is valid.
Thank you, Jan
administrator\components\com_phocamenu\controllers\phocamenuconfig.php
line cca 218, ADD:
Code: Select all
if (!isset($data['id'])) { $data['id'] = 0;}
// Test if the data is valid.
Thank you, Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 13
- Joined: 28 Feb 2010, 00:45
Re: Warning: Field required: ID
Thank you, this solved the problem.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning: Field required: ID
Ok, great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning: Field required: ID
If you find Phoca extensions useful, please support the project