Strict warning: Non-static method DrupalPublicStreamWrapper::getDirectoryPath() should [error]
not be called statically in DrupalPublicStreamWrapper::getDirectoryPath() (line 361 of
/Users/----/drush/commands/core/core.drush.inc).
Strict warning: Non-static method DrupalPrivateStreamWrapper::getDirectoryPath() should [error]
not be called statically in DrupalPrivateStreamWrapper::getDirectoryPath() (line 362 of
/Users/----/drush/commands/core/core.drush.inc).
An error occurred at function : drush_core_status

drupal 7 rc2

Comments

moshe weitzman’s picture

Title: error on Strict warning version 4.0-rc4 » Strict warning: Non-static method DrupalPublicStreamWrapper::getDirectoryPath()
Status: Active » Fixed

Simplified this code to match the way that Drupal admin page does it.

spinoza_gl’s picture

Thanks, now running on Drupal 7 rc3.

Status: Fixed » Closed (fixed)

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