Error!

RuntimeException [ Error ]:
Object class "Fuel\Core\Validation" could not be converted to string or sanitized as ArrayAccess. Whitelist it in security.whitelisted_classes in app/config/config.php to allow it to be passed unchecked.

COREPATH/classes/security.php @ line 268

263            }
264
265            // Throw exception when it wasn't whitelisted and can't be converted to String
266            if ( ! method_exists($value'__toString'))
267            {
268                throw new \RuntimeException('Object class "'.get_class($value).'" could not be converted to string or '.
269                    'sanitized as ArrayAccess. Whitelist it in security.whitelisted_classes in app/config/config.php '.
270                    'to allow it to be passed unchecked.');
271            }
272
273            $value = static::htmlentities((string) $value$flags$encoding$double_encode);

Backtrace

  1. COREPATH/classes/security.php @ line 156
    151                }
    152
    153                // is this filter a callable function?
    154                elseif (is_callable($filter))
    155                {
    156                    $var call_user_func($filter$var);
    157                }
    158
    159                // assume it's a regex of characters to filter
    160                else
    161                {
    
  2. COREPATH/classes/view.php @ line 294
    289                {
    290                    if ($filter_closures and $value instanceOf \Closure)
    291                    {
    292                        $value $value();
    293                    }
    294                    $value = \Security::clean($valuenull'security.output_filter');
    295                }
    296            }
    297
    298            return $data;
    299        };
    
  3. COREPATH/classes/view.php @ line 305
    300
    301        $data = array();
    302
    303        if ( ! empty($this->data)  and ($scope === 'all' or $scope === 'local'))
    304        {
    305            $data += $clean_it($this->data$this->local_filter$this->auto_filter);
    306        }
    307
    308        if ( ! empty(static::$global_data)  and ($scope === 'all' or $scope === 'global'))
    309        {
    310            $data += $clean_it(static::$global_data, static::$global_filter$this->auto_filter);
    
  4. COREPATH/classes/view.php @ line 260
    255            // Get the captured output and close the buffer
    256            return ob_get_clean();
    257        };
    258
    259        // import and process the view file
    260        $result $clean_room($file_override ?: $this->file_name$data $this->get_data());
    261
    262        // disable sanitization on objects that support it
    263        $this->unsanitize($data);
    264
    265        // return the result
    
  5. COREPATH/classes/view.php @ line 631
    626        {
    627            throw new \FuelException('You must set the file to use within your view before rendering');
    628        }
    629
    630        // combine local and global data and capture the output
    631        $return $this->process_file();
    632
    633        // restore the current language setting
    634        $this->active_language and \Config::set('language'$current_language);
    635
    636        // and the active request class
    
  6. COREPATH/base.php @ line 229
    224 */
    225if ( ! function_exists('render'))
    226{
    227    function render($view$data null$auto_filter null)
    228    {
    229        return \View::forge($view$data$auto_filter)->render();
    230    }
    231}
    232
    233/**
    234 A wrapper function for Lang::get()
    
  7. APPPATH/views/front/jra/umainfo.html @ line 126
    121<br />
    122<div style="font-weight:bolder;font-size:16px">※2008年以前や地方および海外での成績など一部のデータはございません。予めご了承願います。</div>
    123<br />
    124
    125<!--bbs-->
    126<?= render('front/jra/bbs.html'$bbs); ?>
    127<!--/bbs-->
    128
    129<!--bbs_paging-->
    130<?= render('front/jra/bbs_paging.html',$bbs_paging); ?>
    131<!--/bbs_paging-->
    
  8. COREPATH/classes/view.php @ line 244
    239            ob_start();
    240
    241            try
    242            {
    243                // Load the view within the current scope
    244                include $__file_name;
    245            }
    246            catch (\Exception $e)
    247            {
    248                // Delete the output buffer
    249                ob_end_clean();
    
  9. COREPATH/classes/view.php @ line 260
    255            // Get the captured output and close the buffer
    256            return ob_get_clean();
    257        };
    258
    259        // import and process the view file
    260        $result $clean_room($file_override ?: $this->file_name$data $this->get_data());
    261
    262        // disable sanitization on objects that support it
    263        $this->unsanitize($data);
    264
    265        // return the result
    
  10. COREPATH/classes/view.php @ line 631
    626        {
    627            throw new \FuelException('You must set the file to use within your view before rendering');
    628        }
    629
    630        // combine local and global data and capture the output
    631        $return $this->process_file();
    632
    633        // restore the current language setting
    634        $this->active_language and \Config::set('language'$current_language);
    635
    636        // and the active request class
    
  11. COREPATH/classes/view.php @ line 213
    208     */
    209    public function __toString()
    210    {
    211        try
    212        {
    213            return $this->render();
    214        }
    215        catch (\Exception $e)
    216        {
    217            \Errorhandler::exception_handler($e);
    218
    
  12. APPPATH/views/front/layout.html @ line 16
    11
    12<div class="container">
    13<?=$header?>
    14
    15
    16<?=$content?>
    17
    18
    19
    20<?=$footer?>
    21</div>
    
  13. COREPATH/classes/view.php @ line 244
    239            ob_start();
    240
    241            try
    242            {
    243                // Load the view within the current scope
    244                include $__file_name;
    245            }
    246            catch (\Exception $e)
    247            {
    248                // Delete the output buffer
    249                ob_end_clean();
    
  14. COREPATH/classes/view.php @ line 260
    255            // Get the captured output and close the buffer
    256            return ob_get_clean();
    257        };
    258
    259        // import and process the view file
    260        $result $clean_room($file_override ?: $this->file_name$data $this->get_data());
    261
    262        // disable sanitization on objects that support it
    263        $this->unsanitize($data);
    264
    265        // return the result
    
  15. COREPATH/classes/view.php @ line 631
    626        {
    627            throw new \FuelException('You must set the file to use within your view before rendering');
    628        }
    629
    630        // combine local and global data and capture the output
    631        $return $this->process_file();
    632
    633        // restore the current language setting
    634        $this->active_language and \Config::set('language'$current_language);
    635
    636        // and the active request class
    
  16. COREPATH/classes/view.php @ line 213
    208     */
    209    public function __toString()
    210    {
    211        try
    212        {
    213            return $this->render();
    214        }
    215        catch (\Exception $e)
    216        {
    217            \Errorhandler::exception_handler($e);
    218
    
  17. COREPATH/classes/theme.php @ line 162
    157     */
    158    public function __toString()
    159    {
    160        try
    161        {
    162            return (string) $this->render();
    163        }
    164        catch (\Exception $e)
    165        {
    166            \Errorhandler::exception_handler($e);
    167
    
  18. DOCROOT/index.php @ line 101
    96$bm Profiler::app_total();
    97$response->body(
    98    str_replace(
    99        array('{exec_time}''{mem_usage}'),
    100        array(round($bm[0], 4), round($bm[1] / pow(10242), 3)),
    101        $response->body()
    102    )
    103);
    104
    105$response->send(true);
    

Prior Contents (show)

Code Profiler