My Brain Training Account

No, it is important that each user has a separate account for several reasons. The first reason is that if one user completes early levels and a second user then logs in and tries to work through the higher levels, they will not be able to complete them as they won't have acquired the necessary skills taught earlier in the program. The second reason is that you will not be able to keep track of each individual person's progress if more than one person is using the same account. Our software keeps track of learning rates and provides only ONE intellectual assessment before training, and ONE afterwards. It is not possible for two users to each take these assessments.

If you wish to cancel your brain training course please contact us from your registered e-mail address. We will cancel your account straight away and confirm the cancellation by email. No further payments will be processed. To help RaiseYourIQ further improve our brain training course we would appreciate any feedback you would like to give us regarding why you wish to cancel your account.

Whoops! There was an error.
UnexpectedValueException
The stream or file "/var/www/html/raiseyouriqdev/laravel/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied UnexpectedValueException thrown with message "The stream or file "/var/www/html/raiseyouriqdev/laravel/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied" Stacktrace: #10 UnexpectedValueException in /var/www/html/raiseyouriqdev/laravel/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:110 #9 Monolog\Handler\StreamHandler:write in /var/www/html/raiseyouriqdev/laravel/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39 #8 Monolog\Handler\AbstractProcessingHandler:handle in /var/www/html/raiseyouriqdev/laravel/vendor/monolog/monolog/src/Monolog/Logger.php:344 #7 Monolog\Logger:addRecord in /var/www/html/raiseyouriqdev/laravel/vendor/monolog/monolog/src/Monolog/Logger.php:712 #6 Monolog\Logger:error in /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Log/Logger.php:176 #5 Illuminate\Log\Logger:writeLog in /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Log/Logger.php:87 #4 Illuminate\Log\Logger:error in /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:498 #3 Illuminate\Log\LogManager:error in /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:114 #2 Illuminate\Foundation\Exceptions\Handler:report in /var/www/html/raiseyouriqdev/laravel/app/Exceptions/Handler.php:43 #1 App\Exceptions\Handler:report in /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:81 #0 Illuminate\Foundation\Bootstrap\HandleExceptions:handleException in [internal]:0
10
UnexpectedValueException
/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php110
9
Monolog\Handler\StreamHandler write
/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php39
8
Monolog\Handler\AbstractProcessingHandler handle
/vendor/monolog/monolog/src/Monolog/Logger.php344
7
Monolog\Logger addRecord
/vendor/monolog/monolog/src/Monolog/Logger.php712
6
Monolog\Logger error
/vendor/laravel/framework/src/Illuminate/Log/Logger.php176
5
Illuminate\Log\Logger writeLog
/vendor/laravel/framework/src/Illuminate/Log/Logger.php87
4
Illuminate\Log\Logger error
/vendor/laravel/framework/src/Illuminate/Log/LogManager.php498
3
Illuminate\Log\LogManager error
/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php114
2
Illuminate\Foundation\Exceptions\Handler report
/app/Exceptions/Handler.php43
1
App\Exceptions\Handler report
/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php81
0
Illuminate\Foundation\Bootstrap\HandleExceptions handleException
[internal]0
/var/www/html/raiseyouriqdev/laravel/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php
     * {@inheritdoc}
     */
    protected function write(array $record)
    {
        if (!is_resource($this->stream)) {
            if (null === $this->url || '' === $this->url) {
                throw new \LogicException('Missing stream url, the stream can not be opened. This may be caused by a premature call to close().');
            }
            $this->createDir();
            $this->errorMessage = null;
            set_error_handler(array($this, 'customErrorHandler'));
            $this->stream = fopen($this->url, 'a');
            if ($this->filePermission !== null) {
                @chmod($this->url, $this->filePermission);
            }
            restore_error_handler();
            if (!is_resource($this->stream)) {
                $this->stream = null;
 
                throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened in append mode: '.$this->errorMessage, $this->url));
            }
        }
 
        if ($this->useLocking) {
            // ignoring errors here, there's not much we can do about them
            flock($this->stream, LOCK_EX);
        }
 
        $this->streamWrite($this->stream, $record);
 
        if ($this->useLocking) {
            flock($this->stream, LOCK_UN);
        }
    }
 
    /**
     * Write to stream
     * @param resource $stream
     * @param array $record
     */
Arguments
  1. "The stream or file "/var/www/html/raiseyouriqdev/laravel/storage/logs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied"
    
/var/www/html/raiseyouriqdev/laravel/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php
 *
 * @author Jordi Boggiano <j.boggiano@seld.be>
 * @author Christophe Coevoet <stof@notk.org>
 */
abstract class AbstractProcessingHandler extends AbstractHandler
{
    /**
     * {@inheritdoc}
     */
    public function handle(array $record)
    {
        if (!$this->isHandling($record)) {
            return false;
        }
 
        $record = $this->processRecord($record);
 
        $record['formatted'] = $this->getFormatter()->format($record);
 
        $this->write($record);
 
        return false === $this->bubble;
    }
 
    /**
     * Writes the record down to the log of the implementing handler
     *
     * @param  array $record
     * @return void
     */
    abstract protected function write(array $record);
 
    /**
     * Processes a record.
     *
     * @param  array $record
     * @return array
     */
    protected function processRecord(array $record)
    {
Arguments
  1. array:8 [
      "message" => "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => ErrorException {#2028
          #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
          #line: 122
          #severity: E_WARNING
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1664343680 {#2247
        date: 2022-09-28 05:41:20.626428 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2022-09-28 05:41:20] local.ERROR: file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied at /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122)\n
        [stacktrace]\n
        #0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'file_put_conten...', '/var/www/html/r...', 122, Array)\n
        #1 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(122): file_put_contents('/var/www/html/r...', 'eyJpdiI6Impwd2U...', 2)\n
        #2 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put('/var/www/html/r...', 'eyJpdiI6Impwd2U...', true)\n
        #3 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Session/Store.php(129): Illuminate\\Session\\FileSessionHandler->write('q3MDbykgVR0M17Z...', 'eyJpdiI6Impwd2U...')\n
        #4 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(87): Illuminate\\Session\\Store->save()\n
        #5 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(218): Illuminate\\Session\\Middleware\\StartSession->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #6 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #7 /var/www/html/raiseyouriqdev/laravel/public/index.php(68): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #8 {main}\n
        "} \n
        """
    ]
    
/var/www/html/raiseyouriqdev/laravel/vendor/monolog/monolog/src/Monolog/Logger.php
        }
        $ts->setTimezone(static::$timezone);
 
        $record = array(
            'message' => (string) $message,
            'context' => $context,
            'level' => $level,
            'level_name' => $levelName,
            'channel' => $this->name,
            'datetime' => $ts,
            'extra' => array(),
        );
 
        try {
            foreach ($this->processors as $processor) {
                $record = call_user_func($processor, $record);
            }
 
            while ($handler = current($this->handlers)) {
                if (true === $handler->handle($record)) {
                    break;
                }
 
                next($this->handlers);
            }
        } catch (Exception $e) {
            $this->handleException($e, $record);
        }
 
        return true;
    }
 
    /**
     * Ends a log cycle and frees all resources used by handlers.
     *
     * Closing a Handler means flushing all buffers and freeing any open resources/handles.
     * Handlers that have been closed should be able to accept log records again and re-open
     * themselves on demand, but this may not always be possible depending on implementation.
     *
     * This is useful at the end of a request and will be called automatically on every handler
Arguments
  1. array:8 [
      "message" => "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => ErrorException {#2028
          #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
          #code: 0
          #file: "/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
          #line: 122
          #severity: E_WARNING
        }
      ]
      "level" => 400
      "level_name" => "ERROR"
      "channel" => "local"
      "datetime" => DateTime @1664343680 {#2247
        date: 2022-09-28 05:41:20.626428 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2022-09-28 05:41:20] local.ERROR: file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied at /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:122)\n
        [stacktrace]\n
        #0 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(2, 'file_put_conten...', '/var/www/html/r...', 122, Array)\n
        #1 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(122): file_put_contents('/var/www/html/r...', 'eyJpdiI6Impwd2U...', 2)\n
        #2 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php(83): Illuminate\\Filesystem\\Filesystem->put('/var/www/html/r...', 'eyJpdiI6Impwd2U...', true)\n
        #3 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Session/Store.php(129): Illuminate\\Session\\FileSessionHandler->write('q3MDbykgVR0M17Z...', 'eyJpdiI6Impwd2U...')\n
        #4 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(87): Illuminate\\Session\\Store->save()\n
        #5 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(218): Illuminate\\Session\\Middleware\\StartSession->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #6 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(189): Illuminate\\Foundation\\Http\\Kernel->terminateMiddleware(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #7 /var/www/html/raiseyouriqdev/laravel/public/index.php(68): Illuminate\\Foundation\\Http\\Kernel->terminate(Object(Illuminate\\Http\\Request), Object(Illuminate\\Http\\Response))\n
        #8 {main}\n
        "} \n
        """
    ]
    
/var/www/html/raiseyouriqdev/laravel/vendor/monolog/monolog/src/Monolog/Logger.php
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function err($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the ERROR level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function error($message, array $context = array())
    {
        return $this->addRecord(static::ERROR, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
     *
     * @param  string $message The log message
     * @param  array  $context The log context
     * @return bool   Whether the record has been processed
     */
    public function crit($message, array $context = array())
    {
        return $this->addRecord(static::CRITICAL, $message, $context);
    }
 
    /**
     * Adds a log record at the CRITICAL level.
     *
     * This method allows for compatibility with common interfaces.
Arguments
  1. 400
    
  2. "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => ErrorException {#2028
        #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Log/Logger.php
     * @return void
     */
    public function write($level, $message, array $context = [])
    {
        $this->writeLog($level, $message, $context);
    }
 
    /**
     * Write a message to the log.
     *
     * @param  string  $level
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    protected function writeLog($level, $message, $context)
    {
        $this->fireLogEvent($level, $message = $this->formatMessage($message), $context);
 
        $this->logger->{$level}($message, $context);
    }
 
    /**
     * Register a new callback handler for when a log event is triggered.
     *
     * @param  \Closure  $callback
     * @return void
     *
     * @throws \RuntimeException
     */
    public function listen(Closure $callback)
    {
        if (! isset($this->dispatcher)) {
            throw new RuntimeException('Events dispatcher has not been set.');
        }
 
        $this->dispatcher->listen(MessageLogged::class, $callback);
    }
 
    /**
Arguments
  1. "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => ErrorException {#2028
        #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Log/Logger.php
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log an error message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a warning message to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->writeLog(__FUNCTION__, $message, $context);
    }
 
    /**
     * Log a notice to the logs.
     *
     * @param  string  $message
     * @param  array  $context
     * @return void
Arguments
  1. "error"
    
  2. "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => ErrorException {#2028
        #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Log/LogManager.php
     *
     * @return void
     */
    public function critical($message, array $context = [])
    {
        $this->driver()->critical($message, $context);
    }
 
    /**
     * Runtime errors that do not require immediate action but should typically
     * be logged and monitored.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function error($message, array $context = [])
    {
        $this->driver()->error($message, $context);
    }
 
    /**
     * Exceptional occurrences that are not errors.
     *
     * Example: Use of deprecated APIs, poor use of an API, undesirable things
     * that are not necessarily wrong.
     *
     * @param string $message
     * @param array  $context
     *
     * @return void
     */
    public function warning($message, array $context = [])
    {
        $this->driver()->warning($message, $context);
    }
 
    /**
     * Normal but significant events.
Arguments
  1. "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => ErrorException {#2028
        #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php
     */
    public function report(Exception $e)
    {
        if ($this->shouldntReport($e)) {
            return;
        }
 
        if (method_exists($e, 'report')) {
            return $e->report();
        }
 
        try {
            $logger = $this->container->make(LoggerInterface::class);
        } catch (Exception $ex) {
            throw $e;
        }
 
        $logger->error(
            $e->getMessage(),
            array_merge($this->context(), ['exception' => $e]
        ));
    }
 
    /**
     * Determine if the exception should be reported.
     *
     * @param  \Exception  $e
     * @return bool
     */
    public function shouldReport(Exception $e)
    {
        return ! $this->shouldntReport($e);
    }
 
    /**
     * Determine if the exception is in the "do not report" list.
     *
     * @param  \Exception  $e
     * @return bool
     */
Arguments
  1. "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => ErrorException {#2028
        #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
        #code: 0
        #file: "/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
        #line: 122
        #severity: E_WARNING
      }
    ]
    
/var/www/html/raiseyouriqdev/laravel/app/Exceptions/Handler.php
        \Illuminate\Auth\AuthenticationException::class,
        \Illuminate\Auth\Access\AuthorizationException::class,
        \Symfony\Component\HttpKernel\Exception\HttpException::class,
        \Illuminate\Database\Eloquent\ModelNotFoundException::class,
        \Illuminate\Session\TokenMismatchException::class,
        \Illuminate\Validation\ValidationException::class,
    ];

    /**
     * Report or log an exception.
     *
     * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
     *
     * @param \Exception $exception
     *
     * @return void
     */
    public function report(Exception $exception)
    {
        parent::report($exception);
    }

    /**
     * Render an exception into an HTTP response.
     *
     * @param \Illuminate\Http\Request $request
     * @param \Exception               $exception
     *
     * @return \Illuminate\Http\Response
     */
    public function render($request, Exception $exception)
    {
        if (strpos($request->url(), '/api/') !== false) {
            \Log::debug('API Request Exception - '.$request->url().' - '.$exception->getMessage().(!empty($request->all()) ? ' - '.json_encode($request->except(['password'])) : ''));

            if ($exception instanceof AuthorizationException) {
                return $this->setStatusCode(403)->respondWithError($exception->getMessage());
            }

            if ($exception instanceof MethodNotAllowedHttpException) {
Arguments
  1. ErrorException {#2028
      #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
      #line: 122
      #severity: E_WARNING
    }
    
/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php
    }
 
    /**
     * Handle an uncaught exception from the application.
     *
     * Note: Most exceptions can be handled via the try / catch block in
     * the HTTP and Console kernels. But, fatal error exceptions must
     * be handled differently since they are not normal exceptions.
     *
     * @param  \Throwable  $e
     * @return void
     */
    public function handleException($e)
    {
        if (! $e instanceof Exception) {
            $e = new FatalThrowableError($e);
        }
 
        try {
            $this->getExceptionHandler()->report($e);
        } catch (Exception $e) {
            //
        }
 
        if ($this->app->runningInConsole()) {
            $this->renderForConsole($e);
        } else {
            $this->renderHttpResponse($e);
        }
    }
 
    /**
     * Render an exception to the console.
     *
     * @param  \Exception  $e
     * @return void
     */
    protected function renderForConsole(Exception $e)
    {
        $this->getExceptionHandler()->renderForConsole(new ConsoleOutput, $e);
Arguments
  1. ErrorException {#2028
      #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
      #line: 122
      #severity: E_WARNING
    }
    
[internal]
Arguments
  1. ErrorException {#2028
      #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/q3MDbykgVR0M17ZnVjLYLNaYmsoelZrVc24IlPXd): failed to open stream: Permission denied"
      #code: 0
      #file: "/var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php"
      #line: 122
      #severity: E_WARNING
    }
    

Environment & details:

Key Value
topic
"7"
empty
empty
empty
empty
Key Value
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"raiseyouriqdev.yapits.com"
REDIRECT_STATUS
"200"
HTTPS
"on"
SSL_TLS_SNI
"raiseyouriqdev.yapits.com"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_HOST
"raiseyouriqdev.yapits.com"
HTTP_CONNECTION
"Keep-Alive"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
SERVER_SIGNATURE
"<address>Apache/2.4.29 (Ubuntu) Server at raiseyouriqdev.yapits.com Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.29 (Ubuntu)"
SERVER_NAME
"raiseyouriqdev.yapits.com"
SERVER_ADDR
"164.52.217.174"
SERVER_PORT
"443"
REMOTE_ADDR
"3.237.0.109"
DOCUMENT_ROOT
"/var/www/html/raiseyouriqdev/laravel/public"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/var/www/html/raiseyouriqdev/laravel/public"
SERVER_ADMIN
"avtar.singh@yapapp.net"
SCRIPT_FILENAME
"/var/www/html/raiseyouriqdev/laravel/public/index.php"
REMOTE_PORT
"33124"
REDIRECT_URL
"/faq"
REDIRECT_QUERY_STRING
"topic=7"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
"topic=7"
REQUEST_URI
"/faq?topic=7"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1664343680.296
REQUEST_TIME
1664343680
APP_NAME
"RaiseYourIQ"
APP_SHORT_NAME
"RYIQ"
APP_ENV
"local"
APP_KEY
"base64:8jwz7SbqxBUzQht73pmNX1IE4WcZWnVkBJ+m6bg6bDA="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"http://localhost"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"raiseyouriqdev"
DB_USERNAME
"raiseyouriqdev"
DB_PASSWORD
"G4wp@aenn"
ENABLE_REGISTRATION
"true"
REQUIRES_APPROVAL
"false"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
QUEUE_DRIVER
"database"
SESSION_TIMEOUT_STATUS
"true"
SESSION_TIMEOUT
"7200"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
FACEBOOK_CLIENT_ID
"320975518613824"
FACEBOOK_CLIENT_SECRET
""
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
MAIL_MAILER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_FROM
"smtp825@gmail.com"
MAIL_FROM_NAME
"Raiseyouriq"
MAIL_USERNAME
"smtp825@gmail.com"
MAIL_PASSWORD
"acLVNn5n7TPdcb5j"
MAIL_ENCRYPTION
"tls"
PAYPAL_SANDBOX_API_USERNAME
"business_api1.yapits.com"
PAYPAL_SANDBOX_API_PASSWORD
"M8KNZZL8PRB4RKWF"
PAYPAL_SANDBOX_API_SECRET
"A6Rvi3rGatmLsbsG55EkJs4GYiANA7-DNHQh.SHBgCRa.OM-X6VbRPxU"
PAYPAL_SANDBOX_API_CERTIFICATE
""
PAYPAL_LIVE_API_USERNAME
""
PAYPAL_LIVE_API_PASSWORD
""
PAYPAL_LIVE_API_SECRET
""
PAYPAL_LIVE_API_CERTIFICATE
""
GOOGLE_RECAPTCHA_KEY
"6LfVM8cUAAAAAEulivQb3OoBDZ6CrBtRkXtBz9RH"
GOOGLE_RECAPTCHA_SECRET
"6LfVM8cUAAAAAD7Fdo8oLLC64awSPRWl-6FTeVAi"
Key Value
APP_NAME
"RaiseYourIQ"
APP_SHORT_NAME
"RYIQ"
APP_ENV
"local"
APP_KEY
"base64:8jwz7SbqxBUzQht73pmNX1IE4WcZWnVkBJ+m6bg6bDA="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"http://localhost"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
"raiseyouriqdev"
DB_USERNAME
"raiseyouriqdev"
DB_PASSWORD
"G4wp@aenn"
ENABLE_REGISTRATION
"true"
REQUIRES_APPROVAL
"false"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
QUEUE_DRIVER
"database"
SESSION_TIMEOUT_STATUS
"true"
SESSION_TIMEOUT
"7200"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
FACEBOOK_CLIENT_ID
"320975518613824"
FACEBOOK_CLIENT_SECRET
""
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
MAIL_MAILER
"smtp"
MAIL_HOST
"smtp.gmail.com"
MAIL_PORT
"587"
MAIL_FROM
"smtp825@gmail.com"
MAIL_FROM_NAME
"Raiseyouriq"
MAIL_USERNAME
"smtp825@gmail.com"
MAIL_PASSWORD
"acLVNn5n7TPdcb5j"
MAIL_ENCRYPTION
"tls"
PAYPAL_SANDBOX_API_USERNAME
"business_api1.yapits.com"
PAYPAL_SANDBOX_API_PASSWORD
"M8KNZZL8PRB4RKWF"
PAYPAL_SANDBOX_API_SECRET
"A6Rvi3rGatmLsbsG55EkJs4GYiANA7-DNHQh.SHBgCRa.OM-X6VbRPxU"
PAYPAL_SANDBOX_API_CERTIFICATE
""
PAYPAL_LIVE_API_USERNAME
""
PAYPAL_LIVE_API_PASSWORD
""
PAYPAL_LIVE_API_SECRET
""
PAYPAL_LIVE_API_CERTIFICATE
""
GOOGLE_RECAPTCHA_KEY
"6LfVM8cUAAAAAEulivQb3OoBDZ6CrBtRkXtBz9RH"
GOOGLE_RECAPTCHA_SECRET
"6LfVM8cUAAAAAD7Fdo8oLLC64awSPRWl-6FTeVAi"
0. Whoops\Handler\PrettyPageHandler