This article provides a patch for the issue for seeing a 404 error page when trying to connect to Advanced Reporting. To check if this patch could solve this issue review the logs by using the following command:
zgrep analytics_collect_data var/log/support_report.log var/log/support_report.log.1.gz
If you see the
substr_count() expects parameter 1 to be string, null given ... error, apply the attached patch.
For a solution to seeing a 404 error page when trying to connect to Advanced Reporting on Magento Commerce review Advanced Reporting 404 error on Magento Commerce.
Affected products and versions
- Magento Commerce Cloud 2.3.1
Steps to reproduce:
- Log in to Magento admin.
- On the Admin sidebar, choose Reports.
- Then under Business Intelligence, choose Advanced Reporting.
The report should load with no problem.
404 error is observed.
To fix the issue, please apply the patch attached to this article. To download it, scroll down to the end of the article and click the file name, or click the following link:
How to apply the patch
See How to apply a composer patch provided by Magento for instructions.