After i have migrated our store to a new server the product attributes don`t show in the frontend.
See this product for an example.
The attribute set correctly, and has worked on the old server. Compiler is now disabled to make sure it does not happen here. I also renewed cache and index. Also tried to turn it on and off.
On my log show the warning:
Warning: in_array() expects parameter 2 to be array, null given in /var/www/vhosts/defeestneus.com/httpdocs/app/code/local/Magentothem/Vmegamenu/Block/Vmegamenu.php on line 264
Ik krijg het niet opgelost, wie kan me helpen?
Hello @Bjornvda
Please share what you are fetching here at
app/code/local/Magentothem/Vmegamenu/Block/Vmegamenu.php on line 264
We are not getting value here in array so you are getting this issue.
Please try once reindexing and cache flush.
Thanks for your reply.
On line 264 i have:
if( in_array($child->getId(),$arr_catsid) ){
Reindex and cache flush don`t solve the problem ;(...
Hello @Bjornvda
Can you please check this array
$arr_catsid
You are not getting array so you are getting error.
Checked, this error is now fixed. This had to do with a wrond catagory ID in the left menu.
Unfortunately, this does not solve the problem with the product attributes. Now i have renew the compiler, switched on and off again. Does not make a differance.
I don`t get any error or warning massage in my log.
What do i overlook?