Filling in the "Keywords" field in "Author Manager" causes an error

Started by sertlan, 27 August 2024, 13:36:00

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

sertlan

Hi federica.

Filling in the "Keywords" field in "Author Manager" causes the error "0 Class "str_ireplace" not found".

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

federica

Thanks for reporting.
I fixed the bug. I will publish the new release as soon as possible.
If you want to fix it immediately, open administrator/components/com_abook/tables/author.php
then change line 50
from
$after_clean = str_ireplace::str_ireplace($bad_characters, "", $this->metakey); // remove bad charactersto
$after_clean = StringHelper::str_ireplace($bad_characters, "", $this->metakey); // remove bad characters
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

sertlan