• Resolved sgatz

    (@sgatz)


    Hi, I know I’m on the free version, so I don’t expect support. But in case the developers are curious, I gotten a few thousand PHP warnings that look like this. Perhaps there’s something to be caught in the code, happy to help debug if there is interest:

    PHP Warning
    GET /tag/tag-name/feed
    is_readable(): open_basedir restriction in effect. File(/home/web/.aws/config) is not within the allowed path(s): (/srv/www/:/tmp:/dev/urandom)
    Jul 23rd, 2020, 22:27:22 UTC

    STACKTRACE

    PHP Warning is_readable(): open_basedir restriction in effect. File(/home/web/.aws/config) is not within the allowed path(s): (/srv/www/:/tmp:/dev/urandom)
    [internal] is_readable
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/S3/RegionalEndpoint/ConfigurationProvider.php:104 DeliciousBrains\WP_Offload_Media\Aws3\Aws\S3\RegionalEndpoint\ConfigurationProvider::DeliciousBrains\WP_Offload_Media\Aws3\Aws\S3\RegionalEndpoint\{closure}
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/GuzzleHttp/Promise/RejectedPromise.php:34 DeliciousBrains\WP_Offload_Media\Aws3\GuzzleHttp\Promise\RejectedPromise::DeliciousBrains\WP_Offload_Media\Aws3\GuzzleHttp\Promise\{closure}
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/GuzzleHttp/Promise/TaskQueue.php:44 DeliciousBrains\WP_Offload_Media\Aws3\GuzzleHttp\Promise\TaskQueue::run
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/GuzzleHttp/Promise/Promise.php:200 DeliciousBrains\WP_Offload_Media\Aws3\GuzzleHttp\Promise\Promise::invokeWaitFn
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/GuzzleHttp/Promise/Promise.php:183 DeliciousBrains\WP_Offload_Media\Aws3\GuzzleHttp\Promise\Promise::waitIfPending
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/GuzzleHttp/Promise/Promise.php:219 DeliciousBrains\WP_Offload_Media\Aws3\GuzzleHttp\Promise\Promise::invokeWaitList
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/GuzzleHttp/Promise/Promise.php:185 DeliciousBrains\WP_Offload_Media\Aws3\GuzzleHttp\Promise\Promise::waitIfPending
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/GuzzleHttp/Promise/Promise.php:51 DeliciousBrains\WP_Offload_Media\Aws3\GuzzleHttp\Promise\Promise::wait
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/S3/RegionalEndpoint/ConfigurationProvider.php:145 DeliciousBrains\WP_Offload_Media\Aws3\Aws\S3\RegionalEndpoint\ConfigurationProvider::unwrap
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/Endpoint/Partition.php:141 DeliciousBrains\WP_Offload_Media\Aws3\Aws\Endpoint\Partition::isS3LegacyEndpointUsed
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/Endpoint/Partition.php:108 DeliciousBrains\WP_Offload_Media\Aws3\Aws\Endpoint\Partition::resolveRegion
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/Endpoint/Partition.php:94 DeliciousBrains\WP_Offload_Media\Aws3\Aws\Endpoint\Partition::getEndpointData
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/Endpoint/Partition.php:89 DeliciousBrains\WP_Offload_Media\Aws3\Aws\Endpoint\Partition::__invoke
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/Endpoint/EndpointProvider.php:60 DeliciousBrains\WP_Offload_Media\Aws3\Aws\Endpoint\EndpointProvider::resolve
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/ClientResolver.php:241 DeliciousBrains\WP_Offload_Media\Aws3\Aws\ClientResolver::_apply_endpoint_provider
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/ClientResolver.php:116 DeliciousBrains\WP_Offload_Media\Aws3\Aws\ClientResolver::resolve
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/AwsClient.php:176 DeliciousBrains\WP_Offload_Media\Aws3\Aws\AwsClient::__construct
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/S3/S3Client.php:271 DeliciousBrains\WP_Offload_Media\Aws3\Aws\S3\S3Client::__construct
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/MultiRegionClient.php:36 DeliciousBrains\WP_Offload_Media\Aws3\Aws\MultiRegionClient::DeliciousBrains\WP_Offload_Media\Aws3\Aws\{closure}
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/MultiRegionClient.php:153 DeliciousBrains\WP_Offload_Media\Aws3\Aws\MultiRegionClient::getClientFromPool
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/MultiRegionClient.php:73 DeliciousBrains\WP_Offload_Media\Aws3\Aws\MultiRegionClient::DeliciousBrains\WP_Offload_Media\Aws3\Aws\{closure}
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/S3/S3MultiRegionClient.php:225 DeliciousBrains\WP_Offload_Media\Aws3\Aws\S3\S3MultiRegionClient::DeliciousBrains\WP_Offload_Media\Aws3\Aws\S3\{closure}
    [internal] Generator::current
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/GuzzleHttp/Promise/Coroutine.php:65 DeliciousBrains\WP_Offload_Media\Aws3\GuzzleHttp\Promise\Coroutine::__construct
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/GuzzleHttp/Promise/functions.php:386 DeliciousBrains\WP_Offload_Media\Aws3\GuzzleHttp\Promise\coroutine
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/S3/S3MultiRegionClient.php:254 DeliciousBrains\WP_Offload_Media\Aws3\Aws\S3\S3MultiRegionClient::DeliciousBrains\WP_Offload_Media\Aws3\Aws\S3\{closure}
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/AwsClientTrait.php:48 DeliciousBrains\WP_Offload_Media\Aws3\Aws\MultiRegionClient::executeAsync
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/AwsClientTrait.php:43 DeliciousBrains\WP_Offload_Media\Aws3\Aws\MultiRegionClient::execute
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/vendor/Aws3/Aws/AwsClientTrait.php:63 DeliciousBrains\WP_Offload_Media\Aws3\Aws\MultiRegionClient::__call
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/classes/providers/storage/aws-provider.php:338 DeliciousBrains\WP_Offload_Media\Providers\Storage\AWS_Provider::get_bucket_location
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/classes/amazon-s3-and-cloudfront.php:3119 Amazon_S3_And_CloudFront::get_bucket_region
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/classes/items/media-library-item.php:503 DeliciousBrains\WP_Offload_Media\Items\Media_Library_Item::_legacy_get_provider_object_region
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/classes/items/media-library-item.php:479 DeliciousBrains\WP_Offload_Media\Items\Media_Library_Item::_legacy_get_attachment_provider_info
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/classes/items/media-library-item.php:87 DeliciousBrains\WP_Offload_Media\Items\Media_Library_Item::get_by_source_id
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/classes/amazon-s3-and-cloudfront.php:2699 Amazon_S3_And_CloudFront::is_attachment_served_by_provider
    /srv/www/site/releases/20200722184453/web/content/plugins/amazon-s3-and-cloudfront/classes/as3cf-plugin-compatibility.php:814 AS3CF_Plugin_Compatibility::wp_calculate_image_srcset_meta
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/class-wp-hook.php:287 WP_Hook::apply_filters
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/plugin.php:206 apply_filters
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/media.php:1217 wp_calculate_image_srcset
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/media.php:1593 wp_image_add_srcset_and_sizes
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/media.php:1524 wp_make_content_images_responsive
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/class-wp-hook.php:287 WP_Hook::apply_filters
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/plugin.php:206 apply_filters
    /srv/www/site/releases/20200722184453/web/content/mu-plugins/mu-site-functions.php:370 wp_trim_all_excerpt
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/class-wp-hook.php:289 WP_Hook::apply_filters
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/plugin.php:206 apply_filters
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/post-template.php:427 get_the_excerpt
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/feed.php:222 the_excerpt_rss
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/feed-rss2.php:103 require_once
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/template.php:723 load_template
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/functions.php:1600 do_feed_rss2
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/class-wp-hook.php:289 WP_Hook::apply_filters
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/class-wp-hook.php:311 WP_Hook::do_action
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/plugin.php:478 do_action
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/functions.php:1562 do_feed
    /srv/www/site/releases/20200722184453/web/wp/wp-includes/template-loader.php:48 require_once
    /srv/www/site/releases/20200722184453/web/wp/wp-blog-header.php:19 require
    /srv/www/site/releases/20200722184453/web/index.php:5 [main]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Warning: is_readable(): open_basedir restriction in effect. File(/home/web/.’ is closed to new replies.