Help Center

Powered by Minitek FAQ Book
Loading...

Division by zero

VV
Vadcom VadPosted 5 months ago

I've installed last version on joomla 4 and I receive:

Division by zero

 

Call stack
# Function Location
1 () JROOT/components/com_faqbookpro/layouts/fb_topic.php:324
2 include() JROOT/libraries/src/Layout/FileLayout.php:128
3 Joomla\CMS\Layout\FileLayout->render() JROOT/templates/rythm/html/com_faqbookpro/topic/default.php:53
4 include() JROOT/libraries/src/MVC/View/HtmlView.php:410
5 Joomla\CMS\MVC\View\HtmlView->loadTemplate()

JROOT/libraries/src/MVC/View/HtmlView.php:203

Loading...
0
#3972

3 answers

M
MinitekPosted 5 months agoModerator

Hi there,

Can you please send me access to the admin area of the component?

VV
Vadcom VadPosted 5 months ago

Hi,
unfortunately, the site is installed on a server that is behind a VPN.

The problem seems to me to be that the $displayData variable located in the fb_topic.php file doesn't contain the data:
$this->page = $displayData['page'];
$this->pages_limit = $displayData['pages_limit'];
$this->pagination_limit = $displayData['pagination_limit'];
M
MinitekPosted 5 months agoModerator

Yes, there seems to be an issue with the pagination_limit.

Go to the component configuration, enter 20 in the fields Questions limit and Answers limit and then click on Save & Close.