Failing to post 'catid' in replies
Failing to post 'catid' in replies
3 years 2 weeks ago - 3 years 2 weeks ago
Hi - On a site using Kunena 6.1.0 and NTS Kgrid 6.0.2 when people reply to a topic Kunena gives the error ‘No category selected’ and the post fails.
Comparing the page source (on reply) with the default Aurelia template I can see that there is a hidden field cat_id which does not exist on the page when the template is set to NTS Kgrid. Could this be the cause of the problem?
I have attached screen shots of both pages.
Thanks, Zoë
Comparing the page source (on reply) with the default Aurelia template I can see that there is a hidden field cat_id which does not exist on the page when the template is set to NTS Kgrid. Could this be the cause of the problem?
I have attached screen shots of both pages.
Thanks, Zoë
Last edit: 3 years 2 weeks ago by ntstore.
Please Log in or Create an account to join the conversation.
Re: Failing to post 'catid' in replies
3 years 2 weeks ago
OK - replying to my own post.
You have a PHP error in the file nts_kgrid/layouts/topic/edit/default.php.
The line
if (!isset($this->selectcatlist))
Should be replaced with
if ($this->selectcatlist === false)
The variable is set and has the value 'false'.
You have a PHP error in the file nts_kgrid/layouts/topic/edit/default.php.
The line
if (!isset($this->selectcatlist))
Should be replaced with
if ($this->selectcatlist === false)
The variable is set and has the value 'false'.
Please Log in or Create an account to join the conversation.
Re: Failing to post 'catid' in replies
3 years 2 weeks ago
Hi guildofe,
Thank you very much for bug report. We have updated the code you suggested in the download package.
Thank again.
Thank you very much for bug report. We have updated the code you suggested in the download package.
Thank again.
Hung Pham
Email: 9themestore@gmail.com
Twitter: @9themestore
Email: 9themestore@gmail.com
Twitter: @9themestore
Please Log in or Create an account to join the conversation.
Time to create page: 0.243 seconds