Support

Home Forums Event Espresso Premium Warning: call_user_func_array() [function.call-user-func-array]: First argument

Warning: call_user_func_array() [function.call-user-func-array]: First argument

Posted: July 30, 2013 at 9:21 am

Viewing 16 reply threads


Erich von Maurnböck

July 30, 2013 at 9:21 am

Hello,
I get that error message, when I check the payment Options in the Dashboard. It is located between “iDEAL by Mollie-Einstellungen” and “Rechnungseinstellungen”. I only have activated “Überweisungseinstellungen” (bank transfer).
I also get the message on every page – as I have seen right now – the message appears at the bottom of the registration page.

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘event_espresso_infusionsoft_payment_settings’ was given in …/webseiten/wpress/wp-includes/plugin.php on line 406

I have latest WPress verion 3.5.2 german, latest Event Espresso Version 3.1.33.3.P

I uninstalled the previous version and set that version up new. Registration page is not online at the moment for public.

Do you know, what I can do in that case?
Best regards,
Erich von Maurnboeck


Josh

  • Support Staff

July 30, 2013 at 4:53 pm

Hi Erich,

This will be fixed in Event Espresso version 3.1.34.P. It sounds like error reporting and/or WP_DEBUG may be turned on for your site, which should be turned off before making the site live.


Erich von Maurnböck

July 31, 2013 at 4:39 am

ok, thank you! when will it be available?
best regards,
Erich


Dean

July 31, 2013 at 5:08 am

Hello Erich,

It should be soon. We have 3 open tickets left on that version so once those have been resolved and tested.


Erich von Maurnböck

August 8, 2013 at 12:56 am

Hello,
I have the same error again using Version 3.1.34 P. What can I do to avoid this message?
Best regards,
Erich


Dean

August 8, 2013 at 1:16 am

Hi,

That message should no longer be there, even with WP_DEBUG on. Please try deactivating all gateways, then deactivate the plugin, reactivate the plugin and see if the error is still there.


Erich von Maurnböck

August 8, 2013 at 8:28 am

I deactivated all payment Gateways and deactivated the plugin as you recommended. After reactivation of the plugin, the same error occurs.
Best regards,
Erich


Josh

  • Support Staff

August 8, 2013 at 8:56 am

Hi Erich,

Are there any files in /wp-content/uploads/espresso/gateways?


Erich von Maurnböck

August 8, 2013 at 9:03 am

no, only in templates.
the exactly error message now is: Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘add_event_espresso_menus’ was given in /wpress/wp-includes/plugin.php on line 406


Josh

  • Support Staff

August 8, 2013 at 9:29 am

That’s a different message than the first one.

add_event_espresso_menus should be a valid callback unless something is preventing the /includes/functions/admin_menu.php file from being included.

You might try re-downloading a fresh copy of Event Espresso and re-installing.


Erich von Maurnböck

August 9, 2013 at 2:45 am

Hello, I have it reinstalled, but the same error


Erich von Maurnböck

August 9, 2013 at 3:24 am

ps.: this error occurs on every page of my website


Josh

  • Support Staff

August 9, 2013 at 5:59 am

Is this a live site or a site under development? If it’s a live site error reporting really should be turned off.

http://codex.wordpress.org/Editing_wp-config.php#Configure_Error_Logging


Erich von Maurnböck

August 12, 2013 at 12:48 am

ok, this is a good hint. I will turn the reporting off.


Josh

  • Support Staff

August 12, 2013 at 8:27 am

The file permissions for the wp-content/plugins/event-espresso directory could also be checked. It seems like the server isn’t able to access /includes/functions/admin_menu.php


Erich von Maurnböck

August 19, 2013 at 2:37 am

the rights on the functions Folder are 755, for admin_menu.php -> 644


Josh

  • Support Staff

August 19, 2013 at 2:06 pm

Hi Erich,

Are the admin menus for Event Espresso loading up when you’re in the admin?

Viewing 16 reply threads

The support post ‘Warning: call_user_func_array() [function.call-user-func-array]: First argument’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso