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

#   Menu translation Fatal Error

##

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#215959](#215959) by [Nello](/forum/user/1361-nello "View Nello's Profile")  *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#215959 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")* was created by *[Nello](/forum/user/1361-nello "View Nello's Profile")*

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public_html/administrator/components/com_hikashop/views/menus/tmpl/options.php on line 11

Hi,
After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php

For translations I use Falang plugin.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 1 month ago [\#215970](#215970) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#215970 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Hi,

What did you do exactly ?

Line 11 is Code:

if(!isset($this-&gt;element['layout_type']))

And if that "element" is an object and not an array ; we got a serious issue.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago -  11 years 1 month ago [\#216009](#216009) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216009 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

I simply try to translate a new menu item option, and when I saved I got this error.

It happens only with items that have new hikashop options for category and product display...

Last edit: 11 years 1 month ago by [Nello](/forum/user/1361-nello "View Nello's Profile").

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 1 month ago [\#216012](#216012) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216012 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Hi,

Please provide a backend and a FTP access to your website.
You can send these informations via our contact form, don't forget to give a link to that topic in the message.

[ www.hikashop.com/support/contact-us.html](http://www.hikashop.com/support/contact-us.html)

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#216078](#216078) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216078 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Sent!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg3OTU5Ny1tZW51LXRyYW5zbGF0aW9uLWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

11 years 1 month ago [\#216084](#216084) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216084 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Hi,

I've had an error:
Response: 530 Login authentication failed
when trying to connect to your FTP.
Could you double check it ?

Regarding a solution, try to change the line: Code:

if(HIKASHOP_J30){

to: Code:

if(HIKASHOP_J30 &amp;&amp; !in_array(@$_REQUEST['option'],array('com_falang','com_joomfish'))){

in both the files components/com_hikashop/fileds/hikashopmodule.php and components/com_hikashop/fileds/selectoptions.php
That should remove the menus/modules options from there as they shouldn't display when you edit a menu/module via Falang.

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#216118](#216118) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216118 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

It seems to works fine.
But the problem is that it don't get the same settings for categories and product options for both languages.

I will send you FTP access details again.

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#216122](#216122) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216122 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

No. It doesn't work fine...
As I suspected, it does not get the correct settings in both languages.

I hope it is possible to fix differently, otherwise I would not be forced to make a downgrade to 2.5....
Yet Falang plugin seems to be widely used...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg3OTU5Ny1tZW51LXRyYW5zbGF0aW9uLWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

11 years 1 month ago [\#216132](#216132) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216132 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Hi,

What do you mean by

> No. It doesn't work fine...
> As I suspected, it does not get the correct settings in both languages.

?
Did you try with a new menu item, not a one for which you already had the first problem ?
You need to delete the menu items that you tried with because they already have the problematic data in Falang and thus Falang will try to replace the settings and break the display of the listing even if the translation edition page now works.
So it's best to try with a new menu item. It should hopefully work fine.
If not, please describe more precisely what "doesn't work fine".

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#216146](#216146) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216146 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Ok, I try to explain better with images.

[ ![fatal-error-1.jpg](/forum/attachment/26818) ](/forum/attachment/26818 "fatal-error-1.jpg")

[ ![fatal-error-2.jpg](/forum/attachment/26819) ](/forum/attachment/26819 "fatal-error-2.jpg")

As you can see in images 1 and 2, i'm not sure that for the new item all default settings are loaded correctly. For example, as default I have 4 rows x 100 products, but saving this new item without this setting, the system sets it to 3 rows x 7 products.

[ ![fatal-error-3.jpg](/forum/attachment/26820) ](/forum/attachment/26820 "fatal-error-3.jpg")

In third image you can see the new item category listing "comodini-new" that works fine in italian language.
But in the image 4 below you can see in english language it loads the category "furnishing" (that is the default category).

[ ![fatal-error-4.jpg](/forum/attachment/26821) ](/forum/attachment/26821 "fatal-error-4.jpg")

So I try to create a totally new item and category as you can see in the images below. The same thing.
In italian language (image 5) it loads correct "sedie impilabili".

[ ![fatal-error-5.jpg](/forum/attachment/26822) ](/forum/attachment/26822 "fatal-error-5.jpg")

In the english language it loads again the the category "furnishing" (that is the default category).

[ ![fatal-error-6.jpg](/forum/attachment/26823) ](/forum/attachment/26823 "fatal-error-6.jpg")

- [ ![fatal-error-1.jpg](/forum/attachment/26818) ](/forum/attachment/26818 "fatal-error-1.jpg") [ ](/forum/attachment/26818?download=1 "fatal-error-1.jpg")
- [ ![fatal-error-2.jpg](/forum/attachment/26819) ](/forum/attachment/26819 "fatal-error-2.jpg") [ ](/forum/attachment/26819?download=1 "fatal-error-2.jpg")
- [ ![fatal-error-3.jpg](/forum/attachment/26820) ](/forum/attachment/26820 "fatal-error-3.jpg") [ ](/forum/attachment/26820?download=1 "fatal-error-3.jpg")
- [ ![fatal-error-4.jpg](/forum/attachment/26821) ](/forum/attachment/26821 "fatal-error-4.jpg") [ ](/forum/attachment/26821?download=1 "fatal-error-4.jpg")
- [ ![fatal-error-5.jpg](/forum/attachment/26822) ](/forum/attachment/26822 "fatal-error-5.jpg") [ ](/forum/attachment/26822?download=1 "fatal-error-5.jpg")
- [ ![fatal-error-6.jpg](/forum/attachment/26823) ](/forum/attachment/26823 "fatal-error-6.jpg") [ ](/forum/attachment/26823?download=1 "fatal-error-6.jpg")

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 1 month ago -  11 years 1 month ago [\#216265](#216265) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216265 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Hi,

Please try to download the latest package from our website and install it over your current version.
We added some fixes about the category selection in the category and product listing menus.

If that don't do the trick, please give us the menu id and the frontend link of a menu with the issue.

Last edit: 11 years 1 month ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#216302](#216302) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216302 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

OK.
I already had installed the package downloaded the 01.10.2015, some days ago.
I installed the new package downloaded today 06.10.2015, but I think that nothing changes.

But, I uploaded the original files "hikashopmodule.php" and "selectoptions.php" again, and i noted that the first time I access to the item's translation I see the new category and product options. I can do my settings and then click to "Save &amp; Close". If I click on this button the system saves the new settings. In fact the new items I had created work fine.
Instead if I click on the button "Save" i get the same errore and any settings are not saved. Moreover I can't access items more then one times.

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#216342](#216342) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216342 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

I'm sorry but I have another problem after the last update. There is a string like "string(1) "4"" on the product listing page.

[ ![string.jpg](/forum/attachment/26866) ](/forum/attachment/26866 "string.jpg")

- [ ![string.jpg](/forum/attachment/26866) ](/forum/attachment/26866 "string.jpg") [ ](/forum/attachment/26866?download=1 "string.jpg")

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 1 month ago [\#216343](#216343) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216343 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Hi,

The code given by Nicolas in a previous post was not present in the file "components/com_hikashop/fields/selectoptions.php".
So I added it, created a new menu and everything seems to be working as expected.

Please confirm that this issue is solved.

ps: sorry for the "string(1) "4"" it was some code added for the debug. removed !

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#216361](#216361) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216361 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Unfortunately, is not solved for me.
I created a new item again. I setted everything, but when I translated this item I have had the same problem then before.
In italian language it loads the right category (comodini), but in english language do not loads the "night-tables" category but "furnishing".
The settings I put in the menu item options for category and product , it seems are not correctly loaded for the other language.

This issue is very limitating. So, if it's not possible to fix, I downgrade to the 2.5.0 that worked fine. The website is almost ready and i need to go live. This is the last issue I have to solve.

The thing i ask myself is: I'm the only one with this issue? It is a problem due of my configuration? Falang is a plugin very used by hikashop users. They don't have this problem?

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 1 month ago [\#216403](#216403) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216403 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Hi,

I was able to reproduce the issue on my end, so we are debugging it now.
We keep you informed once this issue is fixed.

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#216406](#216406) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216406 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Ok! Thank you so much Xavier.
Waiting for your fix. I'm sure you can solve it!
Thank you!

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 1 month ago [\#216422](#216422) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216422 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

I have added the modifications on your end, made a quick test on the "comodini" menu in italian and english and the settings seems to be taken into account.

Please confirm that the modifications done solve the issue.

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

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

Less More

- Posts: 251
- Thank you received: 2
-
-

11 years 1 month ago [\#216487](#216487) by [Nello](/forum/user/1361-nello "View Nello's Profile")  Replied by *[Nello](/forum/user/1361-nello "View Nello's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216487 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Hi Xavier,
I try this fix with the "comodini" menu in italian and english, and also tried with a completly new menu item.
Now it seems that all works well. It takes the right settings in both languages.

Please, it is possible to know what modifications you have done?

Thank you so much! You're great!

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

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

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 1 month ago [\#216488](#216488) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Menu translation Fatal Error](/forum/10-translation/879597-menu-translation-fatal-error#216488 "-- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.4 -- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot use object of type stdClass as array in /home/hidesign/public&#95;html/administrator/components/com&#95;hikashop/views/menus/tmpl/options.php on line 11  Hi, After update to 2.6.0 I try to translate menu items and I get a Fatal error on component options.php  For translations I use Falang plugin.")*

Hi,

The modifications affects many files at different places.
But we have included this fix in the latest package available on our website directly.

So you can update as you want to get the latest version of the fix.

The following user(s) said Thank You: [Nello](/forum/user/1361-nello "View Nello's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg3OTU5Ny1tZW51LXRyYW5zbGF0aW9uLWZhdGFsLWVycm9yP3RtcGw9bWFya2Rvd24=) 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.133 seconds

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