Advertisement:

Author Topic: Illegal string offset 'name' in ..........ItemActions.php on line 1175  (Read 405 times)

Anjo

  • Newbie
  • *
  • Posts: 1
 :'(
Hello I need your help

I have just installed Osclass, (I set Categories, Location etc...)

When I try to add a ads, I have this error message:

Warning: Illegal string offset 'name' in /homepages/27/d734749570/htdocs/clickandbuilds/osclass/MyAutres/oc-includes/osclass/ItemActions.php on line 1175

Fatal error: Uncaught Error: Cannot use string offset as an array in /homepages/27/d734749570/htdocs/clickandbuilds/osclass/MyAutres/oc-includes/osclass/ItemActions.php:1175 Stack trace: #0 /homepages/27/d734749570/htdocs/clickandbuilds/osclass/MyAutres/oc-includes/osclass/controller/item.php(106): ItemActions->prepareData(true) #1 /homepages/27/d734749570/htdocs/clickandbuilds/osclass/MyAutres/index.php(97): CWebItem->doModel() #2 {main} thrown in /homepages/27/d734749570/htdocs/clickandbuilds/osclass/MyAutres/oc-includes/osclass/ItemActions.php on line 1175

I don't Know what to do, help me please :'( :'(

WEBmods

  • Hero Member
  • *****
  • Posts: 937
  • github.com/webmods-croatia/love-osclass/ | patrick
Hello,

I'm not sure, but it may be related to your PHP version. What PHP are you using? If it's not PHP 5.6, try switching to it.

Regards.

Aficionado

  • Guest
This " /homepages/27/d734749570/htdocs/clickandbuilds/osclass/MyAutres/" is a hell of a strange path to use.


WEBmods

  • Hero Member
  • *****
  • Posts: 937
  • github.com/webmods-croatia/love-osclass/ | patrick
This " /homepages/27/d734749570/htdocs/clickandbuilds/osclass/MyAutres/" is a hell of a strange path to use.

LOL, yeah. But maybe it's hosting related.

Regards.

Aficionado

  • Guest
The hosting part stops here:

"/homepages/27/d734749570/htdocs/" i guess. The rest "/clickandbuilds/osclass/MyAutres/" is also 3 levels deeper, so that COULD be a sub-sub folder problem.

In any case the files of Osclass should be in "/homepages/27/d734749570/htdocs/" i think.

I bet this problem is hosting related.

« Last Edit: May 27, 2018, 06:12:26 pm by Aficionado »