Open Gonzalo2310 opened 3 years ago
When I make ajax calls I get a plugin error. Looking at the code I found this in: wp-media-categories/wp-media-categories/includes/functions.php
function wp_media_categories_update_count_callback( $terms = array(), $media_taxonomy = 'media_category' )
$prepared = $wpdb->prepare( $sql, $media_taxonomy->name, $media_taxonomy->name );
$media_taxonomy is defined as a string but used as an object.
$media_taxonomy
When I make ajax calls I get a plugin error. Looking at the code I found this in: wp-media-categories/wp-media-categories/includes/functions.php
$media_taxonomy
is defined as a string but used as an object.