cancel
Showing results for 
Search instead for 
Did you mean: 

Product attributes don`t show on frontend (magento 1.9.2.4)

Product attributes don`t show on frontend (magento 1.9.2.4)

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?

 

4 REPLIES 4

Re: Product attributes don`t show on frontend (magento 1.9.2.4)

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.

Manish Mittal
https://www.manishmittal.com/

Re: Product attributes don`t show on frontend (magento 1.9.2.4)

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 ;(...

Re: Product attributes don`t show on frontend (magento 1.9.2.4)

Hello @Bjornvda

 

Can you please check this array 

$arr_catsid

You are not getting array so you are getting error. 

Manish Mittal
https://www.manishmittal.com/

Re: Product attributes don`t show on frontend (magento 1.9.2.4)

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?