( ! ) Warning: file_get_contents(https://scontent-mxp2-1.xx.fbcdn.net/v/t51.2885-15/79588059_445232696379995_6981085034564288512_n.jpg?_nc_cat=101&ccb=1-7&_nc_sid=7d201b&_nc_ohc=hfap5hg-wv4Q7kNvgHzlDKc&_nc_oc=Adk06aTxu_W3emJI0MB68AStCyz0YS_nAmLT7wMhgMejJQcB1n3KCWu-DQ-AaHGseqk&_nc_zt=23&_nc_ht=scontent-mxp2-1.xx&edm=AL-3X8kEAAAA&oh=00_AYGTOlMwoE2cRICpVnTFKpLvcK5rra_7RAyyDJIRb7Z3Cg&oe=67E710B2): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /var/www/paesaggio/wp-includes/class-wp-image-editor-imagick.php on line 154 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0001 | 359992 | {main}( ) | .../index.php:0 |
2 | 0.0001 | 361192 | require( '/var/www/paesaggio/wp-blog-header.php' ) | .../index.php:17 |
3 | 0.0003 | 370936 | require_once( '/var/www/paesaggio/wp-load.php' ) | .../wp-blog-header.php:13 |
4 | 0.0003 | 376032 | require_once( '/var/www/paesaggio/wp-config.php' ) | .../wp-load.php:50 |
5 | 0.0010 | 449704 | require_once( '/var/www/paesaggio/wp-settings.php' ) | .../wp-config.php:91 |
6 | 0.2175 | 36358656 | do_action( ) | .../wp-settings.php:461 |
7 | 0.2176 | 36359032 | WP_Hook->do_action( ) | .../plugin.php:476 |
8 | 0.2176 | 36359032 | WP_Hook->apply_filters( ) | .../class-wp-hook.php:331 |
9 | 0.2488 | 39687248 | sb_instagram_feed_init( ) | .../class-wp-hook.php:307 |
10 | 0.2744 | 43940000 | sbiOembedInit( ) | .../instagram-feed.php:262 |
11 | 0.2744 | 43940040 | SB_Instagram_Oembed->__construct( ) | .../class-sb-instagram-oembed.php:312 |
12 | 0.2744 | 43940040 | SB_Instagram_Oembed::can_do_oembed( ) | .../class-sb-instagram-oembed.php:26 |
13 | 0.2749 | 43939352 | SB_Instagram_Oembed::last_access_token( ) | .../class-sb-instagram-oembed.php:54 |
14 | 0.2749 | 43939352 | SB_Instagram_Connected_Account::get_all_connected_accounts( ) | .../class-sb-instagram-oembed.php:221 |
15 | 0.2774 | 44100496 | InstagramFeed\Builder\SBI_Source::convert_sources_to_connected_accounts( ) | .../class-sb-instagram-connected-account.php:488 |
16 | 0.2778 | 44139648 | SB_Instagram_Connected_Account::maybe_local_avatar( ) | .../SBI_Source.php:927 |
17 | 0.2783 | 44138576 | SB_Instagram_Connected_Account::create_local_avatar( ) | .../class-sb-instagram-connected-account.php:363 |
18 | 0.2783 | 44150096 | wp_get_image_editor( ) | .../class-sb-instagram-connected-account.php:147 |
19 | 0.2812 | 44434160 | WP_Image_Editor_Imagick->load( ) | .../media.php:3782 |
20 | 0.2814 | 44434336 | file_get_contents ( ) | .../class-wp-image-editor-imagick.php:154 |
* Any LWS that occurs between field-content MAY be replaced with a
* single SP before interpreting the field value or forwarding the
* message downstream.
*/
$value = preg_replace( '/\s+/', ' ', $value );
header( sprintf( '%s: %s', $key, $value ) );
}
/**
* Sends multiple HTTP headers.
*
* @throws \ErrorException
*/
public function handleError($level, $message, $file = '', $line = 0, $context = [])
{
try {
parent::handleError($level, $message, $file, $line, $context);
} catch (Throwable $e) {
if (! apply_filters('acorn/throw_error_exception', true, $e)) {
return false;
}
* Any LWS that occurs between field-content MAY be replaced with a
* single SP before interpreting the field value or forwarding the
* message downstream.
*/
$value = preg_replace( '/\s+/', ' ', $value );
header( sprintf( '%s: %s', $key, $value ) );
}
/**
* Sends multiple HTTP headers.
*
if ( isset( $_GET['_jsonp'] ) ) {
$jsonp_callback = $_GET['_jsonp'];
}
$content_type = ( $jsonp_callback && $jsonp_enabled ) ? 'application/javascript' : 'application/json';
$this->send_header( 'Content-Type', $content_type . '; charset=' . get_option( 'blog_charset' ) );
$this->send_header( 'X-Robots-Tag', 'noindex' );
$api_root = get_rest_url();
if ( ! empty( $api_root ) ) {
$this->send_header( 'Link', '<' . esc_url_raw( $api_root ) . '>; rel="https://api.w.org/"' );
// Fire off the request.
$route = untrailingslashit( $GLOBALS['wp']->query_vars['rest_route'] );
if ( empty( $route ) ) {
$route = '/';
}
$server->serve_request( $route );
// We're done.
die();
}
// Avoid the array_slice() if possible.
if ( 0 == $the_['accepted_args'] ) {
$value = call_user_func( $the_['function'] );
} elseif ( $the_['accepted_args'] >= $num_args ) {
$value = call_user_func_array( $the_['function'], $args );
} else {
$value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int) $the_['accepted_args'] ) );
}
}
} while ( false !== next( $this->iterations[ $nesting_level ] ) );
*
* @param array $args Parameters to pass to the callback functions.
*/
public function do_action( $args ) {
$this->doing_action = true;
$this->apply_filters( '', $args );
// If there are recursive calls to the current action, we haven't finished it until we get to the last one.
if ( ! $this->nesting_level ) {
$this->doing_action = false;
}
if ( ! isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $hook_name;
}
$wp_filter[ $hook_name ]->do_action( $args );
array_pop( $wp_current_filter );
}
/**
*
* @since 2.1.0
*
* @param WP $wp Current WordPress environment instance (passed by reference).
*/
do_action_ref_array( 'parse_request', array( &$this ) );
return true;
}
/**
* @param string|array $query_args Passed to parse_request().
*/
public function main( $query_args = '' ) {
$this->init();
$parsed = $this->parse_request( $query_args );
$this->send_headers();
if ( $parsed ) {
$this->query_posts();
* @param string|array $query_vars Default WP_Query arguments.
*/
function wp( $query_vars = '' ) {
global $wp, $wp_query, $wp_the_query;
$wp->main( $query_vars );
if ( ! isset( $wp_the_query ) ) {
$wp_the_query = $wp_query;
}
}
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
ErrorException
|
---|
ErrorException: Cannot modify header information - headers already sent by (output started at /var/www/paesaggio/wp-includes/class-wp-image-editor-imagick.php:154) at /var/www/paesaggio/wp-includes/rest-api/class-wp-rest-server.php:1717 at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError() (/var/www/paesaggio/wp-content/themes/paesaggio-toscana/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:54) at Roots\Acorn\Bootstrap\HandleExceptions->handleError() at header() (/var/www/paesaggio/wp-includes/rest-api/class-wp-rest-server.php:1717) at WP_REST_Server->send_header() (/var/www/paesaggio/wp-includes/rest-api/class-wp-rest-server.php:282) at WP_REST_Server->serve_request() (/var/www/paesaggio/wp-includes/rest-api.php:394) at rest_api_loaded() (/var/www/paesaggio/wp-includes/class-wp-hook.php:307) at WP_Hook->apply_filters() (/var/www/paesaggio/wp-includes/class-wp-hook.php:331) at WP_Hook->do_action() (/var/www/paesaggio/wp-includes/plugin.php:524) at do_action_ref_array() (/var/www/paesaggio/wp-includes/class-wp.php:398) at WP->parse_request() (/var/www/paesaggio/wp-includes/class-wp.php:770) at WP->main() (/var/www/paesaggio/wp-includes/functions.php:1330) at wp() (/var/www/paesaggio/wp-blog-header.php:16) at require('/var/www/paesaggio/wp-blog-header.php') (/var/www/paesaggio/index.php:17) |