Jump to content

[Solved] Category\product names not showing up in admin (image attached)


Recommended Posts

I transferred a database from another prestashop, and on the front end everything works fine, but on the back end, I can't see the name and the description of categories/products. IDs show up just fine.
Every name is in another language (Romanian), and the language is present in the database with id number 7. AFAIK everything is linked correctly, however, I get one warning, repeated about 500 times, if I enable error displaying:

Warning: key_exists() expects parameter 2 to be array, null given in /var/www/prestashop/classes/AdminTab.php on line 216


which is

$str = (key_exists(get_class($this).$key, $_LANGADM)) ? $_LANGADM[get_class($this).$key] : ((key_exists($class.$key, $_LANGADM)) ? $_LANGADM[$class.$key] : $string);

in the l function.
I understand what is the error, but I have no idea how to fix it, or how to display the names/descriptions in the back end, especially when they are displayed just fine in the front end.
Please advise!

45876_KHbDhuKc8f5wZwnX2v6k_t

Link to comment
Share on other sites

I guess you are using multiple languages in your store and you have not input information for all languages.
So if you switch to the language that does not has catalog data, you will see them as empty like name and description.

at admin, try to switch to other language to see if it is OK.

You need to input information for all languages. To do so, you need to click language icon (flag) bedside the input box and then choose the language to input the data.

Link to comment
Share on other sites

but from the screenshot, I can see it is in English. I think that's why you see the name/descriptions are empty.

try to change the default language to Romanian for the each admin account

Employees
Edit employee and change the lanugage

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...