Produce error
run in terminal php ./build/stubGenerator.php
stub.php generated
Fatal error: Class Joomla\CMS\Crypt\Cipher\CryptoCipher contains 1 abstract method and must theref
ore be declared abstract or implement the remaining methods (Joomla\Crypt\CipherInterface::isSuppo
rted) in C:\OSPanel\domains\joomla4\libraries\src\Crypt\Cipher\CryptoCipher.php on line 21
php 7.2
Windows 7 SP1
Terminal in PHPStorm
No
Labels |
Added:
?
|
Title |
|
Category | ⇒ | CLI |
Status | New | ⇒ | Discussion |
Do you use release or install from github branch? Also error message is clear. Do you have abstract method in Class Joomla\CMS\Crypt\Cipher\CryptoCipher
in your version?
latest github 4.0-dev branch. And no, that class doesn't have an abstract method.
See https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Crypt/Cipher/CryptoCipher.php
The file clearly shows that the method that your error message says is missing is there (the error message is saying the interface's isSupported
method is not defined).
Just checked, that method was commited last november (Bakual/joomla-cms@0ae9aaa).
I'm closing this issue as it looks just like your installation is outdated. It looks like the alpha which was released just between the lines got added to the interfaces and the above mentioned commit.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-04-11 14:02:51 |
Closed_By | ⇒ | Bakual |
Works fine for me with PHP 7.2.1.