'telegram' => 'تيليجرام', 'view_all_news' => 'عرض جميع أخبار الكاتب', 'view_all_reviews' => 'عرض جميع مراجعات الكاتب', 'view_all_articles' => 'عرض جميع مقالات الكاتب', 'view_all_wikis' => 'عرض جميع ويكي الكاتب',<<<<<<< Updated upstream 'profile_settings' => 'إعدادات الملف الشخصي',=======>>>>>>> Stashed changes ], 'seo' => [ * @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 ((new Collection($base))->diffKeys($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);|
ParseError
|
|---|
ParseError:
syntax error, unexpected token "<<", expecting "]"
at /var/www/config/ar_language.php:874
at Illuminate\Foundation\Bootstrap\LoadConfiguration->{closure:Illuminate\Foundation\Bootstrap\LoadConfiguration::loadConfigurationFile():97}()
(/var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php:97)
at Illuminate\Foundation\Bootstrap\LoadConfiguration->loadConfigurationFile(object(Repository), 'ar_language', '/var/www/config/ar_language.php', array('filesystems' => array('default' => 'local', 'disks' => array('local' => array('driver' => 'local', 'root' => '/var/www/storage/app', 'throw' => false, 'report' => false), 'public' => array('driver' => 'local', 'root' => '/var/www/storage/app/public', 'url' => 'http://localhost:8080/storage', 'visibility' => 'public', 'throw' => false, 'report' => false), 's3' => array('driver' => 's3', 'key' => 'XV6ZHGUE3GBYWFH0564L', 'secret' => 'VSdtzs0QNQqYgaQbkncRaILNNJUzJqx8RzTEUiA6', 'region' => 'nbg1', 'bucket' => 'cdn-moqayese', 'url' => 'https://cdn-moqayese.nbg1.your-objectstorage.com', 'endpoint' => 'https://nbg1.your-objectstorage.com', 'use_path_style_endpoint' => false, 'throw' => false, 'report' => false)), 'links' => array('/var/www/public/storage' => '/var/www/storage/app/public')), 'hashing' => array('driver' => 'bcrypt', 'bcrypt' => array('rounds' => 12, 'verify' => true), 'argon' => array('memory' => 65536, 'threads' => 1, 'time' => 4, 'verify' => true), 'rehash_on_login' => true), 'session' => array('driver' => 'redis', 'lifetime' => 120, 'expire_on_close' => false, 'encrypt' => false, 'files' => '/var/www/storage/framework/sessions', 'connection' => null, 'table' => 'sessions', 'store' => null, 'lottery' => array(2, 100), 'cookie' => 'comparison_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' => 'mailpit', 'port' => '1025', 'username' => null, 'password' => null, 'timeout' => null, 'local_domain' => 'localhost'), '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' => 'hello@example.com', 'name' => 'Comparison'), 'markdown' => array('theme' => 'default', 'paths' => array('/var/www/resources/views/vendor/mail'))), 'view' => array('paths' => array('/var/www/resources/views'), 'compiled' => '/var/www/storage/framework/views'), '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/storage/logs/laravel.log', 'level' => 'debug', 'replace_placeholders' => true), 'daily' => array('driver' => 'daily', 'path' => '/var/www/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/storage/logs/laravel.log'))), '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' => 'XV6ZHGUE3GBYWFH0564L', 'secret' => 'VSdtzs0QNQqYgaQbkncRaILNNJUzJqx8RzTEUiA6', 'prefix' => 'https://sqs.us-east-1.amazonaws.com/your-account-id', 'queue' => 'default', 'suffix' => null, 'region' => 'nbg1', 'after_commit' => false), 'redis' => array('driver' => 'redis', 'connection' => 'default', 'queue' => 'default', 'retry_after' => 90, 'block_for' => null, 'after_commit' => false)), 'batching' => array('database' => 'main_database', 'table' => 'job_batches'), 'failed' => array('driver' => 'database-uuids', 'database' => 'main_database', 'table' => 'failed_jobs')), 'broadcasting' => array('default' => 'null', 'connections' => array('reverb' => array('driver' => 'reverb', 'key' => null, 'secret' => null, 'app_id' => null, 'options' => array('host' => null, 'port' => 443, 'scheme' => 'https', 'useTLS' => true), 'client_options' => array()), 'pusher' => array('driver' => 'pusher', 'key' => null, 'secret' => null, 'app_id' => null, 'options' => array('cluster' => null, 'host' => 'api-mt1.pusher.com', 'port' => 443, 'scheme' => 'https', 'encrypted' => true, 'useTLS' => true), 'client_options' => array()), 'ably' => array('driver' => 'ably', 'key' => null), 'log' => array('driver' => 'log'), 'null' => array('driver' => 'null'))), 'services' => array('postmark' => array('token' => null), 'ses' => array('key' => 'XV6ZHGUE3GBYWFH0564L', 'secret' => 'VSdtzs0QNQqYgaQbkncRaILNNJUzJqx8RzTEUiA6', 'region' => 'nbg1'), 'resend' => array('key' => null), 'slack' => array('notifications' => array('bot_user_oauth_token' => null, 'channel' => null))), 'database' => array('default' => 'main_database', 'connections' => array('sqlite' => array('driver' => 'sqlite', 'url' => null, 'database' => '/var/www/database/database.sqlite', 'prefix' => '', 'foreign_key_constraints' => true, 'busy_timeout' => null, 'journal_mode' => null, 'synchronous' => null), 'mysql' => array('driver' => 'mysql', 'url' => null, 'host' => '127.0.0.1', 'port' => '3306', 'database' => 'laravel', 'username' => 'root', 'password' => '', 'unix_socket' => '', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'options' => array()), 'mariadb' => array('driver' => 'mariadb', 'url' => null, 'host' => '127.0.0.1', 'port' => '3306', 'database' => 'laravel', 'username' => 'root', 'password' => '', 'unix_socket' => '', 'charset' => 'utf8mb4', 'collation' => 'utf8mb4_unicode_ci', 'prefix' => '', 'prefix_indexes' => true, 'strict' => true, 'engine' => null, 'options' => array()), 'pgsql' => array('driver' => 'pgsql', 'url' => null, 'host' => '127.0.0.1', 'port' => '5432', 'database' => 'laravel', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'prefix' => '', 'prefix_indexes' => true, 'search_path' => 'public', 'sslmode' => 'prefer'), 'sqlsrv' => array('driver' => 'sqlsrv', 'url' => null, 'host' => 'localhost', 'port' => '1433', 'database' => 'laravel', 'username' => 'root', 'password' => '', 'charset' => 'utf8', 'prefix' => '', 'prefix_indexes' => true)), 'migrations' => array('table' => 'migrations', 'update_date_on_publish' => true), 'redis' => array('client' => 'phpredis', 'options' => array('cluster' => 'redis', 'prefix' => 'comparison_database_', 'persistent' => false), 'default' => array('url' => null, 'host' => 'redis', 'username' => null, 'password' => null, 'port' => '6379', 'database' => '0'), 'cache' => array('url' => null, 'host' => 'redis', 'username' => null, 'password' => null, 'port' => '6379', 'database' => '1'))), 'cache' => array('default' => 'database', 'stores' => array('array' => array('driver' => 'array', 'serialize' => false), 'database' => array('driver' => 'database', 'connection' => null, 'table' => 'cache', 'lock_connection' => null, 'lock_table' => null), 'file' => array('driver' => 'file', 'path' => '/var/www/storage/framework/cache/data', 'lock_path' => '/var/www/storage/framework/cache/data'), 'memcached' => array('driver' => 'memcached', 'persistent_id' => null, 'sasl' => array(null, null), 'options' => array(), 'servers' => array(array('host' => 'mariadb', 'port' => 11211, 'weight' => 100))), 'redis' => array('driver' => 'redis', 'connection' => 'cache', 'lock_connection' => 'default'), 'dynamodb' => array('driver' => 'dynamodb', 'key' => 'XV6ZHGUE3GBYWFH0564L', 'secret' => 'VSdtzs0QNQqYgaQbkncRaILNNJUzJqx8RzTEUiA6', 'region' => 'nbg1', 'table' => 'cache', 'endpoint' => null), 'octane' => array('driver' => 'octane')), 'prefix' => 'comparison_cache_'), 'auth' => array('defaults' => array('guard' => 'web', 'passwords' => 'users'), 'guards' => array('web' => array('driver' => 'session', 'provider' => 'users')), 'providers' => array('users' => array('driver' => 'eloquent', 'model' => 'App\\Models\\User')), 'passwords' => array('users' => array('provider' => 'users', 'table' => 'password_reset_tokens', 'expire' => 60, 'throttle' => 60)), 'password_timeout' => 10800), 'concurrency' => array('default' => 'process'), 'cors' => array('paths' => array('api/*', 'sanctum/csrf-cookie'), 'allowed_methods' => array('*'), 'allowed_origins' => array('*'), 'allowed_origins_patterns' => array(), 'allowed_headers' => array('*'), 'exposed_headers' => array(), 'max_age' => 0, 'supports_credentials' => false)))
(/var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php:78)
at Illuminate\Foundation\Bootstrap\LoadConfiguration->loadConfigurationFiles(object(Application), object(Repository))
(/var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php:39)
at Illuminate\Foundation\Bootstrap\LoadConfiguration->bootstrap(object(Application))
(/var/www/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/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:187)
at Illuminate\Foundation\Http\Kernel->bootstrap()
(/var/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:171)
at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(object(Request))
(/var/www/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:145)
at Illuminate\Foundation\Http\Kernel->handle(object(Request))
(/var/www/public/index.php:52)
|