No Code Attached Yet
avatar ericsps
ericsps
26 Apr 2023

Steps to reproduce the issue

1.) Restore site with Akeeba Backup and Kickstart Pro
2.) Delete Smart Search Index
3.) Attempt to Index

Expected result

Smart Search Index is rebuilt successfully
Smart Search filters return results on front end

Actual result

1.) The Smart Search Index fails with the following error (screenshot included)
An Error Has Occurred
The following message was returned by the server:
A parse error has occurred while processing the following JSON data:
Unexpected non-whitespace character after JSON at position 52

2.) No results are returned on the front-end search pages using the existing search filters

System information (as much as possible)

Joomla 4.2.9 and Joomla 4.3.0

Additional comments

We have had a developer patch the following files (attachedscreen shot 2023-04-26 at 14 40 38:
admininstrator/components/com_finder/src/indexer/Indexer.php line 761
admininstrator/components/com_finder/tmpl/index/default.php line 166
admininstrator/components/com_finder/src/response/Response.php 282
com_finder-src-indexer-index-php.txtcom_finder-src-Response-Response-php.txtcom_finder-tmpl-index-default-php.txt

avatar ericsps ericsps - open - 26 Apr 2023
avatar ericsps ericsps - change - 26 Apr 2023
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 26 Apr 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 26 Apr 2023
avatar Fedik
Fedik - comment - 26 Apr 2023

Change error reaporting to none, or minimum

avatar Fedik
Fedik - comment - 26 Apr 2023

We have had a developer patch the following files (attached

Please make a Pull Request.

avatar ericsps
ericsps - comment - 26 Apr 2023

Fedik,

Apologies...not a developer.

Do you mean php error reporting or Joomla Global Configuration?

Thanks for the response!
EJ


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40485.

avatar richard67
richard67 - comment - 26 Apr 2023

Do you mean php error reporting or Joomla Global Configuration?

@ericsps He means Joomla Global Configuration. This then sets the PHP error reporting to the right value. With changing to "none" or "minimum" you can (hopefully) make the site work again.

avatar Fedik
Fedik - comment - 26 Apr 2023

Do you mean php error reporting or Joomla Global Configuration?

Yeap, as already Richard said.

The error you see is due to PHP Notice (I suspect a deprecation notice), which break JSON for AJAX request.
When you change error reaporting to none or minimum then this notices will not be shown and all should work as usual.
This notices not an error, it just for developers, you should not worry about them.

avatar Hackwar
Hackwar - comment - 26 Apr 2023

The files you provided don't contain any relevant code changes. This looks like a third party finder plugin acting up. This is not a core bug.

avatar Hackwar Hackwar - close - 26 Apr 2023
avatar Hackwar Hackwar - change - 26 Apr 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-04-26 20:29:28
Closed_By Hackwar

Add a Comment

Login with GitHub to post a comment