( ! ) Fatal error: Out of memory (allocated 2097152) (tried to allocate 20480 bytes) in C:\wamp\www\wp-includes\rest-api.php on line 90 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0002 | 384200 | {main}( ) | ...\index.php:0 |
2 | 0.0003 | 384480 | require( 'C:\wamp\www\wp-blog-header.php ) | ...\index.php:17 |
3 | 0.3425 | 9489576 | wp( $query_vars = ??? ) | ...\wp-blog-header.php:16 |
4 | 0.3425 | 9489576 | WP->main( $query_args = '' ) | ...\functions.php:1334 |
5 | 0.3425 | 9489576 | WP->parse_request( $extra_query_vars = '' ) | ...\class-wp.php:780 |
6 | 0.3428 | 9526144 | do_action_ref_array( $hook_name = 'parse_request', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = ''; public $request = 'wp-json/oembed/1.0/embed'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/oembed%2F1.0%2Fembed'; public $did_permalink = TRUE }] ) | ...\class-wp.php:399 |
7 | 0.3428 | 9526144 | WP_Hook->do_action( $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = ''; public $request = 'wp-json/oembed/1.0/embed'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/oembed%2F1.0%2Fembed'; public $did_permalink = TRUE }] ) | ...\plugin.php:565 |
8 | 0.3428 | 9526144 | WP_Hook->apply_filters( $value = '', $args = [0 => class WP { public $public_query_vars = [...]; public $private_query_vars = [...]; public $extra_query_vars = [...]; public $query_vars = [...]; public $query_string = ''; public $request = 'wp-json/oembed/1.0/embed'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/oembed%2F1.0%2Fembed'; public $did_permalink = TRUE }] ) | ...\class-wp-hook.php:332 |
9 | 0.3429 | 9527336 | rest_api_loaded( class WP { public $public_query_vars = [0 => 'm', 1 => 'p', 2 => 'posts', 3 => 'w', 4 => 'cat', 5 => 'withcomments', 6 => 'withoutcomments', 7 => 's', 8 => 'search', 9 => 'exact', 10 => 'sentence', 11 => 'calendar', 12 => 'page', 13 => 'paged', 14 => 'more', 15 => 'tb', 16 => 'pb', 17 => 'author', 18 => 'order', 19 => 'orderby', 20 => 'year', 21 => 'monthnum', 22 => 'day', 23 => 'hour', 24 => 'minute', 25 => 'second', 26 => 'name', 27 => 'category_name', 28 => 'tag', 29 => 'feed', 30 => 'author_name', 31 => 'pagename', 32 => 'page_id', 33 => 'error', 34 => 'attachment', 35 => 'attachment_id', 36 => 'subpost', 37 => 'subpost_id', 38 => 'preview', 39 => 'robots', 40 => 'favicon', 41 => 'taxonomy', 42 => 'term', 43 => 'cpage', 44 => 'post_type', 45 => 'embed', 46 => 'post_format', 47 => 'forum', 48 => 'topic', 49 => 'reply', 50 => 'topic-tag', 51 => 'bbp_view', 52 => 'edit', 53 => 'bbp_search', 54 => 'bbp_user', 55 => 'bbp_favs', 56 => 'bbp_subs', 57 => 'bbp_engagements', 58 => 'bbp_tops', 59 => 'bbp_reps', 60 => 'rest_route', 61 => 'sitemap', 62 => 'sitemap-subtype', 63 => 'sitemap-stylesheet', 64 => 'action']; public $private_query_vars = [0 => 'offset', 1 => 'posts_per_page', 2 => 'posts_per_archive_page', 3 => 'showposts', 4 => 'nopaging', 5 => 'post_type', 6 => 'post_status', 7 => 'category__in', 8 => 'category__not_in', 9 => 'category__and', 10 => 'tag__in', 11 => 'tag__not_in', 12 => 'tag__and', 13 => 'tag_slug__in', 14 => 'tag_slug__and', 15 => 'tag_id', 16 => 'post_mime_type', 17 => 'perm', 18 => 'comments_per_page', 19 => 'post__in', 20 => 'post__not_in', 21 => 'post_parent', 22 => 'post_parent__in', 23 => 'post_parent__not_in', 24 => 'title', 25 => 'fields']; public $extra_query_vars = []; public $query_vars = ['rest_route' => '/oembed/1.0/embed']; public $query_string = ''; public $request = 'wp-json/oembed/1.0/embed'; public $matched_rule = '^wp-json/(.*)?'; public $matched_query = 'rest_route=/oembed%2F1.0%2Fembed'; public $did_permalink = TRUE } ) | ...\class-wp-hook.php:308 |
10 | 0.3429 | 9527360 | rest_get_server( ) | ...\rest-api.php:403 |
11 | 0.3429 | 9530136 | do_action( $hook_name = 'rest_api_init', ...$arg = variadic(class WP_REST_Server { protected $namespaces = ['oembed/1.0' => [...], 'wicked-block-builder/v1' => [...], 'wp/v2' => [...]]; protected $endpoints = ['/' => [...], '/batch/v1' => [...], '/oembed/1.0' => [...], '/oembed/1.0/embed' => [...], '/oembed/1.0/proxy' => [...], '/wicked-block-builder/v1' => [...], '/wicked-block-builder/v1/generator/posts' => [...], '/wp/v2' => [...], '/wp/v2/posts' => [...], '/wp/v2/posts/(?P<id>[\d]+)' => [...], '/wp/v2/posts/(?P<parent>[\d]+)/revisions' => [...], '/wp/v2/posts/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)' => [...], '/wp/v2/posts/(?P<id>[\d]+)/autosaves' => [...], '/wp/v2/posts/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)' => [...], '/wp/v2/pages' => [...], '/wp/v2/pages/(?P<id>[\d]+)' => [...], '/wp/v2/pages/(?P<parent>[\d]+)/revisions' => [...], '/wp/v2/pages/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)' => [...]]; protected $route_options = []; protected $embed_cache = [] }) ) | ...\rest-api.php:577 |
12 | 0.3429 | 9530512 | WP_Hook->do_action( $args = [0 => class WP_REST_Server { protected $namespaces = [...]; protected $endpoints = [...]; protected $route_options = [...]; protected $embed_cache = [...] }] ) | ...\plugin.php:517 |
13 | 0.3429 | 9530512 | WP_Hook->apply_filters( $value = '', $args = [0 => class WP_REST_Server { protected $namespaces = [...]; protected $endpoints = [...]; protected $route_options = [...]; protected $embed_cache = [...] }] ) | ...\class-wp-hook.php:332 |
14 | 0.3433 | 9574592 | create_initial_rest_routes( class WP_REST_Server { protected $namespaces = ['oembed/1.0' => [...], 'wicked-block-builder/v1' => [...], 'wp/v2' => [...]]; protected $endpoints = ['/' => [...], '/batch/v1' => [...], '/oembed/1.0' => [...], '/oembed/1.0/embed' => [...], '/oembed/1.0/proxy' => [...], '/wicked-block-builder/v1' => [...], '/wicked-block-builder/v1/generator/posts' => [...], '/wp/v2' => [...], '/wp/v2/posts' => [...], '/wp/v2/posts/(?P<id>[\d]+)' => [...], '/wp/v2/posts/(?P<parent>[\d]+)/revisions' => [...], '/wp/v2/posts/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)' => [...], '/wp/v2/posts/(?P<id>[\d]+)/autosaves' => [...], '/wp/v2/posts/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)' => [...], '/wp/v2/pages' => [...], '/wp/v2/pages/(?P<id>[\d]+)' => [...], '/wp/v2/pages/(?P<parent>[\d]+)/revisions' => [...], '/wp/v2/pages/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)' => [...]]; protected $route_options = []; protected $embed_cache = [] } ) | ...\class-wp-hook.php:308 |
15 | 0.3474 | 9778712 | WP_REST_Autosaves_Controller->register_routes( ) | ...\rest-api.php:253 |
16 | 0.3476 | 9795936 | register_rest_route( $route_namespace = 'wp/v2', $route = '/pages/(?P<id>[\\d]+)/autosaves', $args = ['args' => ['parent' => [...]], 0 => ['methods' => 'GET', 'callback' => [...], 'permission_callback' => [...], 'args' => [...]], 1 => ['methods' => 'POST', 'callback' => [...], 'permission_callback' => [...], 'args' => [...]], 'schema' => [0 => class WP_REST_Autosaves_Controller { ... }, 1 => 'get_public_item_schema']], $override = ??? ) | ...\class-wp-rest-autosaves-controller.php:105 |
17 | 0.3476 | 9797160 | array_merge( $arrays = ['methods' => 'GET', 'callback' => NULL, 'args' => []], ['methods' => 'POST', 'callback' => [0 => class WP_REST_Autosaves_Controller { ... }, 1 => 'create_item'], 'permission_callback' => [0 => class WP_REST_Autosaves_Controller { ... }, 1 => 'create_item_permissions_check'], 'args' => ['date' => [...], 'date_gmt' => [...], 'slug' => [...], 'status' => [...], 'password' => [...], 'parent' => [...], 'title' => [...], 'content' => [...], 'author' => [...], 'excerpt' => [...], 'featured_media' => [...], 'comment_status' => [...], 'ping_status' => [...], 'menu_order' => [...], 'meta' => [...], 'template' => [...]]] ) | ...\rest-api.php:90 |