awecontent _preprocess - Undefined index: srcImage

geflogenheiten's picture
geflogenheiten
Sun, 09/06/2015 - 08:55
#1
awecontent _preprocess - Undefined index: srcImage

Hi,

   always getting the below Notice (which shows up on and disturbs homepage) after

1. creating a section template(containing a image and several about objects)

2. creating a page template (copy of Alpine Home template)

3. adding section template to new page

4. creating new basic page based on new page template

#

  • Notice: Undefined index: srcImage in awecontent_preprocess_awe_image() (line 788 of /Users/.../sites/all/modules/custom/awecontent/templates/frontend/theme.inc).

  • Notice: Undefined index: srcLightbox in awecontent_preprocess_awe_image() (line 798 of /Users/.../sites/all/modules/custom/awecontent/templates/frontend/theme.inc).

#

What's going wrong?

update / addition -

1. this happens without section template as well, in fact with all object images added to a page (template)

2. a) commenting out line 788 and 798 and 843,844,845,846,848 (theme.inc)
b) so line 847 "$href = $link_extend;"  is executed

c) helps to avoid the notice.

But, we need a real solution for this ...

phuonght's picture
phuonght
Mon, 09/07/2015 - 06:12

Hi,

Could you send us your site url, admin and FTP account? We would like to have a check.

Please send by comment form and remember to check "Private message" for security reason.

geflogenheiten's picture
geflogenheiten
Mon, 09/07/2015 - 06:38

hi,

  local dev install only at the moment. No modifications done on the code other the one described. So hope you can reproduce on your instance easily?

please let me know what you would like me to check

cindy's picture
cindy
Mon, 09/07/2015 - 23:30

Please check your email for the updated version

geflogenheiten's picture
geflogenheiten
Tue, 09/08/2015 - 06:23

Hi,

  installed the update on two instances and first test show that the issue has gone.

 Great.  thanks.

AevoAdmin's picture
AevoAdmin
Tue, 11/24/2015 - 03:40

Hi Cindy, 

I also facing the same problem can you please send me the file update as well. Thanks

cindy's picture
cindy
Tue, 11/24/2015 - 03:53

@AevoAdmin 

Please check your email

We send you the updated version of MD AWEContent and MD Fullscreen Slider

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.