AB 4.0.8 Categry bug on frontend

Started by RobertG, Yesterday at 16:03:39

Previous topic - Next topic

RobertG

Hi,

I've just found out that you've released a RC version for J6. Thank you very much!
I first tried to install the 4.0.8 on a new website where I had imported the previous tables, not installed AB 4.0.6, and it failed.
So I cloned my J5 website and added your new version.
Displaying the lists of authors and books works fine.
But on the book categories list, when I click on a category, I get an error 500 Joomla\CMS\HTML\HTMLHelper abyear not found. in /libraries/src/HTML/HTMLHelper.php:159
First error on JROOT/components/com_abook/views/category/tmpl/default_items.php:80, other on line 89.

If I hide year and editor, the page is displayed.
Regards,
Robert

RobertG

Sorry.
If I hide year and editor in the menu link options, the page is displayed.

RobertG

Another error with smart search plugin 4.0.7
When I try to index:
Call to undefined method Joomla\Database\Mysqli\MysqliQuery::castAsChar()

RobertG

In a book page or in the author list, when I click on the author name
ERROR 0 - count(): Argument #1 ($value) must be of type Countable|array, false given
file JROOT/components/com_abook/models/author.php:41

And at the bottom of the page, I have that text I didn't have on h=the J5 website:  COM_ABOOK_DATE_MODIFIED: 30 Novembre -0001

RobertG

Now on a blank website 6.1.2 (french)
I installed AB 4.0.8 and the other packs 4.0.7
I didn't change any settings and I imported the SQL export from the J5 site.

The 'Authors' menu link leads to "There is no "chosen" asset of a "preset" type in the registry."
Indexing fails with the same error.
The footer information is correct
"Modified date: 8 Août 2026"

A link to an author works fine

From the books list and the book page, a click on an author name displays an error
count(): Argument #1 ($value) must be of type Countable|array, false given

In the all in one module, although I asked for the image not to be displayed, and only the title to appear, the default image is still shown.