I get this message when I use the module:

Strict warning: Declaration of views_horizontal_slider_style_plugin::options_validate() should be compatible with that of views_plugin_style::options_validate() in require_once
(line 10 of C:\xampp\htdocs\fungsters\sites\all\modules\views_horizontal_slider\views_horizontal_slider_style_plugin.inc).

CommentFileSizeAuthor
#6 issue#1449676-#6-Fix_PHP_warning.patch538 bytespat redmond

Comments

marcoka’s picture

Status: Active » Postponed (maintainer needs more info)

views version?

this is a php strict error because you have php configured to output strict warnings. this does not make the module nonfunctional.
patches welcome.

marcoka’s picture

Priority: Normal » Minor
owlee’s picture

Thanks for the reply. I'll turn off the warning message when I publish the site.
The views module version is 7.x-3.1

This horizontal slider is a great module!

hugobcn’s picture

Could you said me the way to change priotity? I'm lossing

pat redmond’s picture

e-anima, if you change line 105 of views_horizontal_slider_style_plugin.inc from

function options_validate($form, &$form_state) {

to

function options_validate(&$form, &$form_state) {

(note the insertion of '&' in front of $form)

then the warning no longer appears.

pat redmond’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new538 bytes

OK, here is the patch for this one too.

sonerortac’s picture

Thanks Pat Redmond modul is working properly

pat redmond’s picture

Status: Needs review » Reviewed & tested by the community
wing112707’s picture

pat redmond thanks.

fmilland’s picture

#5 worked for me, thanks!

artijangam’s picture

Strict warning: Declaration of views_horizontal_slider_style_plugin::options_validate() should be compatible with views_plugin::options_validate(&$form, &$form_state) in require_once()
i have done same changes and its work.
Thanx my warning is remove :)

dsoundmn’s picture

Status: Reviewed & tested by the community » Closed (fixed)