Comments (4)
please set YII_DEBUG to true here: https://github.com/yiisoft/yii2-apidoc/blob/master/apidoc#L11 and post the full stack trace of the error.
from yii2-apidoc.
Searching files to process... done.
Loading apidoc data from cache... no data available.
Checking for updated files... done.
137 files to update.
Processing files... done.
Updating cross references and backlinks... PHP Warning 'yii\base\ErrorException' with message 'array_merge(): Argument #1 is not an array'
in /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2-apidoc/models/Context.php:187
Stack trace:
#0 [internal function]: yii\base\ErrorHandler->handleError(2, 'array_merge(): ...', '/Applications/M...', 187, Array)
#1 /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2-apidoc/models/Context.php(187): array_merge(NULL, Array)
#2 /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2-apidoc/models/Context.php(138): yii\apidoc\models\Context->updateSubInterfaceInheritance(Object(stdClass))
#3 /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2-apidoc/components/BaseController.php(148): yii\apidoc\models\Context->updateReferences()
#4 /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2-apidoc/commands/ApiController.php(108): yii\apidoc\components\BaseController->updateContext(Object(yii\apidoc\models\Context))
#5 [internal function]: yii\apidoc\commands\ApiController->actionIndex(Array, 'public_html/api')
#6 /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2/base/InlineAction.php(55): call_user_func_array(Array, Array)
#7 /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2/base/Controller.php(151): yii\base\InlineAction->runWithParams(Array)
#8 /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2/console/Controller.php(91): yii\base\Controller->runAction('', Array)
#9 /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2/base/Module.php(455): yii\console\Controller->runAction('', Array)
#10 /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2/console/Application.php(167): yii\base\Module->runAction('api', Array)
#11 /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2/console/Application.php(143): yii\console\Application->runAction('api', Array)
#12 /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2/base/Application.php(375): yii\console\Application->handleRequest(Object(yii\console\Request))
#13 /Applications/MAMP/htdocs/luya.io/vendor/yiisoft/yii2-apidoc/apidoc(53): yii\base\Application->run()
#14 {main}
from yii2-apidoc.
Thanks. I have checked in a fix that might solve this. Can you update to latest master and try again?
from yii2-apidoc.
Seems to work again, thanks.
from yii2-apidoc.
Related Issues (20)
- Interface inheritance including interface constants in classes
- Get rid of Reflection's fork
- Support ePub HOT 2
- Misleading error about relative link in errors.txt HOT 3
- Files/Classes missing in the documentation HOT 16
- Error: Call to a member function getNamespaceAliases() on null
- Incorrect detection of summary HOT 4
- visibility is empty HOT 2
- Links to Markdown files HOT 4
- Invalid API for overrided methods and properties HOT 2
- Not installable using composer anymore? HOT 14
- Yii2 assets not found HOT 1
- PHP 8.2 not supported yet HOT 1
- Test with Yii 3 documentation
- update github folder link
- update models folder link
- update templates folder link
- update tests folder link
- update root folder link
- Uninstallable with yii2-app-basic due to unsatisfiable nikic/php-parser dependency HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-apidoc.