• Resolved lkeels

    (@lkeels)


    Causes errors to appear on every admin page.

    FeedWordPressHTTPAuthenticator::set_auth_options() expected to be a reference, value given in /home/xxxxxxx/public_html/wp-includes/class-wp-hook.php on line 300

Viewing 15 replies - 1 through 15 (of 53 total)
  • The same here.

    Thread Starter lkeels

    (@lkeels)

    And I don’t think the author is around anymore

    Same problem here. Loved the concept of this project, sad to hear it might be abandoned.

    ugh. crap. me too.

    The same problem.

    Also have a problem with class-wp-hook.php since upgrading to 4.7 but on line 298:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /home/www/web411/html/bjoern/wp/wp-includes/class-wp-hook.php on line 298

    Same here Broken website (different error) had to restore from backup. Waiting for 4.7.1

    • This reply was modified 7 years, 11 months ago by Frank Gomez.

    Go back to wp 4.6.1 will work now ??

    Ok, so it’s very likely the wrong answer, but I removed the ampersand before the $handle parameter for FeedWordPressHTTPAuthenticator::set_auth_options() in feedwordpresshttpauthenticator.class.php and the error disappeared (and my feed imports still worked).

    There is another potential way to resolve it (identified by a colleague) by editing line 57 of wp-includes/class-wp-http-requests-hooks.php, but editing core files is even more likely to be the wrong answer.

    I’d therefore suggest, as a temporary fix, removing the ampersand on a test site and checking that nothing breaks. If it doesn’t, you might be safe putting the change live on production (I’m about to try that myself – wish me luck).

    My problem was I had to purge OpCache. Not related to this plugin

    I confirm, the solution offered above by garymarkfuller it works, at least for me. I removed the & found before $handle in line 153 of the feedwordpresshttpauthenticator.class.php file in the wp-content/plugins/feedwordpress folder. I reactivated the plugin, and there was not any error appearing. I updated the feed and the new posts were syndicated regularly.
    No other inconvenience observed so far on the site.
    Thank you garymarkfuller!

    FYI, I opened an issue on Github where the author maintains the code:

    https://github.com/radgeek/feedwordpress/issues/76

    and referenced this thread here and the reported fix. I don’t know how rapidly the author responds to issues, but it is open there in any event.

    Thank you too garymarkfuller – the error was showing on the public page of one of my sites as well, and thus panic emails. The fix cleaned it and am not seeing any implications yet for that.

    Thanks DanYork for submitting an issue; the developer is less than spotty, but he did pick up some commits and issues a few months ago

    Any updates on how to fix this:
    wp-includes/class-wp-hook.php errot after WP 4.7 update?

    When is WP 4.7.1 coming as my site is down!

    scroll up 5 messages to suggestion by @garymarkfuller

Viewing 15 replies - 1 through 15 (of 53 total)
  • The topic ‘BROKEN with the WordPress 4.7 update’ is closed to new replies.