Warning!

Fuel\Core\PhpErrorException [ Warning ]:
get_class() expects parameter 1 to be object, null given

COREPATH/classes/security.php @ line 241

236            foreach ($value as $k => $v)
237            {
238                $value[$k] = static::htmlentities($v$flags$encoding$double_encode);
239            }
240        }
241        elseif ($value instanceof \Iterator or get_class($value) == 'stdClass')
242        {
243            // Add to $already_cleaned variable
244            $already_cleaned[] = $value;
245
246            foreach ($value as $k => $v)

Backtrace

  1. COREPATH/bootstrap.php @ line 103
    98        include COREPATH.'classes/errorhandler.php';
    99        class_alias('\Fuel\Core\Errorhandler''Errorhandler');
    100        class_alias('\Fuel\Core\PhpErrorException''PhpErrorException');
    101    }
    102
    103    return \Errorhandler::error_handler($severity$message$filepath$line);
    104});
    105
    106function setup_autoloader()
    107{
    108    \Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. COREPATH/classes/security.php @ line 241
    236            foreach ($value as $k => $v)
    237            {
    238                $value[$k] = static::htmlentities($v$flags$encoding$double_encode);
    239            }
    240        }
    241        elseif ($value instanceof \Iterator or get_class($value) == 'stdClass')
    242        {
    243            // Add to $already_cleaned variable
    244            $already_cleaned[] = $value;
    245
    246            foreach ($value as $k => $v)
    
  3. COREPATH/classes/form/instance.php @ line 644
    639     * @param   string  $value
    640     * @return  string
    641     */
    642    public function prep_value($value)
    643    {
    644        $value = \Security::htmlentities($valueENT_QUOTES);
    645
    646        return $value;
    647    }
    648
    649    /**
    
  4. COREPATH/classes/form/instance.php @ line 574
    569                    (in_array((string) $key$selectedtrue)) && $opt_attr[] = 'selected';
    570                    $input .= str_repeat("\t"$level);
    571                    $opt_attr['value'] = ($current_obj->get_config('prep_value'true) && empty($attributes['dont_prep'])) ?
    572                        $current_obj->prep_value($opt_attr['value']) : $opt_attr['value'];
    573                    $val = ($current_obj->get_config('prep_value'true) && empty($attributes['dont_prep'])) ?
    574                        $current_obj->prep_value($val) : $val;
    575                    $input .= html_tag('option'$opt_attr$val).PHP_EOL;
    576                }
    577            }
    578            unset($attributes['dont_prep']);
    579
    
  5. COREPATH/classes/form/instance.php @ line 584
    579
    580            return $input;
    581        };
    582
    583        // generate the select options list
    584        $input $listoptions($options$selected).str_repeat("\t"0);
    585
    586        if (empty($attributes['id']) && $this->get_config('auto_id'false) == true)
    587        {
    588            $attributes['id'] = $this->get_config('auto_id_prefix''').$attributes['name'];
    589        }
    
  6. COREPATH/classes/form.php @ line 270
    265     * @param   array         $attributes
    266     * @return  string
    267     */
    268    public static function select($field$values null, array $options = array(), array $attributes = array())
    269    {
    270        return static::$instance->select($field$values$options$attributes);
    271    }
    272
    273    /**
    274     Create a label field
    275     *
    
  7. APPPATH/views/mypage/regmember.php @ line 100
    95                            <?php
    96                                $grouparray = array('id'=>'group'
    97                                    'class'=>'form-control'
    98                                    'style'=>'width:90%'
    99                                    'disabled'=>'disabled');
    100                                echo Form::select('group'
    101                                    '1'
    102                                    common::get_authgroups()
    103                                    $grouparray);
    104                            ?></span>
    105                        </div><!-- /.form-group -->
    
  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 665
    660        {
    661            throw new \FuelException('You must set the file to use within your view before rendering');
    662        }
    663
    664        // combine local and global data and capture the output
    665        $return $this->process_file();
    666
    667        // restore the current language setting
    668        $this->active_language and \Config::set('language'$current_language);
    669
    670        // 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/tpl_public.php @ line 35
    30        <?php echo Asset::js('bo_common.js'); ?>
    31        <?php echo Asset::js('bo_validation.js'); ?>
    32        
    33    </head>
    34    <body>
    35        <?php echo $content?>
    36    </body>
    37    <!-- javascript -->
    38    <script type="text/javascript">
    39        var baseurl "<?php echo Uri::base(); ?>"
    40    </script>
    
  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 665
    660        {
    661            throw new \FuelException('You must set the file to use within your view before rendering');
    662        }
    663
    664        // combine local and global data and capture the output
    665        $return $this->process_file();
    666
    667        // restore the current language setting
    668        $this->active_language and \Config::set('language'$current_language);
    669
    670        // 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/response.php @ line 382
    377     *
    378     * @return  string
    379     */
    380    public function __toString()
    381    {
    382        return (string) $this->body;
    383    }
    384}
    
  18. DOCROOT/index.php @ line 113
    108    $response $routerequest('_500_'$e);
    109}
    110
    111// This will add the execution time and memory usage to the output.
    112// Comment this out if you don't use it.
    113$response->body((string) $response);
    114if (strpos($response->body(), '{exec_time}') !== false or strpos($response->body(), '{mem_usage}') !== false)
    115{
    116    $bm Profiler::app_total();
    117    $response->body(
    118        str_replace(
    

Prior Contents (show)