Issue with JLex Review plugin on Joomla 5.4
Issue Description:
After deleting a review form from the backend (administrator), the following PHP error occurs on articles that had reviews submitted:
count(): Argument #1 ($value) must be of type Countable|array, null given
Steps to Reproduce:
Create a review form in the backend for a specific category
Submit a review on one article (test review)
Delete the review form from the backend
View the article that had the review on the frontend
The error appears on that specific article
Important Note:
The error only occurs on the article where a review was previously submitted
Other articles in the same category (where the plugin was visible but no reviews were submitted) display correctly without any error
The plugin appears on all category articles, but only the one with the actual review data throws the error
Temporary Workaround:
Disabling the JLex Review plugin resolves the error.
Please let me know if you need any additional information or debug output.
Thank you for your great work on this plugin!
Best regards,
Miltos
Issue Description:
After deleting a review form from the backend (administrator), the following PHP error occurs on articles that had reviews submitted:
count(): Argument #1 ($value) must be of type Countable|array, null given
Steps to Reproduce:
Create a review form in the backend for a specific category
Submit a review on one article (test review)
Delete the review form from the backend
View the article that had the review on the frontend
The error appears on that specific article
Important Note:
The error only occurs on the article where a review was previously submitted
Other articles in the same category (where the plugin was visible but no reviews were submitted) display correctly without any error
The plugin appears on all category articles, but only the one with the actual review data throws the error
Temporary Workaround:
Disabling the JLex Review plugin resolves the error.
Please let me know if you need any additional information or debug output.
Thank you for your great work on this plugin!
Best regards,
Miltos