WordPress.org

Ready to get started?Download WordPress

Forums

WP Fastest Cache
[resolved] Please help error in call_user_func_array() expects parameter 1 (25 posts)

  1. memoria
    Member
    Posted 4 months ago #

    Hi! Please help. Your plugin is disabled at this time, it works great, except for this error constantly goes to the root, as can be solved?

    PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::actionDelete() in /public_html/wp-includes/plugin.php on line 507

    Also in all url's adds a "#", I do not understand why. Sorry for my bad English. ;)

    Thank's

    https://wordpress.org/plugins/wp-fastest-cache/

  2. Emre Vona
    Member
    Plugin Author

    Posted 4 months ago #

    Did you start to use it today?

  3. Emre Vona
    Member
    Plugin Author

    Posted 4 months ago #

    memoria, Can you do these steps please?

    - Deactive plugin
    - Remove the all files of the plugin
    - Download again the plugin
    - re-install

    Can you inform me after doing these steps?

  4. memoria
    Member
    Posted 4 months ago #

    Hi Emre! yes, now is active the actually version; started using the version prior to this.

    Copy & paste error.log

    [03-Mar-2014 22:11:55 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::actionDelete() in /home/xxxx/public_html/wp-includes/plugin.php on line 507
    [03-Mar-2014 22:12:50 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::setSchedule() in /home/xxxx/public_html/wp-includes/plugin.php on line 507
    [03-Mar-2014 22:13:17 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::actionDelete() in /home/xxxx/public_html/wp-includes/plugin.php on line 507

  5. Emre Vona
    Member
    Plugin Author

    Posted 4 months ago #

    is everything ok now?

  6. memoria
    Member
    Posted 4 months ago #

    Hi Emres! result remains the same, unless you have changed somewhat since the last post. Not OK

    [03-Mar-2014 22:13:17 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::actionDelete() in /home/xxx/public_html/wp-includes/plugin.php on line 507

  7. memoria
    Member
    Posted 4 months ago #

    Hi Emres!

    - Deactive plugin (yes)
    - Remove the all files of the plugin (yes)
    - Download again the plugin (yes)
    - re-install (yes)

    Error.log

    [03-Mar-2014 22:11:55 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::actionDelete() in /home/xxxx/public_html/wp-includes/plugin.php on line 507
    [03-Mar-2014 22:12:50 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::setSchedule() in /home/xxxx/public_html/wp-includes/plugin.php on line 507
    [03-Mar-2014 22:13:17 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::actionDelete() in /home/xxxx/public_html/wp-includes/plugin.php on line 507

  8. memoria
    Member
    Posted 4 months ago #

    Emre! I deleted the root error.log (I had done before). Now this minute, there is no error.log file.

    If tomorrow, find some file error, I tell you. (Time of Madrid, Spain)

    Thank's, and goodnight :)

  9. memoria
    Member
    Posted 4 months ago #

    Hi Emre!

    Have followed all the steps, and back out the error.log.
    I don't know where it comes the error, but be clear which is not for me, and again when the cache is cleared on schedule, get the error. No matter the time I put you clear, always comes out the same.

    [04-Mar-2014 01:26:26 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::setSchedule() in /home/xxx/public_html/wp-includes/plugin.php on line 507
    [04-Mar-2014 02:26:16 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::setSchedule() in /home/memoriza/public_html/wp-includes/plugin.php on line 507
    [04-Mar-2014 03:26:08 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::setSchedule() in /home/xxx/public_html/wp-includes/plugin.php on line 507
    [04-Mar-2014 04:27:48 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::setSchedule() in /home/xxx/public_html/wp-includes/plugin.php on line 507
    [04-Mar-2014 05:26:01 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access protected method WpFastestCache::setSchedule() in /home/xxx/public_html/wp-includes/plugin.php on line 507

    You are currently disabled, if you find a solution, I'll gladly reactivate it. I add, I have looked in the wp-admin/ and had an error when indexing pages

    That's error.log in wp-admin/

    [03-Mar-2014 10:08:10 UTC] PHP Warning: fopen(/home/xxx/public_html/wp-content/plugins/wp-fastest-cache/wpFastestCache.php) [function.fopen]: failed to open stream: No such file or directory in /home/xxx/public_html/wp-includes/functions.php on line 3666
    [03-Mar-2014 10:08:10 UTC] PHP Warning: fread() expects parameter 1 to be resource, boolean given in /home/xxx/public_html/wp-includes/functions.php on line 3669
    [03-Mar-2014 10:08:10 UTC] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /home/xxx/public_html/wp-includes/functions.php on line 3672
    [03-Mar-2014 20:24:10 UTC] PHP Warning: unlink(/home/xxx/public_html/wp-content/wp_fast_cache/www.memorizada.com/no-olvidare/la-tira-deindex.html) [function.unlink]: No such file or directory in /home/xxx/public_html/wp-content/plugins/wp-fast-cache/wp-fast-cache.php on line 612
    [03-Mar-2014 20:24:11 UTC] PHP Warning: unlink(/home/xxx/public_html/wp-content/wp_fast_cache/www.memorizada.com/contactoindex.html) [function.unlink]: No such file or directory in /home/xxx/public_html/wp-content/plugins/wp-fast-cache/wp-fast-cache.php on line 612
    [03-Mar-2014 20:24:12 UTC] PHP Warning: unlink(/home/xxx/public_html/wp-content/wp_fast_cache/www.memorizada.com/no-olvidareindex.html) [function.unlink]: No such file or directory in /home/xxx/public_html/wp-content/plugins/wp-fast-cache/wp-fast-cache.php on line 612
    [03-Mar-2014 20:24:12 UTC] PHP Warning: unlink(/home/xxx/public_html/wp-content/wp_fast_cache/http://www.memorizada.com/esto-y-mos-enindex.html) [function.unlink]: No such file or directory in /home/xxx/public_html/wp-content/plugins/wp-fast-cache/wp-fast-cache.php on line 612
    [03-Mar-2014 20:24:12 UTC] PHP Warning: unlink(/home/xxx/public_html/wp-content/wp_fast_cache/http://www.memorizada.com/aboutindex.html) [function.unlink]: No such file or directory in /home/memoriza/public_html/wp-content/plugins/wp-fast-cache/wp-fast-cache.php on line 612
    [03-Mar-2014 20:24:13 UTC] PHP Warning: unlink(/home/xxx/public_html/wp-content/wp_fast_cache/http://www.memorizada.com/indice-cronologico/mapa-del-sitioindex.html) [function.unlink]: No such file or directory in /home/xxx/public_html/wp-content/plugins/wp-fast-cache/wp-fast-cache.php on line 612
    [03-Mar-2014 20:24:13 UTC] PHP Warning: unlink(/home/xxx/public_html/wp-content/wp_fast_cache/http://www.memorizada.com/indice-cronologicoindex.html) [function.unlink]: No such file or directory in /home/xxx/public_html/wp-content/plugins/wp-fast-cache/wp-fast-cache.php on line 612
    [03-Mar-2014 20:24:15 UTC] PHP Warning: unlink(/home/xxx/public_html/wp-content/wp_fast_cache/http://www.memorizada.com/radio-memori/lo-mas-comentadoindex.html) [function.unlink]: No such file or directory in /home/xxx/public_html/wp-content/plugins/wp-fast-cache/wp-fast-cache.php on line 612
    [03-Mar-2014 20:24:15 UTC] PHP Warning: unlink(/home/xxx/public_html/wp-content/wp_fast_cache/http://www.memorizada.com/radio-memori/los-100-mas-vistosindex.html) [function.unlink]: No such file or directory in /home/xxx/public_html/wp-content/plugins/wp-fast-cache/wp-fast-cache.php on line 612

  10. memoria
    Member
    Posted 4 months ago #

    Emre, i'm send email.

  11. memoria
    Member
    Posted 4 months ago #

    Emre please,could you help me? with errors that come from; and you have to top, the fault is when programming the cache.

    Thank's

  12. Emre Vona
    Member
    Plugin Author

    Posted 4 months ago #

    Hi memoria, I have solved the issue.

    But please do what I say. Can you do these steps please?

    - Deactive plugin
    - Remove the all files of the plugin
    - Download again the plugin
    - re-install

    Can you inform me after doing these steps?

  13. memoria
    Member
    Posted 4 months ago #

    Hi Emre! thanks! Now, I can not try it now. Have to go to class tonight schedule Madrid. I'll try.

    Hope you do not absolutely rewrite all URL's, adding a "#" at the end /#.

    See you ...

  14. Emre Vona
    Member
    Plugin Author

    Posted 4 months ago #

    rewrite url "adding a "#" at the end /#." ?? what does it mean?

  15. memoria
    Member
    Posted 4 months ago #

    Hi Emre!

    Deactivate plugin, remove all files of the plugin, download the plugin, re-install, but in the footer this message appears Security problem with nonce in the home page

  16. Emre Vona
    Member
    Plugin Author

    Posted 4 months ago #

    may be other plugins can cause this issue. Can you tell me which plugins you use?

  17. memoria
    Member
    Posted 4 months ago #

    Hi Emre! sorry for the delay, sent email with the information you ask me. ;(
    It's a long list of plugins

    See you ...

  18. Emre Vona
    Member
    Plugin Author

    Posted 4 months ago #

    hi again memoria, you sould deactive the plugins one by one and try to find which causes the issue. And when you find it, you can inform me and I make my plugin to be compatible with it.

    Please understand me, there are 29,866 pluguns in the wordpress. I cannot make my plugun to be compatible with all suddenly. Users should help me about it.

  19. memoria
    Member
    Posted 4 months ago #

    Hi Emre, thank's! but please, in the plugin Wptouch Pro ( I need add other reject agent's) http://bit.ly/OjXQJN & http://bit.ly/OjY1Vp.

    As I can fix it?

    See you and thank's

  20. Emre Vona
    Member
    Plugin Author

    Posted 4 months ago #

    wpfc works with Wptouch properly. What kind of agents do you wanna reject?

    Mobile users don't see the cached version.

  21. memoria
    Member
    Posted 4 months ago #

    The agents wanna reject following, written textually:

    iPhone
    iPod
    Android
    BB10
    BlackBerry
    webOS
    IEMobile/7.0
    IEMobile/9.0
    IEMobile/10.0
    MSIE 10.0
    iPad
    PlayBook
    Xoom
    P160U
    SCH-I800
    Nexus 7
    Touch

    Thank's

  22. Emre Vona
    Member
    Plugin Author

    Posted 4 months ago #

    iphone|sony|symbos|nokia|samsung|mobile|epoc|ericsson|panasonic|philips|sanyo|sharp|sie-|portalmmm|blazer|avantgo|danger|palm|series60|palmsource|pocketpc|android|blackberry|playbook|iphone|ipod|iemobile|palmos|webos|googlebot-mobile

    These agents are rejected.

  23. memoria
    Member
    Posted 4 months ago #

    But Not:

    BB10, iemobile/7.0, iemobile/9.0, iemobile/10.0
    MSIE 10.0, ipad, playbook, xoom, p160U, SCH-I800, Nexus 7, Touch

  24. mbrsolution
    Member
    Posted 4 months ago #

    Hello @Emre, once again thank you for such a great plugin and the great support you carry out all the time. Well done....:)

    If I may make a suggestion, to make your life easier. You can create an entry field on the back end of the plugin logged in as an administrator of course. Allowing website administrators to add their own list of rejected agents, apart from the list that you have already added.

    Most cache plugins here in wordpress.org allow for this to happen. This in return would make your life much easier as technologies keep changing and new smart devices keep appearing. What do you think of my suggestion?

    Kind regards

  25. Emre Vona
    Member
    Plugin Author

    Posted 4 months ago #

    you are right but lots of people don't know the agents. but maybe I can add it later.

    memoria, bb10|xoom|p160u|nexus and ipad have been added. You need to download it again.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags