Trying to use the DDblock in D7. Keep running into these errors.

--Notice: Undefined index: slide_image in include() (line 34 of /sites/all/modules/ddblock/ddblock-cycle-block-content.tpl.php).

--Warning: Invalid argument supplied for foreach() in include() (line 34 of /sites/all/modules/ddblock/ddblock-cycle-block-content.tpl.php).

--Notice: Undefined index: slide_image in include() (line 34 of /sites/all/modules/ddblock/ddblock-cycle-block-content.tpl.php).

--Warning: Invalid argument supplied for foreach() in include() (line 34 of /sites/all/modules/ddblock/ddblock-cycle-block-content.tpl.php).

Used it in multiple instances on one site in D6. Love the module but for some reason I am running ino this.

Thanks in advance for your assistance

Mike

Comments

Anonymous’s picture

Status: Active » Fixed

Found typos in theme and folder names

ppblaauw’s picture

Status: Fixed » Postponed (maintainer needs more info)

Can you explain what where the "typos in theme and folder names"
Do I need to change something, to solve the issue?

drcover’s picture

I am having the same issue. what typos are in the code that need to be corrected. Thanks

Anonymous’s picture

I had folder called module not modules etc

ppblaauw’s picture

Title: Notice: Undefined index: slide_image in include() (line 34 of /sites/all/modules/ddblock/ddblock-cycle-block-content.tpl.php) » Undefined index: slide_image in include() (line 34 of /sites/all/modules/ddblock/ddblock-cycle-block-content.tpl.php) Fixed
Status: Postponed (maintainer needs more info) » Fixed

#4 Thanks for your explanation
This means, no changes in the module code needed.

jsfox’s picture

I don't understand, what is the path for fix this issue. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

creathing’s picture

HI,

I have the same problem and cannot find typos, so I think there is still another problem.
The Notice only comes up when choosing 'cycleblock', not 'standard' display method.

Any idea? Thx.

creathing’s picture

I Just cleared my cache and had a whole bunch of new notices:

Notice: Undefined variable: pager in include() (regel 24 van /home/thingtes/public_html/basin/sites/all/themes/basin/custom/modules/ddblock/ddblock-cycle-pager-content.tpl.php).
Notice: Undefined variable: delta in include() (regel 30 van /home/thingtes/public_html/basin/sites/all/themes/basin/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).
Notice: Undefined variable: pager in include() (regel 32 van /home/thingtes/public_html/basin/sites/all/themes/basin/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).
Notice: Undefined variable: pager in include() (regel 38 van /home/thingtes/public_html/basin/sites/all/themes/basin/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).
Notice: Undefined variable: pager in include() (regel 59 van /home/thingtes/public_html/basin/sites/all/themes/basin/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).
Notice: Undefined variable: output_type in include() (regel 67 van /home/thingtes/public_html/basin/sites/all/themes/basin/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).
Notice: Undefined variable: output_type in include() (regel 81 van /home/thingtes/public_html/basin/sites/all/themes/basin/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).
Notice: Undefined variable: output_type in include() (regel 89 van /home/thingtes/public_html/basin/sites/all/themes/basin/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).

scottsawyer’s picture

same issue

Notice: Undefined variable: pager in include() (line 24 of /sites/all/themes/ssc_net/custom/modules/ddblock/ddblock-cycle-pager-content.tpl.php).
Notice: Undefined variable: delta in include() (line 30 of /sites/all/themes/ssc_net/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).
Notice: Undefined variable: pager in include() (line 32 of sites/all/themes/ssc_net/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).
Notice: Undefined variable: pager in include() (line 38 of l/sites/all/themes/ssc_net/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).
Notice: Undefined variable: pager in include() (line 59 of l/sites/all/themes/ssc_net/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).
Notice: Undefined variable: output_type in include() (line 67 of l/sites/all/themes/ssc_net/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).
Notice: Undefined variable: output_type in include() (line 81 of /sites/all/themes/ssc_net/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).
Notice: Undefined variable: output_type in include() (line 89 of /sites/all/themes/ssc_net/custom/modules/ddblock/ddblock-cycle-block-content.tpl.php).

(note: removed part of my absolute path)

itserich’s picture

I had a lot of errors when Dynamic Display Block and Views Slideshow DDblock were enabled at the same time.

Disabling Views Slideshow DDblock stopped the errors.

Nikolaus H’s picture

Got similar problems. Solved by disableing the "Views UI 7.x-3.0-rc1" module.

Nikolaus H’s picture

Issue summary: View changes

..