[wp-trac] [WordPress Trac] #41933: Undefined offset -1 in $pages array when post without pages is requested
WordPress Trac
noreply at wordpress.org
Wed Sep 20 17:19:08 UTC 2017
#41933: Undefined offset -1 in $pages array when post without pages is requested
--------------------------+------------------------------
Reporter: ComputerGuru | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.8.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by ComputerGuru):
This is a sample call stack that triggers the notice:
{{{#!php
get_the_content()
wp-includes/formatting.php:3292
wp_trim_excerpt()
wp-includes/class-wp-hook.php:298
apply_filters('get_the_excerpt')
wp-content/plugins/jetpack/_inc/lib/class.media-summary.php:314
Jetpack_Media_Summary::get_excerpt()
wp-content/plugins/jetpack/_inc/lib/class.media-summary.php:57
Jetpack_Media_Summary::get()
wp-content/plugins/jetpack/modules/publicize/enhanced-open-
graph.php:23
enhanced_og_image()
wp-includes/class-wp-hook.php:300
apply_filters('jetpack_open_graph_tags')
wp-content/plugins/jetpack/functions.opengraph.php:216
jetpack_og_tags()
wp-includes/class-wp-hook.php:298
do_action('wp_head')
wp-includes/general-template.php:2589
wp_head()
wp-content/themes/knowhow/header.php:14
load_template('~/wp-content/themes/knowhow/header.php')
wp-includes/template.php:647
locate_template()
wp-includes/general-template.php:45
get_header()
wp-content/themes/knowhow/single.php:1
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41933#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list