Carousel wordpress plugin warnin while using from widget.
Asked
Active
Viewed 77 times
2 Answers
1
There is a bug with the plugins code. I suspect you're using an older version of the plugin though because from looking at this line in the source code, it seems to be fine and have no issues.
It's likely that the plugin author forgot to use quotes on array keys.
Update the plugin if you can and hopefully they should have fixed it (looking at the in the directory it seems okay). If it still doesn't work, you need to raise an issue on the plugin support forum for the author to take a look.
This is the line with the error on (so it seems):
echo owl_function(array(category => $instance['category'], singleItem => "true", autoPlay => "true", pagination => "false"));
0
Needs to wrap key with ''.
echo owl_function(
array("category" => "events",
"items" => "3",
"autoPlay" => "true",
"pagination" => "true"
));

Amit
- 1,841
- 1
- 19
- 36