[Plugin: NextGEN Custom Fields] Why does this plugin generate so many queries?
-
I created 3 new custom fields using this plugin. I noticed that the plugin is adding 20 new queries when I load my gallery page. I’m not a coder but that seems like too many. Is this normal? Below I’ve pasted some debug output for 3 of those queries and the other 17 are similar
# Time: 0.00044083595275879 Query: SELECT vals.*, cols.field_name, cols.id AS field_id, cols.field_type FROM wp_v1s1oj_nggcf_field_values AS vals LEFT JOIN wp_v1s1oj_nggcf_fields AS cols ON vals.fid = cols.id WHERE vals.pid = '1' AND cols.ngg_type = '1' Call from: require, require_once, include, the_content, apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, NextGEN_shortcodes->show_gallery, nggShowGallery, nggCreateGallery, apply_filters, call_user_func_array, nggcf_image_obj, nggcf_hold_field_values # Time: 0.00049304962158203 Query: SELECT vals.*, cols.field_name, cols.id AS field_id, cols.field_type FROM wp_v1s1oj_nggcf_field_values AS vals LEFT JOIN wp_v1s1oj_nggcf_fields AS cols ON vals.fid = cols.id WHERE vals.pid = '2' AND cols.ngg_type = '1' Call from: require, require_once, include, the_content, apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, NextGEN_shortcodes->show_gallery, nggShowGallery, nggCreateGallery, apply_filters, call_user_func_array, nggcf_image_obj, nggcf_hold_field_values # Time: 0.0005340576171875 Query: SELECT vals.*, cols.field_name, cols.id AS field_id, cols.field_type FROM wp_v1s1oj_nggcf_field_values AS vals LEFT JOIN wp_v1s1oj_nggcf_fields AS cols ON vals.fid = cols.id WHERE vals.pid = '3' AND cols.ngg_type = '1' Call from: require, require_once, include, the_content, apply_filters, call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, NextGEN_shortcodes->show_gallery, nggShowGallery, nggCreateGallery, apply_filters, call_user_func_array, nggcf_image_obj, nggcf_hold_field_values
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘[Plugin: NextGEN Custom Fields] Why does this plugin generate so many queries?’ is closed to new replies.