Joomla 1.5 migration to Joomla 1.6 error

by Elaine on February 1, 2011

I tested migration of Joomla 1.5 to Joomla 1.6 with one of my clients website and I started getting an error message.  I was able to successfully use JUpgrade to install Joomla 1.6.  The administration panel had no errors but accessing the frontpage there was an error message that said:

Navigation Warning: in_array() []: Wrong datatype for second argument in ~/jupgrade/modules/mod_menu/helper.php on line 52

This is how I troubleshooted the problem:

Go to the error logs and if there are any error logs related to this error message.  The text in the helper.php line 52 reads:

if (($start && $start > $item->level)
|| ($end && $item->level > $end)
|| (!$showAll && $item->level > 1 && !in_array($item->parent_id, $path))
|| ($maxdepth && $item->level > $maxdepth)
|| ($start > 1 && !in_array($item->tree[0], $path))

So apparently jUpgrade v 0.5.4-2 deletes the Joomla 1.5 Home page link which is the default frontpage menu item.  This component and menu item type does not exist in Joomla 1.6.

To resolve this error, perform the following:

1.  Create a new menu item with the menu type ‘featured articles

2.  Set that menu item as ‘Home’.

3.  Save your menu item.

4.  Manually copy your Joomla 1.5/images/’ folder to your new installation of Joomla 1.6.

After you refresh your website you should have no problems seeing the frontpage.  There should be no error messages.   FYI jUpgrade is free.  It is a simple Joomla 1.5 component that downloads Joomla 1.6, decompress and installs it.  It then proceeds to migrate all of your the data from your old Joomla 1.5 to your new Joomla 1.6 installation.  It’s a very useful component to use when migrating your website.   Click here to see it in the Joomla Extensions directory.

 Joomla 1.5 migration to Joomla 1.6 error


Elaine is the founder of CmsMind, an online blog providing Joomla and Wordpress tutorials. Elaine lives in Toronto and when she is not online, she is either Marathon and Triathlon training or travelling and racing somewhere in the world. Find her also at: Save Money, Premium Themes and Templates, and at Webhosting Tips.

More Posts - Website

Leave a Comment

Captcha Captcha Reload

Older Post:

Newer Post: