$ mysql.server stop
or
$ brew services stop mariadb
or
[2016-06-14 13:04:23] local.ERROR: ErrorException: array_merge(): Argument #1 is not an array in /var/www/html/TibaAPI/vendor/dingo/api/src/Routing/R$ | |
Stack trace: | |
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'array_merge(): ...', '/var/www/html/T...', 203, Array) | |
#1 /var/www/html/TibaAPI/vendor/dingo/api/src/Routing/Route.php(203): array_merge('web', Array) | |
#2 /var/www/html/TibaAPI/vendor/dingo/api/src/Routing/Route.php(167): Dingo\Api\Routing\Route->mergeControllerProperties() | |
#3 /var/www/html/TibaAPI/vendor/dingo/api/src/Routing/Route.php(144): Dingo\Api\Routing\Route->setupRouteProperties(Object(Dingo\Api\Http\Request), O$ | |
#4 /var/www/html/TibaAPI/vendor/dingo/api/src/Routing/Router.php(713): Dingo\Api\Routing\Route->__construct(Object(Dingo\Api\Routing\Adapter\Laravel)$ | |
#5 /var/www/html/TibaAPI/vendor/dingo/api/src/Routing/Router.php(691): Dingo\Api\Routing\Router->createRoute(Object(Illuminate\Routing\Route)) | |
#6 /var/www/html/TibaAPI/vendor/dingo/api/src/Routi |
APP_ENV=local | |
APP_DEBUG=true | |
APP_KEY=my base64 app key | |
APP_URL =myurlhere | |
DB_HOST=localhost | |
DB_DATABASE=mydbnamehere | |
DB_USERNAME=myusername | |
DB_PASSWORD=mypassword | |
JWT_BLACKLIST_ENABLED=false |
07-31 21:13:39.070 5961-5961/? D/libc: pt_debug : pthread_create->start_routine=0x40a5fca5, tls=0x4f5faf00, arg=0x4f8847f8 | |
07-31 21:13:39.070 5961-5965/? D/libc: pt_debug : __thread_entry->func=0x40a5fca5 | |
, tls=0x4f5faf00, arg=0x4f8847f8 | |
07-31 21:13:39.070 5961-5961/? D/libc: pt_debug : pthread_create->start_routine=0x40a5fca5, tls=0x4f6faf00, arg=0x40092fc0 | |
07-31 21:13:39.070 5961-5966/? D/libc: pt_debug : __thread_entry->func=0x40a5fca5 | |
, tls=0x4f6faf00, arg=0x40092fc0 | |
07-31 21:13:39.080 5961-5961/? D/libc: pt_debug : pthread_create->start_routine=0x40a5fca5, tls=0x4f7faf00, arg=0x50e7c030 | |
07-31 21:13:39.080 5961-5967/? D/libc: pt_debug : __thread_entry->func=0x40a5fca5 | |
, tls=0x4f7faf00, arg=0x50e7c030 | |
07-31 21:13:39.080 5961-5961/? D/libc: pt_debug : pthread_create->start_routine=0x40a5fca5, tls=0x50427f00, arg=0x4f880bd0 |
$ mysql.server stop
or
$ brew services stop mariadb
or
// http://ideone.com/gamore | |
#include <bits/stdc++.h> //works like magic, but at cost. | |
using namespace std; | |
#define deb(x) cout << #x << " " << x << endl; | |
#define fo(i, n) for(i=0; i<n; i++) | |
#define Fo(i, k, n) for(i=k; i<n; i++) | |
template<typename... T> | |
void read(T&... args) { |