• Hi,

    I got this error after auto upgrading to 6.3.5.

    Fatal error: Call to undefined function get_network_option() in /danbi/sites/dokdoandeastasia/dokdoandeastasia/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 747

    My WordPress version is 4.0.16 and get_network_option was added to WordPress v4.4.

    Please check this out.

    Regards,

Viewing 12 replies - 1 through 12 (of 12 total)
  • The bigger question is why you haven’t upgraded to the latest WP as there are significant security holes in earlier versions……….

    @bluebearmedia:
    Such comments are not of help AT ALL. Maybe there are some plugins that first need to be checked for compatibility etc. There are plenty of reasons why somebody could delay the upgrade. You could also say “the bigger question is why WP has such holes in the first place” – not too constructive, is it?

    @wolfkang:
    I solved the same situation by renaming the plugin folder to “_wordfence”, then go to dashboard – upgrade WP – rename folder back and reactivate wordfence. HTH

    @awinad
    It’s unfortunate you feel that way, but regardless, it IS helpful from the perspective that maybe the OP is not aware of the security implications of running with old versions of WP.

    @bluebearmedia:
    still don’t agree ?? it’s a general comment that applies to any software. his question was a specific one about an issue of a specific software with a specific plugin.
    unless your main goal is to educate rather than to help (where you can still point out your general thoughts). just my two cents.

    • This reply was modified 7 years, 8 months ago by Awinad.

    @awinad
    Plainly obvious – my comment was to advise him that he should consider updating to the latest version of WP due to security considerations of using older versions.
    Just MY two cents.

    The fact that WordPress offers incremental security updates (4.0.16) to patch security issues while allowing users to keep their stable version of WP, no matter what their rationale, seems to indicate that there is no implicit security concern with doing so. They are, in fact, using a supported version of WordPress.

    The much bigger issue is that Wordfence hadn’t tested their plugin with versions of WordPress that they claim to be compatible with. It’s imperative for a plugin – especially one that auto-updates itself when configured – not to break the site. Such actions cause harm to the WP plugin ecosystem by creating a distrust of plugin updates, potentially reducing security of a site due to withheld updates.

    @deltafactory
    What are you talking about??? There have been a number of serious security issues identified with older versions of WP. And there is no mechanism of staying at an old rev, but still getting “the latest security fixes”, so I have no idea what you’re talking about on that point. The way to get “the latest security fixes” IS to update WordPress.

    You are correct, however, in that Wordfence does indicate their minimum WP operating version is 3.9, so that is something that likely should be addressed by them.

    Interesting….

    Thread Starter Donghyeok kang

    (@wolfkang)

    @bluebearmedia
    Let me answer to the bigger question.
    My company provides a kind of the WordPress managed hosting service. Wordfence is installed and activated automatically. Its auto-upgrade option is turned on.
    Most of our clients have no idea of the WordPress security and upgrades.
    It’s very happy that the WordPress core team supports the previous versions for security.
    The problem is that Wordfence startd using the functions which were introduced in the WP 4.4 released on December 8, 2015.
    We should replace the security plugin of our clients’ sites with Sucuri or something, or ask them to upgrade the WordPress.

    While I agree with keeping core as up-to-date as possible, there is sometimes a situation beyond one’s control that requires the use of older core versions. We have one such legacy multisite (a gem of technical debt) that uses a Headway theme in such a way that updating core past 4.2.13 breaks the site. The Headway themes are no longer supported and updating is not an option as there are breaking issues also with that. While we are in the process of migrating to a new solution, the site must remain live for active campaigns. So yes, it is less than ideal, but it is at the latest minor branch version and plugins are kept updated where possible.

    Wordfence 6.3.5 broke this site and I had to manually revert to 6.3.4. The failure here was fourfold:

    1. I should not have allowed any plugin, no matter how respected, to autoupdate without first testing it in development.
    2. Wordfence did not give their customers advanced notice of the breaking change (i.e. adding a dependency on a function present only in 4.4.0+)
    3. Wordfence did not update their WordPress plugin page to change the minimum compatibility from “3.9 or higher”.
    4. Wordfence released late on a Friday knowing their support staff are offline for the weekend.

    The bottom line is that I now need to disable auto update for this plugin across all my production sites, and manually push updates using Ansible only after first testing in development. Not everyone has this capability or workflow in place to protect themselves.

    Wordfence is good at security, but my guess is they are still growing as a development shop. They need to take lessons learned from the DevOps movement and improve in a hurry.

    Plugin Support wfphil

    (@wfphil)

    Thanks for bringing this up, we are aware of the issue. We recommend upgrading WordPress when possible but we will have to get back to you on which versions of WordPress we are going to support going forward.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Call to undefined function get_network_option() in Wordfence 6.3.5’ is closed to new replies.