( ! ) Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 131072 bytes) in /var/www/school.qphoto.co.za/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php on line 505 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 357544 | {main}( ) | .../index.php:0 |
2 | 0.0001 | 359032 | require( '/var/www/school.qphoto.co.za/wp-blog-header.php ) | .../index.php:17 |
3 | 0.9833 | 124707592 | wp( $query_vars = ??? ) | .../wp-blog-header.php:16 |
4 | 0.9833 | 124707624 | WP->main( $query_args = '' ) | .../functions.php:1336 |
5 | 0.9855 | 124819544 | WP->query_posts( ) | .../class-wp.php:816 |
6 | 0.9855 | 124819656 | WP_Query->query( $query = ['page' => '', 'product_cat' => 'southdowns-college/staff', 'product' => 'staff-13', 'post_type' => 'product', 'name' => 'staff-13'] ) | .../class-wp.php:696 |
7 | 0.9855 | 124819656 | WP_Query->get_posts( ) | .../class-wp-query.php:3852 |
8 | 0.9856 | 124823560 | do_action_ref_array( $hook_name = 'pre_get_posts', $args = [0 => class WP_Query { public $query = [...]; public $query_vars = [...]; public $tax_query = NULL; public $meta_query = FALSE; public $date_query = FALSE; public $queried_object = *uninitialized*; public $queried_object_id = *uninitialized*; public $request = *uninitialized*; public $posts = *uninitialized*; public $post_count = 0; public $current_post = -1; public $before_loop = TRUE; public $in_the_loop = FALSE; public $post = *uninitialized*; public $comments = *uninitialized*; public $comment_count = 0; public $current_comment = -1; public $comment = *uninitialized*; public $found_posts = 0; public $max_num_pages = 0; public $max_num_comment_pages = 0; public $is_single = TRUE; public $is_preview = FALSE; public $is_page = FALSE; public $is_archive = FALSE; public $is_date = FALSE; public $is_year = FALSE; public $is_month = FALSE; public $is_day = FALSE; public $is_time = FALSE; public $is_author = FALSE; public $is_category = FALSE; public $is_tag = FALSE; public $is_tax = FALSE; public $is_search = FALSE; public $is_feed = FALSE; public $is_comment_feed = FALSE; public $is_trackback = FALSE; public $is_home = FALSE; public $is_privacy_policy = FALSE; public $is_404 = FALSE; public $is_embed = FALSE; public $is_paged = FALSE; public $is_admin = FALSE; public $is_attachment = FALSE; public $is_singular = TRUE; public $is_robots = FALSE; public $is_favicon = FALSE; public $is_posts_page = FALSE; public $is_post_type_archive = FALSE; private $query_vars_hash = 'bd430d8915b22aaa42a4f05a821cc822'; private $query_vars_changed = FALSE; public $thumbnails_cached = FALSE; protected $allow_query_attachment_by_filename = FALSE; private $stopwords = NULL; private $compat_fields = [...]; private $compat_methods = [...] }] ) | .../class-wp-query.php:1881 |
9 | 0.9856 | 124823560 | WP_Hook->do_action( $args = [0 => class WP_Query { public $query = [...]; public $query_vars = [...]; public $tax_query = NULL; public $meta_query = FALSE; public $date_query = FALSE; public $queried_object = *uninitialized*; public $queried_object_id = *uninitialized*; public $request = *uninitialized*; public $posts = *uninitialized*; public $post_count = 0; public $current_post = -1; public $before_loop = TRUE; public $in_the_loop = FALSE; public $post = *uninitialized*; public $comments = *uninitialized*; public $comment_count = 0; public $current_comment = -1; public $comment = *uninitialized*; public $found_posts = 0; public $max_num_pages = 0; public $max_num_comment_pages = 0; public $is_single = TRUE; public $is_preview = FALSE; public $is_page = FALSE; public $is_archive = FALSE; public $is_date = FALSE; public $is_year = FALSE; public $is_month = FALSE; public $is_day = FALSE; public $is_time = FALSE; public $is_author = FALSE; public $is_category = FALSE; public $is_tag = FALSE; public $is_tax = FALSE; public $is_search = FALSE; public $is_feed = FALSE; public $is_comment_feed = FALSE; public $is_trackback = FALSE; public $is_home = FALSE; public $is_privacy_policy = FALSE; public $is_404 = FALSE; public $is_embed = FALSE; public $is_paged = FALSE; public $is_admin = FALSE; public $is_attachment = FALSE; public $is_singular = TRUE; public $is_robots = FALSE; public $is_favicon = FALSE; public $is_posts_page = FALSE; public $is_post_type_archive = FALSE; private $query_vars_hash = 'bd430d8915b22aaa42a4f05a821cc822'; private $query_vars_changed = FALSE; public $thumbnails_cached = FALSE; protected $allow_query_attachment_by_filename = FALSE; private $stopwords = NULL; private $compat_fields = [...]; private $compat_methods = [...] }] ) | .../plugin.php:565 |
10 | 0.9856 | 124823560 | WP_Hook->apply_filters( $value = '', $args = [0 => class WP_Query { public $query = [...]; public $query_vars = [...]; public $tax_query = NULL; public $meta_query = FALSE; public $date_query = FALSE; public $queried_object = *uninitialized*; public $queried_object_id = *uninitialized*; public $request = *uninitialized*; public $posts = *uninitialized*; public $post_count = 0; public $current_post = -1; public $before_loop = TRUE; public $in_the_loop = FALSE; public $post = *uninitialized*; public $comments = *uninitialized*; public $comment_count = 0; public $current_comment = -1; public $comment = *uninitialized*; public $found_posts = 0; public $max_num_pages = 0; public $max_num_comment_pages = 0; public $is_single = TRUE; public $is_preview = FALSE; public $is_page = FALSE; public $is_archive = FALSE; public $is_date = FALSE; public $is_year = FALSE; public $is_month = FALSE; public $is_day = FALSE; public $is_time = FALSE; public $is_author = FALSE; public $is_category = FALSE; public $is_tag = FALSE; public $is_tax = FALSE; public $is_search = FALSE; public $is_feed = FALSE; public $is_comment_feed = FALSE; public $is_trackback = FALSE; public $is_home = FALSE; public $is_privacy_policy = FALSE; public $is_404 = FALSE; public $is_embed = FALSE; public $is_paged = FALSE; public $is_admin = FALSE; public $is_attachment = FALSE; public $is_singular = TRUE; public $is_robots = FALSE; public $is_favicon = FALSE; public $is_posts_page = FALSE; public $is_post_type_archive = FALSE; private $query_vars_hash = 'bd430d8915b22aaa42a4f05a821cc822'; private $query_vars_changed = FALSE; public $thumbnails_cached = FALSE; protected $allow_query_attachment_by_filename = FALSE; private $stopwords = NULL; private $compat_fields = [...]; private $compat_methods = [...] }] ) | .../class-wp-hook.php:348 |
11 | 0.9857 | 124824312 | Barn2\Plugin\WC_Protected_Categories\Category_Protector->protect_products_in_loop( $query = class WP_Query { public $query = ['page' => '', 'product_cat' => 'southdowns-college/staff', 'product' => 'staff-13', 'post_type' => 'product', 'name' => 'staff-13']; public $query_vars = ['page' => '', 'product_cat' => 'southdowns-college/staff', 'product' => 'staff-13', 'post_type' => 'product', 'name' => 'staff-13', 'error' => '', 'm' => '', 'p' => 0, 'post_parent' => '', 'subpost' => '', 'subpost_id' => '', 'attachment' => '', 'attachment_id' => 0, 'pagename' => '', 'page_id' => 0, 'second' => '', 'minute' => '', 'hour' => '', 'day' => 0, 'monthnum' => 0, 'year' => 0, 'w' => 0, 'category_name' => '', 'tag' => '', 'cat' => '', 'tag_id' => '', 'author' => '', 'author_name' => '', 'feed' => '', 'tb' => '', 'paged' => 0, 'meta_key' => '', 'meta_value' => '', 'preview' => '', 's' => '', 'sentence' => '', 'title' => '', 'fields' => '', 'menu_order' => '', 'embed' => '', 'category__in' => [...], 'category__not_in' => [...], 'category__and' => [...], 'post__in' => [...], 'post__not_in' => [...], 'post_name__in' => [...], 'tag__in' => [...], 'tag__not_in' => [...], 'tag__and' => [...], 'tag_slug__in' => [...], 'tag_slug__and' => [...], 'post_parent__in' => [...], 'post_parent__not_in' => [...], 'author__in' => [...], 'author__not_in' => [...], 'search_columns' => [...]]; public $tax_query = NULL; public $meta_query = FALSE; public $date_query = FALSE; public $queried_object = *uninitialized*; public $queried_object_id = *uninitialized*; public $request = *uninitialized*; public $posts = *uninitialized*; public $post_count = 0; public $current_post = -1; public $before_loop = TRUE; public $in_the_loop = FALSE; public $post = *uninitialized*; public $comments = *uninitialized*; public $comment_count = 0; public $current_comment = -1; public $comment = *uninitialized*; public $found_posts = 0; public $max_num_pages = 0; public $max_num_comment_pages = 0; public $is_single = TRUE; public $is_preview = FALSE; public $is_page = FALSE; public $is_archive = FALSE; public $is_date = FALSE; public $is_year = FALSE; public $is_month = FALSE; public $is_day = FALSE; public $is_time = FALSE; public $is_author = FALSE; public $is_category = FALSE; public $is_tag = FALSE; public $is_tax = FALSE; public $is_search = FALSE; public $is_feed = FALSE; public $is_comment_feed = FALSE; public $is_trackback = FALSE; public $is_home = FALSE; public $is_privacy_policy = FALSE; public $is_404 = FALSE; public $is_embed = FALSE; public $is_paged = FALSE; public $is_admin = FALSE; public $is_attachment = FALSE; public $is_singular = TRUE; public $is_robots = FALSE; public $is_favicon = FALSE; public $is_posts_page = FALSE; public $is_post_type_archive = FALSE; private $query_vars_hash = 'bd430d8915b22aaa42a4f05a821cc822'; private $query_vars_changed = FALSE; public $thumbnails_cached = FALSE; protected $allow_query_attachment_by_filename = FALSE; private $stopwords = NULL; private $compat_fields = [0 => 'query_vars_hash', 1 => 'query_vars_changed']; private $compat_methods = [0 => 'init_query_flags', 1 => 'parse_tax_query'] } ) | .../class-wp-hook.php:324 |
12 | 0.9860 | 124824088 | Barn2\Plugin\WC_Protected_Categories\Category_Protector->build_tax_query( $query_args = ['page' => '', 'product_cat' => 'southdowns-college/staff', 'product' => 'staff-13', 'post_type' => 'product', 'name' => 'staff-13', 'error' => '', 'm' => '', 'p' => 0, 'post_parent' => '', 'subpost' => '', 'subpost_id' => '', 'attachment' => '', 'attachment_id' => 0, 'pagename' => '', 'page_id' => 0, 'second' => '', 'minute' => '', 'hour' => '', 'day' => 0, 'monthnum' => 0, 'year' => 0, 'w' => 0, 'category_name' => '', 'tag' => '', 'cat' => '', 'tag_id' => '', 'author' => '', 'author_name' => '', 'feed' => '', 'tb' => '', 'paged' => 0, 'meta_key' => '', 'meta_value' => '', 'preview' => '', 's' => '', 'sentence' => '', 'title' => '', 'fields' => '', 'menu_order' => '', 'embed' => '', 'category__in' => [], 'category__not_in' => [], 'category__and' => [], 'post__in' => [], 'post__not_in' => [], 'post_name__in' => [], 'tag__in' => [], 'tag__not_in' => [], 'tag__and' => [], 'tag_slug__in' => [], 'tag_slug__and' => [], 'post_parent__in' => [], 'post_parent__not_in' => [], 'author__in' => [], 'author__not_in' => [], 'search_columns' => []] ) | .../Category_Protector.php:72 |
13 | 0.9860 | 124824088 | Barn2\Plugin\WC_Protected_Categories\Category_Protector->hidden_category_ids( ) | .../Category_Protector.php:236 |
14 | 1.0317 | 126062680 | Barn2\Plugin\WC_Protected_Categories\Util::to_category_visibilities( $terms = [0 => 953, 1 => 1749, 2 => 1750, 3 => 1753, 4 => 16, 5 => 50, 6 => 55, 7 => 57, 8 => 63, 9 => 69, 10 => 128, 11 => 137, 12 => 161, 13 => 164, 14 => 166, 15 => 178, 16 => 211, 17 => 227, 18 => 259, 19 => 275, 20 => 387, 21 => 499, 22 => 595, 23 => 707, 24 => 803, 25 => 919, 26 => 51, 27 => 58, 28 => 64, 29 => 70, 30 => 129, 31 => 138, 32 => 146, 33 => 163, 34 => 165, 35 => 194, 36 => 243, 37 => 260, 38 => 291, 39 => 403, 40 => 515, 41 => 611, 42 => 723, 43 => 819, 44 => 916, 45 => 921, 46 => 52, 47 => 59, 48 => 65, 49 => 71, 50 => 130, 51 => 131, 52 => 132, 53 => 139, 54 => 147, 55 => 179, 56 => 195, 57 => 228, 58 => 261, 59 => 307, 60 => 419, 61 => 531, 62 => 627, 63 => 739, 64 => 835, 65 => 923, 66 => 53, 67 => 60, 68 => 66, 69 => 72, 70 => 133, 71 => 140, 72 => 148, 73 => 152, 74 => 180, 75 => 212, 76 => 244, 77 => 262, 78 => 323, 79 => 435, 80 => 547, 81 => 643, 82 => 755, 83 => 851, 84 => 924, 85 => 61, 86 => 67, 87 => 73, 88 => 134, 89 => 141, 90 => 149, 91 => 153, 92 => 181, 93 => 196, 94 => 229, 95 => 263, 96 => 339, 97 => 451, 98 => 563, 99 => 659, 100 => 771, 101 => 867, 102 => 951, 103 => 37, 104 => 62, 105 => 68, 106 => 74, 107 => 135, 108 => 142, 109 => 150, 110 => 182, 111 => 213, 112 => 245, 113 => 248, 114 => 355, 115 => 467, 116 => 579, 117 => 675, 118 => 787, 119 => 883, 120 => 38, 121 => 75, 122 => 136, 123 => 143, 124 => 183, 125 => 197, 126 => 230, 127 => 264, ...] ) | .../Category_Protector.php:299 |
15 | 1.0322 | 126110064 | Barn2\Plugin\WC_Protected_Categories\Category_Visibility->__construct( $term_id = 953 ) | .../Util.php:91 |
16 | 1.0322 | 126110064 | get_term_meta( $term_id = 953, $key = 'visibility', $single = TRUE ) | .../Category_Visibility.php:24 |
17 | 1.0322 | 126110064 | get_metadata( $meta_type = 'term', $object_id = 953, $meta_key = 'visibility', $single = TRUE ) | .../taxonomy.php:1437 |
18 | 1.0322 | 126110064 | get_metadata_raw( $meta_type = 'term', $object_id = 953, $meta_key = 'visibility', $single = TRUE ) | .../meta.php:575 |
19 | 1.0322 | 126110112 | apply_filters( $hook_name = 'get_term_metadata', $value = NULL, ...$args = variadic(953, 'visibility', TRUE, 'term') ) | .../meta.php:636 |
20 | 1.0322 | 126110520 | WP_Hook->apply_filters( $value = NULL, $args = [0 => NULL, 1 => 953, 2 => 'visibility', 3 => TRUE, 4 => 'term'] ) | .../plugin.php:205 |
21 | 1.0322 | 126111744 | WP_Metadata_Lazyloader->lazyload_meta_callback( $check = NULL, $object_id = 953, $meta_key = 'visibility', $single = TRUE, $meta_type = 'term' ) | .../class-wp-hook.php:324 |
22 | 1.0322 | 126148664 | update_meta_cache( $meta_type = 'term', $object_ids = [0 => 953, 1 => 1749, 2 => 1750, 3 => 1753, 4 => 16, 5 => 50, 6 => 55, 7 => 57, 8 => 63, 9 => 69, 10 => 128, 11 => 137, 12 => 161, 13 => 164, 14 => 166, 15 => 178, 16 => 211, 17 => 227, 18 => 259, 19 => 275, 20 => 387, 21 => 499, 22 => 595, 23 => 707, 24 => 803, 25 => 919, 26 => 51, 27 => 58, 28 => 64, 29 => 70, 30 => 129, 31 => 138, 32 => 146, 33 => 163, 34 => 165, 35 => 194, 36 => 243, 37 => 260, 38 => 291, 39 => 403, 40 => 515, 41 => 611, 42 => 723, 43 => 819, 44 => 916, 45 => 921, 46 => 52, 47 => 59, 48 => 65, 49 => 71, 50 => 130, 51 => 131, 52 => 132, 53 => 139, 54 => 147, 55 => 179, 56 => 195, 57 => 228, 58 => 261, 59 => 307, 60 => 419, 61 => 531, 62 => 627, 63 => 739, 64 => 835, 65 => 923, 66 => 53, 67 => 60, 68 => 66, 69 => 72, 70 => 133, 71 => 140, 72 => 148, 73 => 152, 74 => 180, 75 => 212, 76 => 244, 77 => 262, 78 => 323, 79 => 435, 80 => 547, 81 => 643, 82 => 755, 83 => 851, 84 => 924, 85 => 61, 86 => 67, 87 => 73, 88 => 134, 89 => 141, 90 => 149, 91 => 153, 92 => 181, 93 => 196, 94 => 229, 95 => 263, 96 => 339, 97 => 451, 98 => 563, 99 => 659, 100 => 771, 101 => 867, 102 => 951, 103 => 37, 104 => 62, 105 => 68, 106 => 74, 107 => 135, 108 => 142, 109 => 150, 110 => 182, 111 => 213, 112 => 245, 113 => 248, 114 => 355, 115 => 467, 116 => 579, 117 => 675, 118 => 787, 119 => 883, 120 => 38, 121 => 75, 122 => 136, 123 => 143, 124 => 183, 125 => 197, 126 => 230, 127 => 264, ...] ) | .../class-wp-metadata-lazyloader.php:193 |
23 | 1.0520 | 132081944 | WooCommerce->log_errors( ) | .../class-woocommerce.php:0 |
24 | 1.0521 | 132083072 | WC_Logger->critical( $message = 'Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)', $context = ['source' => 'fatal-errors', 'error' => ['type' => 1, 'file' => '/var/www/school.qphoto.co.za/wp-includes/meta.php', 'line' => 1195], 'remote-logging' => TRUE, 'backtrace' => TRUE] ) | .../class-woocommerce.php:407 |
25 | 1.0524 | 132093800 | WC_Logger->log( $level = 'critical', $message = 'Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)', $context = ['source' => 'fatal-errors', 'error' => ['type' => 1, 'file' => '/var/www/school.qphoto.co.za/wp-includes/meta.php', 'line' => 1195], 'remote-logging' => TRUE, 'backtrace' => TRUE] ) | .../class-wc-logger.php:236 |
26 | 1.0524 | 132093832 | WC_Logger->should_handle( $level = 'critical' ) | .../class-wc-logger.php:173 |
27 | 1.0524 | 132093832 | Automattic\WooCommerce\Utilities\LoggingUtil::logging_is_enabled( ) | .../class-wc-logger.php:116 |
28 | 1.0526 | 132094856 | Automattic\WooCommerce\Internal\Admin\Logging\Settings->logging_is_enabled( ) | .../LoggingUtil.php:28 |
29 | 1.0526 | 132094856 | WC_Autoloader->autoload( $class = 'WC_Admin_Settings' ) | .../Settings.php:450 |
30 | 1.0526 | 132095200 | WC_Autoloader->load_file( $path = '/var/www/school.qphoto.co.za/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php' ) | .../class-wc-autoloader.php:110 |