fatal error, line 54

Forums › Forums › Search & Filter Pro › fatal error, line 54

Viewing 10 posts – 1 through 10 (of 15 total)
  • Anonymous
    #40189

    Hi, last weekend I updated some of plugin, unfortunately, after then my site doesn’t work good. For example, if i want modify any site, post or configure settings in your plugin, i have information:
    “Fatal error: Cannot redeclare recurse() (previously declared in /wp-content/plugins/search-filter-pro/search-filter-pro.php:54) in /wp-content/plugins/search-filter-pro/search-filter-pro.php on line 54”
    Could you help me in this problem?

    Ross Moderator
    #40192

    Ah yes, I believe you have the Types plugin?

    Both that plugin & S&F both load a custom polyfill function for a function that is not supported in older PHP versions, however I believe the Types plugin does not check to see if exists first before declaring it.

    Therefor if Types is loaded after S&F you will get this error.

    Considering that despite the above, we’re all doing it wrong anyway, and using a polyfill instead of prefixing our global function names – I went ahead and fixed this in the beta version of S&F.

    I’ve just emailed this to you – let me know if it works (and if you were indeed using the Types plugin)!

    Thanks

    Anonymous
    #40210

    thanks for your fast reply.
    I deleted last version S&F (2.1.2) and instaled 2.1.3, but the problem still exist. I see the same fatal error
    I using the , Types plugin.
    Becouse i’m not quait well specialist of it, could you tell me, what i must do, step by step?
    thx

    Ross Moderator
    #40218

    Hi there

    It sounds like maybe you didn’t upload the latest version correctly. Follow these steps:

    1) Disable S&F (do not remove, otherwise you will lose your search form)
    2) Via FTP, delete S&F folder from the plugins folder
    3) Unzip the file I sent you
    4) Upload search-filter-pro to the plugins folder

    It is not possible to get the same error again if you have updated the plugin because the function recurse no longer exists in S&F – from your error message:

    Fatal error: Cannot redeclare recurse()

    Thanks

    Anonymous
    #40238

    you’re right, because I removed the S & F via WordPress, not via FTP.
    I will try to do it again according to your instructions. thanks for the help
    I’ll let you know how it works

    Anonymous
    #40253

    unfortunately, still it doesnt work, now is error:

    Fatal error: Cannot redeclare search_filter_php_recurse() (previously declared in /wp-content/plugins/search-filter-pro/search-filter-pro.php:54) in /wp-content/plugins/search-filter-pro/search-filter-pro.php on line 54

    Anonymous
    #40254

    You must know that previously, at the first time I removed the S&F via WordPress (and I lose my defined search form)…

    Ross Moderator
    #40257
    This reply has been marked as private.
    Anonymous
    #40260

    you need admin details to WordPress or FTP?

    Ross Moderator
    #40261
    This reply has been marked as private.
Viewing 10 posts – 1 through 10 (of 15 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.