I am enable magento 2 admin cache then product view page not working show warning but i am disable cache then working fine,
warning see the following screenshot
Warning: Illegal offset type in xxxxxx\vendor\magento\module-catalog\Model\CategoryRepository.php on line 133
\var\report
error number