• Resolved wpraj

    (@wpraj)


    Hi there,

    First I must say this is an amazing event manager plugin I have ever found.I am really loving it.

    Just a small glitch.Not sure why I am getting this message.

    Warning: current() expects parameter 1 to be array, null given

    I am copying the code from events-list.php and put it in a theme template file.

    Can you please suggest me the right way please.

    Many thanks,

    https://www.ads-software.com/plugins/events-manager/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    can I know the template path in your theme?

    eg. wp-content > themes > Your Theme > plugins > events-manager > templates > events-list.php

    Thread Starter wpraj

    (@wpraj)

    Thanks.I am copying the code from events-list.php and pasting it in one of my theme’s template file.

    The file location is wp-content > themes > Your Theme > full-width.php

    I would like to show the events list in one of my theme’s template file.

    If you’re pasting the code it needs to be in the location that Angelo mentioned.

    What do you want to do – just show the events list in your full-width template, or something more advanced?

    Thread Starter wpraj

    (@wpraj)

    I just want to show the listings in my full-width.php template which is currently under /mytheme/ folder.

    Thread Starter wpraj

    (@wpraj)

    Sorry it’s fixed now.Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘problem with current() expects parameter 1 to be array’ is closed to new replies.