Illegal string offset 'layout_image_path'

semargl's picture
semargl
Thu, 12/31/2015 - 03:43
#1
Illegal string offset 'layout_image_path'

Started getting this warning. I noticed it after installing FAQ module. Not sure when exactly it started to show up.

Warning: Illegal string offset 'layout_image_path' in orenmode_config_preprocess_menu_link() (line 384 of /home/semarglitc/public_html/sites/all/modules/custom/orenmode_config/orenmode_config.module).
phuonght's picture
phuonght
Thu, 12/31/2015 - 03:52

Please send us your FTP host also. We can not connect.

cindy's picture
cindy
Mon, 01/04/2016 - 02:32

Hi,

Please send us your source code + Database

We will check and fix for you then resend you after finishing

semargl's picture
semargl
Wed, 01/06/2016 - 01:14

Seems like solution you guys emailed me works.

Thank you.

thoriax's picture
thoriax
Sat, 04/16/2016 - 09:58

Hi,

I have the same warning.

Can you explain how to solve this?

  • Warning: Illegal string offset 'layout_image_path' in orenmode_config_preprocess_menu_link() (line 384 of/home/../sites/all/modules/custom/orenmode_config/orenmode_config.module).

  • Notice: Uninitialized string offset: 0 in orenmode_config_preprocess_menu_link() (line 384 of /home/../sites/all/modules/custom/orenmode_config/orenmode_config.module).

Thanks

khoa's picture
khoa
Sat, 04/16/2016 - 23:08

Hello Thoriax,

Please this comment http://megadrupal.com/comment/8286#comment-8286 for your question.

Thank you!

thoriax's picture
thoriax
Fri, 04/22/2016 - 10:57

Hi  Khoa,

Many thanks for feedback!
Despite, your feedback is not completely clear for me. as you refer to the same post where I gave feedback. Within this post, the issue is not answere (or might be a private message?) Is it possible to be a bit more clear on this?

Thanks in advance

phuonght's picture
phuonght
Fri, 04/22/2016 - 22:15

Hi Thoriax, 

It seems that Khoa mentioned his comment #9 above. Have you tried with it?

thoriax's picture
thoriax
Sat, 04/23/2016 - 06:41

Hi, 

Could it be a private message, which is only visible for Megadrupal staff and poster? 

Comment #8 doens't exists (yet) for me.. 

(Definition private message: Only you and Megadrupal staff can see)

Your latest comment (by  Phuonght Fri, 04/22/2016 - 22:15) contains number #8 for me. No other comments from Khoa are visible..

Is it possible to repost, or make it visible?

Many thanks

phuonght's picture
phuonght
Sat, 04/23/2016 - 06:52

Sorry,

Below is Khoa's comment:

Please open orenmode_config.module(sites/all/modules/custom/orenmode_config), go to line 384 and replace the code:

$element['#attributes']['layout_img'][] =
md_orenmode_theme_setting_check_path($layout_img['layout_image_path']);

with

if(isset($layout_img['layout_image_path'])) {
$element['#attributes']['layout_img'][] =
md_orenmode_theme_setting_check_path($layout_img['layout_image_path']);
}
nlampridis's picture
nlampridis
Mon, 01/16/2017 - 07:49

Hi, i have the same error. I replaced the code but now the site page is blank. Can you help me?

thoriax's picture
thoriax
Sat, 04/23/2016 - 07:05

Perfect, this solved it.

Thanks for the support!

Regards

phuonght's picture
phuonght
Mon, 01/16/2017 - 22:05

Hi Nlampridis,

Please send us your site admin account and FTP account so we can have a check then fix problem.

Thank you.

khoa's picture
khoa
Sat, 01/21/2017 - 05:51

Hi Nlampridis,

I cannot access to your website nor FTP. Please check.

Thank you!

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.