Closed simone86 closed 8 years ago
use this way
public $sourcePath = './../assets'; [by r]
@simone86 do you mind testing on master branch?
@simone86 nevertheless, this is wrong:
public $sourcePath = DIR . '/assets';
Should be
public $sourcePath = __DIR__ . '/assets';
What is the version you have?
I have same problem. and I replaced it like this:
public $sourcePath = '@vendor/2amigos/yii2-ckeditor-widget/src/assets';
I also have the same error on PHP 5.5, However, this error does not occur on PHP 5.6 and PHP 7
Will be last release compatible with php 5.5 ?
Same problem here. @abumaryam's solution has made the trick. Thanks!
I have same problem. Is issue fixed??? @tonydspaniard
@pptyasar @felladrin @abondr @aripjanovsh @simone86 It should be fixed: public $sourcePath = '@vendor/2amigos/yii2-ckeditor-widget/src/assets/';
was added.
in /Applications/MAMP/htdocs/4pro/vendor/2amigos/yii2-ckeditor-widget/src/CKEditorWidgetAsset.php at line 21
class CKEditorWidgetAsset extends AssetBundle { public $sourcePath = DIR . '/assets';
........