Lỗi public_html wp-includes class-wp-hook.php on line 298 năm 2024

If you changed function posts_search ($search, &$query) { to function posts_search ($search, $query) { the warning would be resolved (you'll of course need to do this for each place where a &$variable is used.

I see it as well and had to disable the plugin.

Warning: Parameter 2 to SyndicationDataQueries::posts_search() expected to be a reference, value given in /storage/h14/785/1479785/public_html/wp-includes/class-wp-hook.php on line 298

Warning: Parameter 2 to SyndicationDataQueries::posts_where() expected to be a reference, value given in /storage/h14/785/1479785/public_html/wp-includes/class-wp-hook.php on line 298

This issue should be resolved by the fix contained in @david-robinson-practiceweb 's pull request, which I merged into the most recent release of FeedWordPress. Thanks for the report, let me know if the problem is resolved on your end or if there's anything else that needs attention.

This support ticket is created 6 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

Sun Mon Tue Wed Thu Fri Sat 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - - 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.

Since updating WPLMS (wordpress is 4.7.2; bbpress 2.5.12 and updated WPLMS from yesterday) I get the following errors Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'bp_activity_setup_akismet' not found or invalid function name in /homepages/35/d276292731/htdocs/clickandbuilds/WeightliftingOnline/wp-includes/class-wp-hook.php on line 298 Warning: Cannot modify header information - headers already sent by (output started at /homepages/35/d276292731/htdocs/clickandbuilds/WeightliftingOnline/wp-includes/class-wp-hook.php:298) in /homepages/35/d276292731/htdocs/clickandbuilds/WeightliftingOnline/wp-content/themes/wplms/includes/func.php on line 398 it's preventing student sign in and could potentially lock me out if the cookie is deleted on the laptop. Any advice would be greatly appreciated, as the entire system is down until i get it fixed

February 6, 2017 at 7:21 am

Well this error seems to be generating from Buddypress plugin itself and is appearing due to old version of your akismet plugin . Please make sure that all of your plugins specially buddypress,woocommerce ,bbpress are updated to the latest version along with wplms theme and all its plugin . for theme update refer : https://wplms.io/support/knowledge-base/auto-updating-wplms/ To find buyer api key : https://wplms.io/support/knowledge-base/how-to-find-buyer-api-key-in-themeforest/ if above does not works : https://wplms.io/support/knowledge-base/manually-updating-wplms/

February 6, 2017 at 12:53 pm

For anyone else who may have the same issue: I was locked out this morning, so could not log to /WP-Admin Solution:

  • Back up everything as a precaution
  • FTP Access, to delete plugins: BBpress and Buddypress in plugin subfolder
  • This allowed login to /wp-admin using credentials again
  • Deleted Akismet
  • Reinstalled BBpress and Buddypress plugins
  • Updated BBpress and Buddypress to latest versions
  • Check errors were gone and login was possible;
  • Install most up to date Askimet plugin

Site back operational with no loss of user or database information, and everything fully backed up now as a restore point. Thanks a million for the heads up Alex, i'd already been using the links you provided, but without seeing the conflict with Akismet, it was just going round in circles.