$types[] = $inputPath . $class . $prefix . 'RelationInput';
}
}
}
if (static::$rhasFilterInput) {
$types[] = $inputPath . $class . 'FilterInput';
}
return $types;
}
$types = [
$path['type'] . $class . 'Type',
];
return array_merge($types, self::resolveInputTypes($class, $path['input']));
}
/**
* Get GraphQL mutations for the current class
*/
\App\Modules\Seo\app\GraphQL\Mutations\Panel\MetaTagTemplate\MetaTagTemplateStoreMutation::class, \App\Modules\Seo\app\GraphQL\Mutations\Panel\MetaTagTemplate\MetaTagTemplateUpdateMutation::class, ], // The types only available in this schema 'types' => [ ...\App\Models\Address::getTypes(), ...\App\Models\Benefit::getTypes(), ...\App\Models\Blog::getTypes(), ...\App\Models\Brand::getTypes(), ...\App\Models\Category::getTypes(), ...\App\Models\ContentBox::getTypes(), * @param array $base * @return array */ protected function loadConfigurationFile(RepositoryContract $repository, $name, $path, array $base) { $config = (fn () => require $path)(); if (isset($base[$name])) { $config = array_merge($base[$name], $config); foreach ($this->mergeableOptions($name) as $option) { * @param array $base * @return array */ protected function loadConfigurationFile(RepositoryContract $repository, $name, $path, array $base) { $config = (fn () => require $path)(); if (isset($base[$name])) { $config = array_merge($base[$name], $config); foreach ($this->mergeableOptions($name) as $option) { foreach (array_diff(array_keys($base), array_keys($files)) as $name => $config) { $repository->set($name, $config); } foreach ($files as $name => $path) { $base = $this->loadConfigurationFile($repository, $name, $path, $base); } foreach ($base as $name => $config) { $repository->set($name, $config); } // directory and load each one into the repository. This will make all of the // options available to the developer for use in various parts of this app. $app->instance('config', $config = new Repository($items)); if (! isset($loadedFromCache)) { $this->loadConfigurationFiles($app, $config); } // Finally, we will set the application's environment based on the configuration // values that were loaded. We will pass a callback which will be used to get // the environment in a web context where an "--env" switch is not present. $this->hasBeenBootstrapped = true; foreach ($bootstrappers as $bootstrapper) { $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]); $this->make($bootstrapper)->bootstrap($this); $this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]); } } * @return void */ public function bootstrap() { if (! $this->app->hasBeenBootstrapped()) { $this->app->bootstrapWith($this->bootstrappers()); } } /** * Get the route dispatcher callback. { $this->app->instance('request', $request); Facade::clearResolvedInstance('request'); $this->bootstrap(); return (new Pipeline($this->app)) ->send($request) ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware) ->then($this->dispatchToRouter()); $this->requestStartedAt = Carbon::now(); try { $request->enableHttpMethodParameterOverride(); $response = $this->sendRequestThroughRouter($request); } catch (Throwable $e) { $this->reportException($e); $response = $this->renderException($request, $e); }$app = require_once __DIR__.'/../bootstrap/app.php';$kernel = $app->make(Kernel::class);$response = $kernel->handle( $request = Request::capture())->send();$kernel->terminate($request, $response);|
Error
|
|---|
Error:
Access to undeclared static property App\Models\Address::$rhasFilterInput
at /var/www/milfey/api/app/Modules/Core/Traits/GraphQLConfigTrait.php:171
at App\Modules\Core\Models\EntityBase::resolveInputTypes('Address', '\\App\\GraphQL\\Types\\Input\\Address\\')
(/var/www/milfey/api/app/Modules/Core/Traits/GraphQLConfigTrait.php:21)
at App\Modules\Core\Models\EntityBase::getTypes()
(/var/www/milfey/api/config/graphql.php:181)
at require('/var/www/milfey/api/config/graphql.php')
(/var/www/milfey/api/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php:96)
at Illuminate\Foundation\Bootstrap\LoadConfiguration->Illuminate\Foundation\Bootstrap\{closure}()
(/var/www/milfey/api/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php:96)
at Illuminate\Foundation\Bootstrap\LoadConfiguration->loadConfigurationFile(object(Repository), 'graphql', '/var/www/milfey/api/config/graphql.php', array('hashing' => array('driver' => 'bcrypt', 'bcrypt' => array('rounds' => 12, 'verify' => true), 'argon' => array('memory' => 65536, 'threads' => 1, 'time' => 4, 'verify' => true), 'rehash_on_login' => true), 'concurrency' => array('default' => 'process'), 'logging' => array('default' => 'stack', 'deprecations' => array('channel' => null, 'trace' => false), 'channels' => array('stack' => array('driver' => 'stack', 'channels' => array('single'), 'ignore_exceptions' => false), 'single' => array('driver' => 'single', 'path' => '/var/www/milfey/api/storage/logs/laravel.log', 'level' => 'debug', 'replace_placeholders' => true), 'daily' => array('driver' => 'daily', 'path' => '/var/www/milfey/api/storage/logs/laravel.log', 'level' => 'debug', 'days' => 14, 'replace_placeholders' => true), 'slack' => array('driver' => 'slack', 'url' => null, 'username' => 'Laravel Log', 'emoji' => ':boom:', 'level' => 'debug', 'replace_placeholders' => true), 'papertrail' => array('driver' => 'monolog', 'level' => 'debug', 'handler' => 'Monolog\\Handler\\SyslogUdpHandler', 'handler_with' => array('host' => null, 'port' => null, 'connectionString' => 'tls://:'), 'processors' => array('Monolog\\Processor\\PsrLogMessageProcessor')), 'stderr' => array('driver' => 'monolog', 'level' => 'debug', 'handler' => 'Monolog\\Handler\\StreamHandler', 'formatter' => null, 'with' => array('stream' => 'php://stderr'), 'processors' => array('Monolog\\Processor\\PsrLogMessageProcessor')), 'syslog' => array('driver' => 'syslog', 'level' => 'debug', 'facility' => 8, 'replace_placeholders' => true), 'errorlog' => array('driver' => 'errorlog', 'level' => 'debug', 'replace_placeholders' => true), 'null' => array('driver' => 'monolog', 'handler' => 'Monolog\\Handler\\NullHandler'), 'emergency' => array('path' => '/var/www/milfey/api/storage/logs/laravel.log'))), 'services' => array('postmark' => array('token' => null), 'ses' => array('key' => '', 'secret' => '', 'region' => 'us-east-1'), 'resend' => array('key' => null), 'slack' => array('notifications' => array('bot_user_oauth_token' => null, 'channel' => null))), 'queue' => array('default' => 'database', 'connections' => array('sync' => array('driver' => 'sync'), 'database' => array('driver' => 'database', 'connection' => null, 'table' => 'jobs', 'queue' => 'default', 'retry_after' => 90, 'after_commit' => false), 'beanstalkd' => array('driver' => 'beanstalkd', 'host' => 'localhost', 'queue' => 'default', 'retry_after' => 90, 'block_for' => 0, 'after_commit' => false), 'sqs' => array('driver' => 'sqs', 'key' => '', 'secret' => '', 'prefix' => 'https://sqs.us-east-1.amazonaws.com/your-account-id', 'queue' => 'default', 'suffix' => null, 'region' => 'us-east-1', 'after_commit' => false), 'redis' => array('driver' => 'redis', 'connection' => 'default', 'queue' => 'default', 'retry_after' => 90, 'block_for' => null, 'after_commit' => false)), 'batching' => array('database' => 'mysql', 'table' => 'job_batches'), 'failed' => array('driver' => 'database-uuids', 'database' => 'mysql', 'table' => 'failed_jobs')), 'view' => array('paths' => array('/var/www/milfey/api/resources/views'), 'compiled' => '/var/www/milfey/api/storage/framework/views'), 'session' => array('driver' => 'file', 'lifetime' => 120, 'expire_on_close' => false, 'encrypt' => false, 'files' => '/var/www/milfey/api/storage/framework/sessions', 'connection' => null, 'table' => 'sessions', 'store' => null, 'lottery' => array(2, 100), 'cookie' => 'milfey_session', 'path' => '/', 'domain' => null, 'secure' => null, 'http_only' => true, 'same_site' => 'lax', 'partitioned' => false), 'mail' => array('default' => 'smtp', 'mailers' => array('smtp' => array('transport' => 'smtp', 'scheme' => null, 'url' => null, 'host' => 'smtp.mail.ru', 'port' => '465', 'username' => 'noreply@milfey.ru', 'password' => 'ff2ZMqMxaVoC0nCsCEKt', 'timeout' => null, 'local_domain' => 'api.milfey.dev.isitdikov.ru'), 'ses' => array('transport' => 'ses'), 'postmark' => array('transport' => 'postmark'), 'resend' => array('transport' => 'resend'), 'sendmail' => array('transport' => 'sendmail', 'path' => '/usr/sbin/sendmail -bs -i'), 'log' => array('transport' => 'log', 'channel' => null), 'array' => array('transport' => 'array'), 'failover' => array('transport' => 'failover', 'mailers' => array('smtp', 'log')), 'roundrobin' => array('transport' => 'roundrobin', 'mailers' => array('ses', 'postmark'))), 'from' => array('address' => 'noreply@milfey.ru', 'name' => 'Milfey'), 'markdown' => array('theme' => 'default', 'paths' => array('/var/www/milfey/api/resources/views/vendor/mail')))))
(/var/www/milfey/api/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php:77)
at Illuminate\Foundation\Bootstrap\LoadConfiguration->loadConfigurationFiles(object(Application), object(Repository))
(/var/www/milfey/api/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php:38)
at Illuminate\Foundation\Bootstrap\LoadConfiguration->bootstrap(object(Application))
(/var/www/milfey/api/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:342)
at Illuminate\Foundation\Application->bootstrapWith(array('Illuminate\\Foundation\\Bootstrap\\LoadEnvironmentVariables', 'Illuminate\\Foundation\\Bootstrap\\LoadConfiguration', 'Illuminate\\Foundation\\Bootstrap\\HandleExceptions', 'Illuminate\\Foundation\\Bootstrap\\RegisterFacades', 'Illuminate\\Foundation\\Bootstrap\\RegisterProviders', 'Illuminate\\Foundation\\Bootstrap\\BootProviders'))
(/var/www/milfey/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:187)
at Illuminate\Foundation\Http\Kernel->bootstrap()
(/var/www/milfey/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:171)
at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
(/var/www/milfey/api/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145)
at Illuminate\Foundation\Http\Kernel->handle(object(Request))
(/var/www/milfey/api/public/index.php:51)
|