The Science behind SMART brain training

The only brain training system scientifically proven to raise IQ

SMART Brain Training for Personal, Professional and Educational use

The Science behind SMART Intellectual Skills Training

Dr. Bryan Roche and Dr. Sarah Cassidy have worked as scientists for many years in the development of the SMART (Strengthening Mental Abilities with Relational Training) brain training method. The RaiseYourIQ approach to cognitive enhancement is based on Relational Frame Theory – a modern theory of cognition that our team has helped to develop over the past two decades. Dr. Roche was the co-editor of the two seminal texts on this theory. working with Professor Stevem C. Hayes creator of Acceptance and Commitment Therapy (also based on Relational Frame Theory). Dr. Cassidy is a University lecturer and clinician and was the leading researcher behind the first demonstration of IQ gains resulting from relational skills training.

RaiseYourIQ offers the only “brain training” system in the world that is based on tried and tested systems of intellectual skills interventions used in the clinical setting (for example the methods of Applied Behaviour Analysis), and that has been shown in several published scientific studies to lead to real, large, and objectively measurable gains in general intelligence (IQ). No other method benefits from even a single study, showing large and reliable IQ gains as a result of training.

Our SMART system has achieved the holy grail of brain training across several different published studies. That is, we have achieved what scientists call evidence of “far transfer”. This means that increased scores on an IQ test have been proven to result from training on skills that are not directly assessed on the IQ test. In other words, the benefits of our SMART training have been proven to transfer far into intellectual areas that we do not train directly in our system but which are assessed in general intelligence tests (e.g., vocabulary, verbal comprehension, analogical reasoning, numeracy, and so on). This makes SMART training truly unique and revolutionary in its approach to intellectual skills enhancement.

Some of the other tools that we have made available here to professionals and clinicians (SMART for Dyslexia, SMART KidStarter for younger kids, FAST emotional flexibility training) are also based on Relational Frame Theory concepts and Acceptance & Commitment Therapy (ACT) methods.

FAQ's

The SMART Brain Training course from RaiseYourIQ is developed and run by education leaders and published psychologists. The founders of RaiseYourIQ are Dr. Bryan Roche and Dr. Sarah Cassidy who have used scientific evidence gathered from over 10 years university research to create this online brain training platform. Numerous published studies have proven that the better your relational skills, the higher your IQ will be. Several other published studies have shown how we can best teach relational skills. Published experiments have also shown that relational skills training like SMART brain training are followed by very significant increases in IQ (at least 10 points) that last for several years. These sorts of IQ rises are enough for a slow learner to be re-classified as normal, or for a normal individual to be reclassified as above normal.

RaiseYourIQ is led by its co-founders; Dr Bryan Roche and Dr. Sarah Cassidy. Both are psychologists, education leaders and published authors in the field of "Relational Frame Theory". SMART brain training methodology was developed over several years across numerous laboratory studies and research within the education system. They have been peer reviewed in numerous scientific journals.

SMART brain training from RaiseYourIQ is based on established principles of learning that have been proven to underlie intellectual development across a wide range of areas (reading, problem solving, reasoning, and so on). The skills that have been identified as underlying most intellectual abilities, are called “relational skills” and our founders (Doctor Bryan Roche and Doctor Sarah Cassidy) have played a key role identifying how “relational skills training” impacts a person’s intellectual ability. We then devised the SMART brain training system to teach people these crucial learning skills. Dozens of published studies from several independent laboratories have highlighted on the development of relational skills as they key to intellectual development. RaiseYourIQ have also published over four in-depth experimental studies which show that IQ can be increased by a large amount using our method – something no other brain training game has done.


Sample of Scientific Evidence Papers

Direct evidence for the SMART approach

McLoughlin S, Tyndall I, Pereira A, Mulhern T. 2020. Non-verbal IQ Gains from Relational Operant Training Explain Variance in Educational Attainment: An Active-Controlled Feasibility Study. Journal of Cognitive Enhancement.

McLoughlin S, Tyndall I, Pereira A. 2020. Relational Operant Skills Training Increases Standardized Matrices Scores in Adolescents: A Stratified Active-Controlled Trial. Journal of Behavioral Education.

Amd, M., & Roche, B. (2018). Assessing the effects of a relational training intervention on fluid intelligence among a sample of socially disadvantaged children in Bangladesh. The Psychological Record, 68(2), 141–149.

Cassidy, S., Roche, B., Colbert, D., Stewart, I., & Grey, I. (2016). A relational frame skills training intervention to increase general intelligence and scholastic aptitude. Learning and Individual Differences, 47, 222–235. https://doi.org/10.1016/j.lindif.2016.03.001.

Cassidy, S., Roche, B., & Hayes, S. C. (2011). A relational frame training intervention to raise Intelligence Quotients: A pilot study. The Psychological Record, 61, 173–198. https://doi.org/10.1007/ BF03395755.

Colbert, D., Tyndall, I., Roche, B., & Cassidy, S. (2018). Can SMART training really increase Intelligence? A Replication Study. Journal of Behavioral Education, 27, 509-531. https://doi.org/10.1007/s10864-018-9302-2

Hayes, J., & Stewart, I. (2016). Comparing the effects of derived relational training and computer coding on intellectual potential in school-age children. British Journal of Educational Psychology, 86, 397–411. https://doi.org/10.1111/bjep.12114.

McLoughlin, S., Tyndall, I., & Pereira, A. (2018). A brief relational operant training program: Analyses of response latencies and intelligence. European Journal of Behavior Analysis, 19 (2). 228-246. DOI: 10.1080/15021149.2018.1507087.

Thirus, J., Starbrink, M., & Jansson, B. (2016). Relational frame theory, mathematical and logical skills: A multiple exemplar training intervention to enhance intellectual performance. International Journal of Psychology & Psychological Therapy, 16(2), 141–155.

Presti, G., Torregrosssa, S., Migliore, D., Roche, B., Cumbo, E. (2018). Relational Training Intervention as add-on therapy to current specific treatments in patients with mild-to-moderate Alzheimer’s disease. International Journal of Psychology and Neuoscience, 3, 88-97.

Vizcaíno-Torres, R.M., Ruiz, F., Luciano, C., López-López, J., Barbero-Rubio, A., & Gil, E. (2015). The effect of relational training on intelligence quotient. A case study. Psicothema, 27(2), 120- 127. doi: 10.7334/psicothema2014.149.

Theoretical background to SMART

Andrews, G., & Halford, G. S. (1998). Children’s ability to make transitive inferences: The importance of premise integration and structural complexity. Cognitive Development, 13, 479–513. https://doi. org/10.1016/S0885-2014(98)90004-1.

Barnes-Holmes, D., Finn, M., McEnteggart, C., Barnes-Holmes, Y. (2017). Derived Stimulus Relations and Their Role in a Behavior-Analytic Account of Human Language and Cognition. Perspectives on Behavior Science, 41, 155–173. DOIhttps://doi.org/10.1007/s40614-017-0124-7

Cassidy, S., Roche, B. & O’Hora, D. (2010). Relational Frame Theory and human intelligence. European Journal of Behavior Analysis, 11, 37-51.

Halford, G., Wilson, W., & Phillips, S. (2010). Relational knowledge: The foundation of higher cognition. Trends in Cognitive Sciences, 14(11), 497–505. https://doi.org/10.1016/j.tics.2010.08.005.

Hayes, S. C., Barnes-Holmes, D., & Roche, B. (Eds.) (2001). Relational frame theory: A post-Skinnerian account of human language and cognition. New York: Kluwer Academic.

Hayes, J., Stewart, I 7 McElwee, J. (2016). Assessing and Training Young Children in Same and Different Relations Using the Relational Evaluation Procedure (REP). The Psychological Record, 66, 547–561. DOIhttps://doi.org/10.1007/s40732-016-0191-2

Marr, M. (2015). Mathematics as verbal behavior. Behavioural Processes, 113, 75–80. https://doi.org/10.1016/j.beproc.2015.01.005.

Rehfeldt, R. A & Barnes-Holmes, Y. (2009). Derived Relational Responding Applications for Learners with Autism and Other Developmental Disabilities: A Progressive Guide to Change. San Francisco: New Hartbinger.

Roche, B., Cassidy, S. & Stewart, I. (2013). Nurturing genius: Realizing a foundational aim of Psychology. In Kashdan, T & Ciarrochi, J. (Eds.), Cultivating well-being: Treatment innovations in Positive Psychology, Acceptance and Commitment Therapy, and beyond, pp. 267-302. Oakland, CA: New Harbinger.

Stewart, I., McLoughlin, S., Mulhern, T., Ming, S., & Kirsten, A. (in press). Assessing and teaching complex relational operants: Analogy and hierarchy. In R. Rehfeldt, J. Tarbox, M. Fryling & L. Hayes (Eds.), Applied Behavior Analysis of Language and Cognition. New Harbinger.

Stewart, I., Tarbox, J., Roche, B., & O’Hora, D. (2013). Education, intellectual development, and relational frame theory. In S. Dymond & B. Roche (Eds.), Advances in relational frame theory: Research & application (pp. 178–198). Oakland, CA: New Harbinger.

Evidence that relational skills are related to intelligence

Cassidy, S., Roche, B., & O’Hora, D. (2010). Relational Frame Theory and Human Intelligence. European Journal of Behavior Analysis, 11(1), 37–51. https://doi.org/10.1080/15021149.2 010.11434333

Colbert, D., Barrett, S. Malone, A & Roche, B. (In press, 2019). The Relational Abilities Index+: Initial Validation of a Functionally Understood Proxy Measure for Intelligence. Perspectives on Behavioral Science. DOI:10.1007/s40614-019-00197-z

Colbert, D., Dobutowitsch, M., Roche, B., & Brophy, C. (2017). The proxy-measurement of intelligence quotients using a relational skills abilities index. Learning and Individual Differences. https://doi. org/10.1016/j.lindif.2017.03.010.

Dixon, M., Whiting, S., Rowsey, K., & Belisly, J. (2014). Assessing the relationship between intelligence and the PEAK relational training system. Research In Autism Spectrum Disorders, 8(9), 1208– 1213. https://doi.org/10.1016/j.rasd.2014.05.005.

Gore, N. J., Barnes-Holmes, Y., & Murphy, G. (2010). The relationship between intellectual functioning and relational perspective-taking. International Journal of Psychology & Psychological Therapy, 10, 1–17.

Moran, L., Stewart, I., McElwee, J., & Ming, S. (2010). Brief report: The training and assessment of relational precursors and abilities (TARPA): A preliminary analysis. Journal of Autism and Devel- opmental Disorders, 40(9), 1149–1153. https://doi.org/10.1007/s10803-010-0968-0.

O’Hora, D., Pelaez, M., & Banres-Holmes, D. (2005). Derived relational responding and performance on verbal subtests of the WAIS-III. The Psychological Record, 55, 155–175. https://doi.org/10.1007/BF03395504.

O’Hora, D., Pelaez, M., Barnes-Holmes, D., Rae, G., Robinson, T., & Chaudhary, T. (2008). Temporal relations and intelligence: Correlating relational performance with performance on the WAIS-III. The Psychological Record, 58, 569–583. https://doi.org/10.1007/BF03395638.

O’Toole, C., Barnes-Holmes, D., Murphy, C., O’Connor, J., & Barnes-Holmes, Y. (2009). Relational flexibility and intelligence: Extending the remit of Skinner’s Verbal Behavior. International Journal of Psychology and Psychological Therapy, 9, 1–17.

Evidence that relational skills can be enhanced and generalize to novel situations

Barnes-Holmes, Y. Barnes-Holmes, D. Roche, B, & Smeets, P. M. (2001). Exemplar training and a derived transformation of function in accordance with symmetry. The Psychological Record, 51, 287- 308.

Barnes-Holmes, Y. Barnes-Holmes, D. Roche, B, & Smeets, P. M. (2001). Exemplar training and a derived transformation of function in accordance with symmetry II. The Psychological Record, 51, 589-603.

Stewart, I, Barnes-Holmes, D., Roche, B. & Smeets, P. M. (2001). Generating derived relational networks via the abstraction of common physical properties: A possible model of analogical reasoning. The Psychological Record, 51, 381-408.

Barnes-Holmes, Y., Barnes-Holmes, D., Roche, B. & Smeets, P. M. (2001). The development of self and perspective-taking: A Relational frame analysis. Behavior Development Bulletin, 1, 42-45.

Barnes-Holmes, Y., Barnes-Holmes, D., & Smeets, P. M. (2004). Establishing relational responding in accordance with opposite as generalized operant behavior in young children. International Journal of Psychology and Psychological Therapy, 4, 559–586.

Barnes-Holmes, Y., Barnes-Holmes, D., & McHugh, L. (2004). Teaching derived relational responding to young children. Journal of Early and Intensive Behavior Intervention, 1(1), 3-12.

Berens, N., & Hayes, S. (2007). Arbitrarily applicable comparative relations: Experimental evidence for a relational operant. Journal of Applied Behaviour Analysis, 40(1), 45–71. https://doi.org/10.1901/ jaba.2007.7-06.

Gomez, S., Lopez, F., Martin, C. B., Barnes-Holmes, Y., & Barnes-Holmes, D. (2007). Exemplar training and a derived transformation of functions in accordance with symmetry and equivalence. The Psychological Record, 57, 273–293. https://doi.org/10.1007/BF03395577.

Luciano, C., Becerra, I., & Valverde, M. (2007). The role of multiple-exemplar training and naming in establishing derived equivalence in an infant. Journal of the Experimental Analysis of Behavior, 87(3), 349–365. https://doi.org/10.1901/jeab.2007.08-06.

McKeel, A. N., Dixon, M. R., Daar, J. H., Rowsey, K. E., & Szekely, S. (2015). Evaluating the efficacy of the PEAK relational training system using a randomized controlled trial of children with autism. Journal of Behavioral Education, 24, 230–241. https://doi.org/10.1007/s10864-015-9219-y.

Rosales, R., Rehfeldt, R. A, Lovett, S. (2011). Effects of multiple exemplar training on the emergence of derived relations in preschool children learning a second language. The Analysis of Verbal Behavior, 27, 61–74.

Ruiz, F. J., & Luciano, C. (2011). Cross- domain analogies as relating derived relations among two separate relational networks. Journal of the Experimental Analysis of Behavior, 95(3), 369– 385. https://doi.org/10.1901/jeab.2011.9 5-369

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/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => ErrorException {#2028
          #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): 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 @1664350220 {#2247
        date: 2022-09-28 07:30:20.222323 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2022-09-28 07:30:20] local.ERROR: file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): 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...', 'eyJpdiI6InJVeVd...', 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...', 'eyJpdiI6InJVeVd...', true)\n
        #3 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Session/Store.php(129): Illuminate\\Session\\FileSessionHandler->write('sOzp9lznGZwH0Uf...', 'eyJpdiI6InJVeVd...')\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/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): failed to open stream: Permission denied"
      "context" => array:1 [
        "exception" => ErrorException {#2028
          #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): 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 @1664350220 {#2247
        date: 2022-09-28 07:30:20.222323 UTC (+00:00)
      }
      "extra" => []
      "formatted" => """
        [2022-09-28 07:30:20] local.ERROR: file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): failed to open stream: Permission denied {"exception":"[object] (ErrorException(code: 0): file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): 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...', 'eyJpdiI6InJVeVd...', 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...', 'eyJpdiI6InJVeVd...', true)\n
        #3 /var/www/html/raiseyouriqdev/laravel/vendor/laravel/framework/src/Illuminate/Session/Store.php(129): Illuminate\\Session\\FileSessionHandler->write('sOzp9lznGZwH0Uf...', 'eyJpdiI6InJVeVd...')\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/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => ErrorException {#2028
        #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): 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/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => ErrorException {#2028
        #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): 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/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): failed to open stream: Permission denied"
    
  3. array:1 [
      "exception" => ErrorException {#2028
        #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): 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/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => ErrorException {#2028
        #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): 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/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): failed to open stream: Permission denied"
    
  2. array:1 [
      "exception" => ErrorException {#2028
        #message: "file_put_contents(/var/www/html/raiseyouriqdev/laravel/storage/framework/sessions/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): 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/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): 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/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): 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/sOzp9lznGZwH0UfnursaIu1z5QsfpHYjm38dtFBG): 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:

empty
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_IF_MODIFIED_SINCE
"Wed, 29 Jun 2022 23:14:48 GMT"
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
"43794"
REDIRECT_URL
"/the-science"
GATEWAY_INTERFACE
"CGI/1.1"
SERVER_PROTOCOL
"HTTP/1.1"
REQUEST_METHOD
"GET"
QUERY_STRING
""
REQUEST_URI
"/the-science"
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1664350219.943
REQUEST_TIME
1664350219
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