Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295668

Declaration of Drupal\Core\Security\PharExtensionInterceptor::assert(string $path, string $command): bool must be compatible with TYPO3\PharStreamWrapper\Assertable::assert($path, $command)

$
0
0

Updating core to 8.8.0, and getting the error: Declaration of Drupal\Core\Security\PharExtensionInterceptor::assert(string $path, string $command): bool must be compatible with TYPO3\PharStreamWrapper\Assertable::assert($path, $command) in /app/web/core/lib/Drupal/Core/Security/PharExtensionInterceptor.php on line 14

My PHP version: 7.2.19

Workaround

Try the following steps:

  1. rm -rf vendor
  2. composer remove --dev webflo/drupal-core-require-dev
  3. composer require any other packages you use (e.g., Drush)
  4. Clear the site cache.

Viewing all articles
Browse latest Browse all 295668


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>