Few Errors in Drupal WatchDog

Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'GuzzleHttp\Psr7\Stream' does not have a method 'geteSize' in GuzzleHttp\Psr7\CachingStream->__call() (line 68 of /Users/ankitbabbar/src/d8new/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php).
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'GuzzleHttp\Psr7\Stream' does not have a method 'getStream' in GuzzleHttp\Psr7\CachingStream->__call() (line 68 of /Users/ankitbabbar/src/d8new/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php).
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'GuzzleHttp\Psr7\Stream' does not have a method 'feof' in GuzzleHttp\Psr7\CachingStream->__call() (line 68 of /Users/ankitbabbar/src/d8new/vendor/guzzlehttp/psr7/src/StreamDecoratorTrait.php).
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

webankit created an issue. See original summary.

webankit’s picture

  • webankit committed 2c62913 on 8.x-2.x
    Issue #2767315 by webankit: Code Cleaning and Removing Error
    
naveenvalecha’s picture

@webankit,
what;s the issue status ?

id.tarzanych’s picture

Cleaned up some deprecated code from StreamWrapper class.
That caused fatal errors instead of normal exceptions.

Please review my patch.

id.tarzanych’s picture

Status: Active » Needs review
AsadKamil’s picture

Hi id.tarzanych ,It seems patch failed for 8.x-2.x Branch.plz check

root@asad-Vostro-3550:/var/www/html/git/s3fs# git apply -v 2767315-s3fs-code-cleaning-5.patch 
Checking patch src/StreamWrapper/S3fsStream.php...
error: while searching for:

namespace Drupal\s3fs\StreamWrapper;

use Drupal\Component\Utility\UrlHelper;
use Drupal\Core\DrupalKernel;
use Drupal\Core\Site\Settings;
use Drupal\Core\StreamWrapper\StreamWrapperInterface;
use Symfony\Component\HttpFoundation\Request;
use Aws\S3\S3Client;
use Aws\S3\Exception;
use GuzzleHttp\Psr7\CachingStream;
use GuzzleHttp\Psr7\Stream;
use Drupal\s3fs\S3fsException;

error: patch failed: src/StreamWrapper/S3fsStream.php:2
error: src/StreamWrapper/S3fsStream.php: patch does not apply
root@asad-Vostro-3550:/var/www/html/git/s3fs#
naveenvalecha’s picture

Assigned: webankit » Unassigned
Status: Needs review » Reviewed & tested by the community

Looks good. Thanks!

  • naveenvalecha committed 49ad449 on 8.x-2.x
    Issue #2767315 by id.tarzanych, webankit, naveenvalecha: Code Cleaning...
  • naveenvalecha committed b82a1f8 on 8.x-2.x authored by id.tarzanych
    Issue #2767315 by id.tarzanych, webankit, naveenvalecha: Code Cleaning...
naveenvalecha’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed #5.
Marking this as fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.