Hi,
I wanted to report a potential issue with the PDF Indexer plugin for Joomla. While setting up a cron job to run the Smart Search index operation, I encountered a series of warnings in the job results output.The warning message is as follows:
Code:
Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in #######/public_html/components/com_docindexer/helper/helper.php on line 332.
This indicates that the
function is being used with a
value for the
parameter, which is deprecated in PHP 8.1.You might already be aware of the issue but since the usage could potentially lead to unexpected behavior or compatibility issues in future PHP versions I wanted to report it.
System Details:
- Joomla version: 5.2.0
- PHP version: 8.1.3
Please let me know if you require any further information.Bevan