Re: Event Page Plugin -- Two Markups Returning Errors!

The plugin works fine, but when I insert the markups <strong>post_title</strong> and <strong>comment_count</strong>, returns the following error:

<code>Warning: call_user_func_array () expects parameter 2 to Be array, string Given in (root)  wp-content  plugins  event-page  tern_wp_events.php on line 762</code>

In the line 762, I have:

<code>call_user_func_array($tern_wp_event_markup_fields[$k]['func'],$args);</code>

Only the title and comments count shows this problem, the other markups are displayed correctly.

I'm using the latest version of Plugin Event Page, with the latest version of Wordpress + EasyPHP.

I need a quick solution, because I really want to use this great plugin in a job that I am developing.
And... sorry for my bad English. =/

2

Re: Event Page Plugin -- Two Markups Returning Errors!

Try changing line 750 of the same file with the error from this:
$args = '';

to this:
$args = array();

Please let me know if that helps.

Re: Event Page Plugin -- Two Markups Returning Errors!

I was having the same problem, and the solution you gave above fixed it for me!  Thanks for the information!