Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#53051 closed defect (bug) (invalid)

PHP Warning from callback function 'wc_loop_shop_columns'

Reported by: chef1974's profile chef1974 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

placed on debug and got this, Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wc_loop_shop_columns' not found or invalid function name in /home/kalmlondon/public_html/wp-includes/class-wp-hook.php on line 292

also when frontpage load, displays , then white speed , then after about 5 seconds site live, thats all this about?
the function is call from your wp-include, is that an error in the script?

Change History (2)

#1 @knutsp
3 years ago

  • Keywords URGENT removed
  • Resolution set to invalid
  • Status changed from new to closed
  • Summary changed from Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wc_loop_shop_columns' not found or invalid function name in /home/kalmlondon/public_html/wp-includes/class-wp-hook.php on line 292 to PHP Warning from callback function 'wc_loop_shop_columns'
  • Version 5.7.1 deleted

Hello @chef1974, welcome to Trac and thanks for the ticket.

This Trac is for bug tracking and enhancements of the WordPress core software, not for individual support. Even if the PHP warning comes form a core function, this is not a core issue.

The filter wc_loop_shop_columns seems to be applied by the WooCommerce plugin. It may be added (used) by your active theme or another active plugin. I suggest deactivating one by one, change theme, and see if it goes away, then asking in their support forums, or generally in https://wordpress.org/support/forums/

Closing this, as no action can be taken form this Trac.

#2 @peterwilsoncc
3 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.