Earl
Well-known member
- Affected version
- v2.1.3
when I execute
The add-on named "KL\UserCriteriaExtended" has no _output directory because I'm not the owner of the add-on. It has coded by @Lukas W.
@Jake B. has faced the same kinda problem here
https://xenforo.com/community/threads/generate-phpstorm-meta-error.142034/
And according to @Liam W 's post
So I thought skipping that add-on using
xf2-docs config settings has mentioned about this line
My config.php
php cmd.php xf-dev:generate-phpstorm-meta
I get this errorFatal error: Class 'KL\UserCriteriaExtended\Entity\XFCP_User' not found in /app/src/addons/KL/UserCriteriaExtended/Entity/User.php on line 15
The add-on named "KL\UserCriteriaExtended" has no _output directory because I'm not the owner of the add-on. It has coded by @Lukas W.
@Jake B. has faced the same kinda problem here
https://xenforo.com/community/threads/generate-phpstorm-meta-error.142034/
And according to @Liam W 's post
I'm getting this error because of @Lukas W. 's addon 'KL\UserCriteriaExtended'It would appear that XenPorta has extending entities in the root entity folder, rather than a sub directory like it recommended, so the tool thinks it’s a normal entity, and tries to instatiate it.
So I thought skipping that add-on using
config.php
file would help with this problem but it didn't. I still get the errorxf2-docs config settings has mentioned about this line
- $config['development']['skipAddOns] = null;
To use this setting, set the value to an array of add-on IDs, such as ['addOn1', 'addOn2']. Any add-ons specified within the skipAddOns array will be skipped when it comes to running development tools such as importing and exporting master data.
My config.php
PHP:
<?php
$config['db']['host'] = 'xf2-dev_xf2db_1_4c4a73e07c7c';
$config['db']['port'] = '3306';
$config['db']['username'] = 'root';
$config['db']['password'] = 'devpw';
$config['db']['dbname'] = 'defaultxf';
$config['fullUnicode'] = true;
$config['cookie']['prefix'] = 'xf2dev_';
$config['development']['enabled'] = true;
$config['development']['fullJs'] = true;
$config['development']['defaultAddOn'] = 'Earl/Valve';
$config['development']['skipAddOns']= ['KL/UserCriteriaExtended'];