Support » Plugin: Safari Push » Error : Warning: call_user_func_array()

  • Resolved mart03


    Hey macgamer,

    Thanks for your perfect plugin,
    But i have an error in my wordpress :

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘SafariPush’ does not have a method ‘ajaxSubmitPush’ in /home/ipodtou3/public_html/wp-includes/plugin.php on line 429

    I have already disable all plugins and just actived safari-push, but error is already here!

    So when i want send a test push, im redirect on my server push..
    Thanks for your reply !

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author macgamer


    The latest version 0.6.1 should fix that warning, sorry about that.

    When you send a test push, currently it will just do a direct post, so you will get redirected to your server (but you should still get the notification).

    It is on my todo list to make the test push via AJAX instead, maybe in the next release.

    Ok thanks about error !

    But notification not send..
    I try to send test push, im redirect on my server :

    But i get nothing, my table SQL have register token user, but nothing is send.. that weird !


    I have found error, is mysql.
    I don’t know why the web service use mysqli ! I required change all function “mysqli” to “mysql” because i use MariaDB.

    So now is working !


    Plugin Author macgamer


    It uses mysqli because that’s what the code I forked it from used.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error : Warning: call_user_func_array()’ is closed to new replies.