We are using Magento ver. 2.1.3, when browsing website, error report is generated with full of warnings and website is halted with Error log records.
I have added below code in
Index.phpbut not working.
error_reporting(E_ERROR | E_PARSE);
These warnings are from core modules for example
Warning: array_merge(): Argument #2 is not an array in vendor\magento\module-page-cache\Model\Layout\LayoutPlugin.php on line 71
If we solve one, then it is logged with new one.
Can any one suggest me how can i solve this ?
- How the core code does exists with warnings ?