Read before updating: How to Update Kunena Templates - More detail

Failing to post 'catid' in replies

G Topic Author
New Member New Member
  • Posts: 2
  • Thanks: 0

Failing to post 'catid' in replies

2 years 10 months ago - 2 years 10 months ago
#16547
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ë 
Last edit: 2 years 10 months ago by ntstore.

Please Log in or Create an account to join the conversation.

G Topic Author
New Member New Member
  • Posts: 2
  • Thanks: 0

Re: Failing to post 'catid' in replies

2 years 10 months ago
#16548
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'.

 

Please Log in or Create an account to join the conversation.

ntstore's Avatar
Administrator Administrator
  • Posts: 1213
  • Thanks: 240

Re: Failing to post 'catid' in replies

2 years 10 months ago
#16550
Hi guildofe,

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.257 seconds