Warning: Illegal string offset 'class'

  • Posts: 174
  • Thank you received: 2
  • Hikashop Business
11 years 3 weeks ago #131308

-- url of the page with the problem --
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 3.2.0
-- PHP version -- : 5.4
-- Browser(s) name and version -- : Firefox 25
-- Error-message(debug-mod must be tuned on) -- : Error_message

I'm getting this message, what should i do?

Warning: Illegal string offset 'class' in /.../public_html/libraries/cms/html/html.php on line 965

Warning: Illegal string offset 'class' in /.../public_html/libraries/cms/html/html.php on line 966

Warning: Illegal string offset 'class' in /.../public_html/libraries/cms/html/html.php on line 966

Last edit: 11 years 3 weeks ago by arnask.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 weeks ago #131341

Hi,
This error don't seems to be caused by Hikashop, you should directly check the code of the lines 965/966 of your file : "/.../public_html/libraries/cms/html/html.php"

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

  • Posts: 174
  • Thank you received: 2
  • Hikashop Business
11 years 3 weeks ago #131342

i've just updated joomla and istalled hikashop. I haven't changed anything.

965: $attribs = isset($attribs) ? $attribs : 'input-medium';
966: $attribs = trim($attribs . ' hasTooltip');

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

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
11 years 3 weeks ago #131355

Hi,

Please ask to the Joomla forum, like Mohamed said, "/.../public_html/libraries/cms/html/html.php" is not a HikaShop file.
So we can't provide you any kind of support if the problem is not in HikaShop.

Regards,


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.

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

  • Posts: 174
  • Thank you received: 2
  • Hikashop Business
11 years 1 week ago #132779

but maybe hikashop is doing something that joomla don't like
1. forum.joomla.org/viewtopic.php?t=826224&p=3106205
2. or its php 5.4 related: phpexcel.codeplex.com/workitem/17923

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
11 years 1 week ago #132814

That's a regression issue since Joomla 3.2
Here is the bug tracker for that:
joomlacode.org/gf/project/joomla/tracker...tem_id=32642&start=0
On our end, we'll change HikaShop in next version of circumvent the problem.
If you want to fix that in the mean time, either applys the pull request proposed:
github.com/obsidev/joomla-cms/commit/ffe...18161e4e95362bbfc288
or turn off the "error reporting" option of the joomla configuration.

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

Time to create page: 0.048 seconds
Powered by Kunena Forum