Support » Plugin: Events Manager » EM = WPML Warning: call_user_func_array() []:

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi,

    I get this too, I’ve let Marcus know about it. should get fixed soon.

    Any word on when, or if, this will be fixed?

    Plugin Author Marcus


    it will be, but can’t give an exact date

    one thing you can do at the moment is turn off your php error_reporting (ask your hosts) so the error doesn’t appear on your screen.

    @markus, you can post when correct.


    Don’t know if it is helpful or not for you to know.
    But it seems that it doesn’t give the warning in the front end for ordinary users, so in that sense it seems to work ok.

    As an admin I get the warning on all pages, and when I save a page or post it usually works, but the page doesn’t load after saving so have to close that tab and open the same thing in a new one.

    Other only thing I’ve seen that doesn’t work is to upload media files.
    If I turn of the compatibility plugin when doing that type of editing it seems to work, then just activate it again when done uploading pictures etc.

    Apart from this glitch it seems to handle most things with Event manager working together with WPML.


    Plugin Author Marcus


    will provide an update asap, but the fix is quite simple:

    in the php file em-wmpl-admin.php replace any function with ‘public static function’ e.g.

    function init(){


    public static function init(){

    Seems to work.
    Thanks a lot.


    @anders Pettersson

    thanks for confirming.

    Just add, so far everything seems to work but when editing a post I get the warning:
    Warning: call_user_func_array() []: First argument is expected to be a valid callback, ‘EM_WPML_Admin::meta_boxes’ was given in /var/www/vhosts/ on line 406

    Plugin Author Marcus


    chances are you only replaced one function, or missed that specific function,

    any menion of ‘function’ should be preceded with ‘public static’ and it’ll work.

    function meta_boxes(){


    public static function meta_boxes(){

    Ok, that was the case. I obviously didn’t read you instructions correct. I had just changed one, seems to work now. Will report if I find anything else, but this seems to have fixed it.


Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘EM = WPML Warning: call_user_func_array() []:’ is closed to new replies.