I generally only update my sites if there's a security update or a problem on the site. This recent update was labeled as a security update so I updated the ubercart module. When I ran the database updates there were two errors. As logged they were:

Invalid argument supplied for foreach() in /home/mrchip5/public_html/update.php on line 337.

array_merge() [function.array-merge]: Argument #2 is not an array in /home/mrchip5/public_html/update.php on line 173.

I've seen errors on updates before that didn't result in any problems so I didn't worry about it and at first everything seemed fine, but then I noticed that in the category shop block it now shows the html code in the menu instead of a simple link to "Home" (the home page of this particular site is the catalog). I've looked around but can't figure out how to fix this or where to look.

See http://mrchips.net/ for the problem, also screenshot is attached. Any advice on how I can fix this and/or why this happened? I need to get this fixed asap and don't want to roll back a security update.

Comments

MakeOnlineShop’s picture

Hello,

Have you found a solution ?

Thanks.

longwave’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

The errors during update.php were fixed in #1558528: Warnings during update to 6.x-2.9

Not sure what has happened to your catalog block, but I can't reproduce this. Check your catalog block settings and also try changing your theme to Garland and see if the same thing happens there.

longwave’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Fixed

If you are using http://drupal.org/project/block_titlelink or similar perhaps there is a conflict, as Ubercart provides its own block title link. Turn off either Ubercart's own title link or the block title link module for that block.

sander-martijn’s picture

Category: support » bug
Priority: Normal » Major

It was a block_titlelink issue. That was the only place and reason I was using that module, so I just disabled the module and that resolved the issue. Thanks for the quick advice.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.