Main Menu

Recent posts

#1
Supporto (Support) / How do I search by book title ...
Last post by RobertG - 06 November 2026, 11:50:53
Hi Federica,

Is it possible to search only the titles of the books? When I search for a word in the list of books, the search also includes the description, which returns a lot of irrelevant results.
Thanks in advance,
Robert
#2
Errori (Bugs) / Re: Fatal error “Call to a mem...
Last post by federica - 06 November 2026, 10:03:42
Thanks to you too for the feedback!
#3
Errori (Bugs) / Re: Fatal error “Call to a mem...
Last post by Leauranger - 06 November 2026, 09:04:39
Thanks a lot for the quick fix! I installed 4.0.19 and the Lends view now works fine for non-Super Users. :)
#4
Supporto (Support) / Re: Alexandria Book Library 4....
Last post by federica - 05 November 2026, 17:20:29
Ciao Pietro,

ti rispondo per punti

QuoteSulla pagina dei requisiti la 4.0.18 è indicata per J4, J5 e J6, ma le versioni testate risultano Joomla 4 e 5 con PHP 8.1.
sono i requisiti minimi. Però hai ragione, come è scritto adesso non è chiaro, vado subito a fare la modifica

QuoteLa 4.0.18 è stata provata su Joomla 6? Funziona senza il plugin "Behaviour - Backward Compatibility 6" di Joomla, o serve?
al momento sto testando Abook su Joomla 4 con PHP8.2 e Joomla 6 con 8.5. Entrambi senza plugin di compatibilità

QuoteCi sono problemi noti con PHP 8.4, che è la versione del nostro server?
non mi risulta

QuoteIl modulo Abook All in one ha bisogno di un aggiornamento per Joomla 6?
devi installare l'ultima versione disponibile

Fammi sapere come è andato l'aggiornamento
#5
Errori (Bugs) / Re: Fatal error “Call to a mem...
Last post by federica - 05 November 2026, 17:08:27
Hi Leauranger,
I fixed the bub, please install the new version.
Thanks
#6
Errori (Bugs) / Fatal error “Call to a member ...
Last post by Leauranger - 05 November 2026, 16:20:36
Hello!
First thank you for this component.

Fatal error "Call to a member function authorise() on null" in Lends view for non-Super Users

Environment
  • Joomla 6.2.0
  • A
lexandria Book Library (com_abook) 4.0.18

Description
In the administrator, opening the Lends manager (view=lends) with a user who is not a Super User, but whose group has access to the component's administration, causes a fatal error:

0 Call to a member function authorise() on null
administrator/components/com_abook/views/lends/view.html.php:74
AbookViewLends->addToolbar()

The page works correctly for Super Users.

Cause
In AbookViewLends::addToolbar(), the variable $user is used but never defined:

php
if ($canDo->get('core.admin') || $user->authorise('core.options', 'com_abook')){

For a Super User, core.admin is true, so the second condition is never evaluated. For any other user, $user->authorise() is called on null, which triggers the error.

Fix
Add the Factory import and define $user at the start of addToolbar():

diff
use Joomla\CMS\Helper\ContentHelper;
+use Joomla\CMS\Factory;
diff
protected function addToolbar()
{
$canDo  = ContentHelper::getActions('com_abook');
$toolbar = Toolbar::getInstance();
+ $user    = Factory::getApplication()->getIdentity();

Tested: the Lends manager now displays correctly for non-Super Users, with toolbar buttons shown according to their permissions.

It may be worth checking other views/*/view.html.php files for the same pattern.

Regards
#7
Supporto (Support) / Alexandria Book Library 4.0.18...
Last post by pstrada - 05 November 2026, 15:15:53
Buongiorno,

Seguiamo il sito antimafiaduemila.com, che usa Alexandria Book Library 4.0.18 con il modulo Abook All in one.

Stiamo preparando il passaggio del sito da Joomla 5.4 a Joomla 6. Sulla pagina dei requisiti la 4.0.18 è indicata per J4, J5 e J6, ma le versioni testate risultano Joomla 4 e 5 con PHP 8.1.
Chiedo quindi:

La 4.0.18 è stata provata su Joomla 6? Funziona senza il plugin "Behaviour - Backward Compatibility 6" di Joomla, o serve?
Ci sono problemi noti con PHP 8.4, che è la versione del nostro server?
Il modulo Abook All in one ha bisogno di un aggiornamento per Joomla 6?
Il sito è grande e ha molte schede di libri, quindi vorremmo arrivare al passaggio sapendo già cosa aspettarci. Faremo comunque una prova su una copia.

Grazie per la cortese risposta,
Pietro
#8
Errori (Bugs) / Re: Unrendered HTML tags visib...
Last post by kai - 22 October 2026, 14:18:00
It works. Thank you.
#9
Errori (Bugs) / Re: Unrendered HTML tags visib...
Last post by federica - 22 October 2026, 13:21:50
I fixed it, try to update Abook.