Main Menu

Recent posts

#1
Errori (Bugs) / Re: Joomla 6 problem
Last post by Slacker - Yesterday at 20:37:13
I asked ChatGPT:
The error message "Call to undefined method Joomla\Database\Mysqli\MysqliQuery::castAsCha..." (note: likely truncated to "castAsChar") indicates that a method is being called which no longer exists (or never existed) in the current version of Joomla! (or its database query class).

Replace the method call with the new equivalent

If the method castAsChar() is removed or deprecated, change it to use castAs() with appropriate parameters.
For example:
$query->select($query->castAs('CHAR', 'your_value'));

Ensure you match the correct signature (type, value, optionally length) as per Joomla's query builder docs.
#2
Errori (Bugs) / Re: Joomla 6 problem
Last post by Pino - 08 November 2025, 18:36:59
Posso solo confermare la presenza di un problema di compatibilità con Joomla 6.
Ho aggiornato un mio vecchio sito (più di 10 anni) da Joomla 3 a Joomla 6 e di conseguenza da Alexandria 3.1.5 a 4.0.6. Ho effettuato una migrazione del Database con SQL (abbastanza agevole) ho verificato nel backend che tutto fosse a posto ma ... avviando in frontend il componente mi appare questo errore: "Call to undefined method Joomla\Database\Mysqli\MysqliQuery::castAsCha". Verificato un po' in giro e risulta essere appunto un problema di metodo di accesso non più supportato da Joomla 6. Non posso/voglio andare oltre per cui mi/Vi chiedo se ci sono soluzioni in vista. Grazie
#3
Errori (Bugs) / Re: Joomla 6 problem
Last post by Slacker - 29 October 2025, 09:19:24
Thanks for the input. RobertG! I thought it would be a simple fix like one line of code. What you describe is much more complex problem than I realized.
#4
Richieste (Requests) / Alexandria Book Library for Jo...
Last post by RobertG - 28 October 2025, 11:04:13
Hello,

I'm using Abook for a very long time. I think I was the first to translate that extension to French on January 2011.

My website uses Joomla! 5.4.0 and Abook 4.0.6 but needs to use the compatibility plugin to work.
I'm no a developer but I have enough experience to make some changes in PHP.

I tried to adapt Alexandria Book to J6 and made a lot of changes for classes, some are missing, and at the moment I have two problems in the administration: the categories list in category and book creation/edition page remain empty, and I can't create lends. I haven't found the cause for the categories (JavaScript?) and for the lends.
At the moment, the frontend is not working.

I would like to know if you plan to modify Abook for this new version of Joomla! or if I need to find another solution.

Regards,
Robert
#5
Errori (Bugs) / Re: Joomla 6 problem
Last post by RobertG - 23 October 2025, 18:12:58
Hi,

I changed a lot of classes to "use" declarations. It remains a lot of "jimport" lines to change, but the main problem is very old classes as JToolBarHelper or HTMLHelperSidebar that I won't be able to change.
I don't understand how AB can work with these old classes, even with the compatibility plugin.
#6
Errori (Bugs) / Re: Joomla 6 problem
Last post by RobertG - 23 October 2025, 10:50:24
Hi,

Alexandria Book Library needs the compatibilty plugin for J5, sot the extensions is not Joomla! 6 compatible.
It needs a lot of changes.
Is Federica planning to make these updates?
Regards,
#7
Errori (Bugs) / Joomla 6 problem
Last post by Slacker - 15 October 2025, 16:49:17
Yesterday I intended to upgrade to Joomla 6, but was stopped by a new plugin that gave JFactory error for Abook router. Also another extension had problems.
#8
Richieste (Requests) / Re: Randomize books "Related b...
Last post by federica - 08 May 2025, 16:11:18
Thanks for your feedback
#9
Richieste (Requests) / Re: Randomize books "Related b...
Last post by sertlan - 08 May 2025, 14:18:38
The "Random" option works just fine. Thank you very much.
#10
Richieste (Requests) / Re: Randomize books "Related b...
Last post by federica - 08 May 2025, 13:31:06
Try the lastest version 4.0.6 https://alexandriabooklibrary.org/en/downloads/28-modules.html
You can see the "Random" option (available only for sort=tags or metakeys).
Let me know if it is ok.