In Topic Ask Question Button

HS
Harold SmithPosted 10 months ago

Disabled all cache and purged. Rechecked all of the options.
I set the question button to be in topic not top nav. When you click ask question in topic it errors. If you go back and then to topic again the button works and takes you to the question form.
In topic, if you refresh the page first, the ask question button will take you to the ask question form.

Here are the links that I get when I click the ask question button in topic with the errors:
First click link for the page -> https://www.dlejproducts.pro/component/faqbookpro/extensions/new/question?topicid=126&Itemid=101
Go back and click second time -> https://www.dlejproducts.pro/support/documentation/extension/new/question?topicid=126

If I do this on my localhost I get better error messages:
0 Call to a member function getQuery() on null
Notice: Undefined offset: 1 in C:\wamp64\www\components\com_faqbookpro\router.php on line 437
Notice: Undefined variable: db in C:\wamp64\www\components\com_faqbookpro\router.php on line 440

Appreciate any help you could give.

1
#2509

1 answer

M
MinitekPosted 10 months agoModerator

Hi there,

If you are displaying the buttons inside the topic pages, then you must create menu items for these buttons.

Go to your main menu and for each of the 'FAQ Book Pro » Section' menu items, create a child menu item of type 'FAQ Book Pro » Question Form'. Select the appropriate section in the menu item parameters.

Search