Warning: Creating default object from empty value

  • Posts: 2595
  • Thank you received: 62
  • Hikashop Business
9 years 5 months ago #176770

-- HikaShop version -- : 234
-- Joomla version -- : 336
-- Error-message(debug-mod must be tuned on) -- : Warning: Creating default object from empty value in components/com_hikashop/views/address/view.html.php on line 134

Bonjour

dans l'admin = Sélecteur d'adresse > liste (liste deroulante meme erreur)
Dans le checkout > modification d'une adresse j'ai l'erreur

Warning: Creating default object from empty value in components/com_hikashop/views/address/view.html.php on line 134

qui correspond a

if($edit) {
$parents = $fieldsClass->getParents($extraFields);
$p = reset($parents);
$p->type = $type.'_address'; ligne 134
$init_js = $fieldsClass->initJSToggle($parents, $address, 0);
}

une idee ?

merci

Last edit: 9 years 5 months ago by erickb.

Please Log in or Create an account to join the conversation.

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
9 years 5 months ago #176791

Bonjour,

Merci pour le rapport.
Je vais essayer de reproduire votre warning, il semblerait que vous n'ayez rien de retourné par la fonction "getParents" de la class Fields ; nous allons rajouter du code pour gérer cela.

Cordialement,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: erickb

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
9 years 4 months ago #177842

Hello

I have the same problem.
However, my French is not so good :)

Do I understand correctly that a new release will appear where this issue is corrected?

Greetings!

Please Log in or Create an account to join the conversation.

  • Posts: 81378
  • Thank you received: 13037
  • MODERATOR
9 years 4 months ago #177844

Hi,

This is a benign warning message.
We'll fix that in a new release but in your case, you can just turn off the "error reporting" option of the Joomla configuration to not see it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.072 seconds
Powered by Kunena Forum