WordPress.org

Ready to get started?Download WordPress

Forums

Safari Push
[resolved] Error : Warning: call_user_func_array() (5 posts)

  1. mart03
    Member
    Posted 8 months ago #

    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 !

    http://wordpress.org/plugins/safari-push/

  2. macgamer
    Member
    Plugin Author

    Posted 8 months ago #

    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.

  3. mart03
    Member
    Posted 8 months ago #

    Ok thanks about error !

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

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

    Thanks

  4. mart03
    Member
    Posted 8 months ago #

    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 !

    Thanks

  5. macgamer
    Member
    Plugin Author

    Posted 8 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.