All questions about EDocman extension

Deprecated function warning when running Smart Search Indexer via Cron job

  • Bevan Calliess
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 month 3 weeks ago #169420 by Bevan Calliess
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
Code:
str_replace()
function is being used with a
Code:
null
value for the
Code:
$subject
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
Attachments:

Please Log in or Create an account to join the conversation.

More
1 month 2 weeks ago #169473 by Mr. Dam
Hi,
Could you please submit ticket on category: Edocman and provide your site url with super admin account. I will check the issue and fix it for you.
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam