[Skip to main content](#vessel-content)

#   Unable to upgrade from 2.3.5 to 2.4.0

##

- **[huwhuw](/forum/user/35272-huwhuw "View huwhuw's Profile")**
- [![huwhuw's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35272.jpg)](/forum/user/35272-huwhuw "View huwhuw's Profile") Topic Author
- [ Offline](/forum/user/35272-huwhuw)

Less More

- Posts: 84
- Thank you received: 9
-
-

11 years 7 months ago [\#193090](#193090) by [huwhuw](/forum/user/35272-huwhuw "View huwhuw's Profile")  *[Unable to upgrade from 2.3.5 to 2.4.0](/forum/25-install-update/875398-unable-to-upgrade-from-2-3-5-to-2-4-0#193090 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  Hi Getting the following error on trying to upgrade via J Extension manager Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  I have tried the essential zip and tar.gz package On refresh the site still shows v 2.3.5 Thanks")* was created by *[huwhuw](/forum/user/35272-huwhuw "View huwhuw's Profile")*

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4.0
-- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public_html/administrator/components/com_hikashop/helpers/database.php on line 224

Hi Getting the following error on trying to upgrade via J Extension manager
Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public_html/administrator/components/com_hikashop/helpers/database.php on line 224

I have tried the essential zip and tar.gz package
On refresh the site still shows v 2.3.5
Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3NTM5OC11bmFibGUtdG8tdXBncmFkZS1mcm9tLTItMy01LXRvLTItNC0wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 7 months ago [\#193098](#193098) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Unable to upgrade from 2.3.5 to 2.4.0](/forum/25-install-update/875398-unable-to-upgrade-from-2-3-5-to-2-4-0#193098 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  Hi Getting the following error on trying to upgrade via J Extension manager Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  I have tried the essential zip and tar.gz package On refresh the site still shows v 2.3.5 Thanks")*

Hi,

This indicates that you have products that are not assigned to any category on your website.
We've added a fix for that. Retry the upgrade and that should avoid the problem.

The following user(s) said Thank You: [huwhuw](/forum/user/35272-huwhuw "View huwhuw's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3NTM5OC11bmFibGUtdG8tdXBncmFkZS1mcm9tLTItMy01LXRvLTItNC0wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[huwhuw](/forum/user/35272-huwhuw "View huwhuw's Profile")**
- [![huwhuw's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar35272.jpg)](/forum/user/35272-huwhuw "View huwhuw's Profile") Topic Author
- [ Offline](/forum/user/35272-huwhuw)

Less More

- Posts: 84
- Thank you received: 9
-
-

11 years 7 months ago [\#193142](#193142) by [huwhuw](/forum/user/35272-huwhuw "View huwhuw's Profile")  Replied by *[huwhuw](/forum/user/35272-huwhuw "View huwhuw's Profile")* on topic *[Unable to upgrade from 2.3.5 to 2.4.0](/forum/25-install-update/875398-unable-to-upgrade-from-2-3-5-to-2-4-0#193142 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  Hi Getting the following error on trying to upgrade via J Extension manager Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  I have tried the essential zip and tar.gz package On refresh the site still shows v 2.3.5 Thanks")*

Great support thanks Nicolas that worked

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3NTM5OC11bmFibGUtdG8tdXBncmFkZS1mcm9tLTItMy01LXRvLTItNC0wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[fariuser](/forum/user/35427-fariuser "View fariuser's Profile")**
- [![fariuser's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35427-fariuser "View fariuser's Profile")
- [ Offline](/forum/user/35427-fariuser)

Less More

- Posts: 18
- Thank you received: 0
-
-

11 years 7 months ago [\#193666](#193666) by [fariuser](/forum/user/35427-fariuser "View fariuser's Profile")  Replied by *[fariuser](/forum/user/35427-fariuser "View fariuser's Profile")* on topic *[Unable to upgrade from 2.3.5 to 2.4.0](/forum/25-install-update/875398-unable-to-upgrade-from-2-3-5-to-2-4-0#193666 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  Hi Getting the following error on trying to upgrade via J Extension manager Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  I have tried the essential zip and tar.gz package On refresh the site still shows v 2.3.5 Thanks")*

Hi, in my case I get:

"Error
No file selected.

Unable to find install package"

Any ideas?

Joomla 3.4.0
Hikashop 2.3.5
Hikamarket 1.6.0

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3NTM5OC11bmFibGUtdG8tdXBncmFkZS1mcm9tLTItMy01LXRvLTItNC0wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 7 months ago [\#193675](#193675) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Unable to upgrade from 2.3.5 to 2.4.0](/forum/25-install-update/875398-unable-to-upgrade-from-2-3-5-to-2-4-0#193675 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  Hi Getting the following error on trying to upgrade via J Extension manager Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  I have tried the essential zip and tar.gz package On refresh the site still shows v 2.3.5 Thanks")*

Hi,

Try an install via FTP as explained here:
[ www.hikashop.com/support/support/documen...-to-install.html#ftp](https://www.hikashop.com/support/support/documentation/59-hikashop-how-to-install.html#ftp)
That should circumvent the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3NTM5OC11bmFibGUtdG8tdXBncmFkZS1mcm9tLTItMy01LXRvLTItNC0wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[fariuser](/forum/user/35427-fariuser "View fariuser's Profile")**
- [![fariuser's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35427-fariuser "View fariuser's Profile")
- [ Offline](/forum/user/35427-fariuser)

Less More

- Posts: 18
- Thank you received: 0
-
-

11 years 7 months ago [\#193699](#193699) by [fariuser](/forum/user/35427-fariuser "View fariuser's Profile")  Replied by *[fariuser](/forum/user/35427-fariuser "View fariuser's Profile")* on topic *[Unable to upgrade from 2.3.5 to 2.4.0](/forum/25-install-update/875398-unable-to-upgrade-from-2-3-5-to-2-4-0#193699 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  Hi Getting the following error on trying to upgrade via J Extension manager Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  I have tried the essential zip and tar.gz package On refresh the site still shows v 2.3.5 Thanks")*

I created a new test site which comes with Joomla 3.3x and I installed Hikashop 2.4.0 fine.

Then I upgraded to Joomla 3.4.0 and I tried to install Hikamarket. It didn't work and I got the same message I got on my other test site (when I wanted to upgrade to Hikashop 2.4.0 - Error No file selected Unable to find install package)

I did like you said via FTP and yes I managed to install Hikamarket.

But I think there might be a problem upgrading when you have Joomla 3.4.0 installed??

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3NTM5OC11bmFibGUtdG8tdXBncmFkZS1mcm9tLTItMy01LXRvLTItNC0wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 7 months ago [\#193724](#193724) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Unable to upgrade from 2.3.5 to 2.4.0](/forum/25-install-update/875398-unable-to-upgrade-from-2-3-5-to-2-4-0#193724 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  Hi Getting the following error on trying to upgrade via J Extension manager Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  I have tried the essential zip and tar.gz package On refresh the site still shows v 2.3.5 Thanks")*

No one else reported such issue so far and we've had already at least a few hundred merchants update their HikaShop. So I don't think that there is a problem with the update with HikaShop.

The error "Unable to find install package" is something displayed by the Joomla installer when it can't find the install package when you "upload and install" it. It can happen when you have access right issues with your folders, wrong tmp folder path in your Joomla configuration, etc. The install via FTP method completely circumvent that as the files to be installed are already available for the Joomla installer to run the install process, which is why I recommended it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3NTM5OC11bmFibGUtdG8tdXBncmFkZS1mcm9tLTItMy01LXRvLTItNC0wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[fariuser](/forum/user/35427-fariuser "View fariuser's Profile")**
- [![fariuser's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35427-fariuser "View fariuser's Profile")
- [ Offline](/forum/user/35427-fariuser)

Less More

- Posts: 18
- Thank you received: 0
-
-

11 years 7 months ago [\#193927](#193927) by [fariuser](/forum/user/35427-fariuser "View fariuser's Profile")  Replied by *[fariuser](/forum/user/35427-fariuser "View fariuser's Profile")* on topic *[Unable to upgrade from 2.3.5 to 2.4.0](/forum/25-install-update/875398-unable-to-upgrade-from-2-3-5-to-2-4-0#193927 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  Hi Getting the following error on trying to upgrade via J Extension manager Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  I have tried the essential zip and tar.gz package On refresh the site still shows v 2.3.5 Thanks")*

I came across this:

[ docs.joomla.org/J3.x:Extension\_won%27t\_install](https://docs.joomla.org/J3.x:Extension_won%27t_install)

Don't know why I seem to be only one affected though.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3NTM5OC11bmFibGUtdG8tdXBncmFkZS1mcm9tLTItMy01LXRvLTItNC0wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 7 months ago [\#193930](#193930) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Unable to upgrade from 2.3.5 to 2.4.0](/forum/25-install-update/875398-unable-to-upgrade-from-2-3-5-to-2-4-0#193930 "-- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.4.0 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  Hi Getting the following error on trying to upgrade via J Extension manager Fatal error: Call to a member function getMainElement() on a non-object in /home/cremur/public&#95;html/administrator/components/com&#95;hikashop/helpers/database.php on line 224  I have tried the essential zip and tar.gz package On refresh the site still shows v 2.3.5 Thanks")*

Great to know. So it is actually a bug of Joomla.
Still, the install via FTP procedure is the way to go if you don't want to wait for the Joomla 3.4.1

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg3NTM5OC11bmFibGUtdG8tdXBncmFkZS1mcm9tLTItMy01LXRvLTItNC0wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.254 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
