Notice!

Fuel\Core\PhpErrorException [ Notice ]:
Undefined offset: 0

APPPATH/classes/view/images/authors.php @ line 11

 6    {
 7        $this->authors DB::select('author')->from('images')->distinct(true)->where('author','!=','')->order_by('author','asc')->execute()->as_array(null,'author');
 8
 9        $group_path_names = Array( 'Super Admins' => 'admin''Moderators' => 'moderator''Guests' => '' );
10        $group_name Auth::group()->get_name();
11        $user_path $group_path_names$group_name ];
12
13        $this->_view->set_safe('user_path',empty($user_path)?'':'/'.$user_path);
14    }
15}

Backtrace

  1. COREPATH/bootstrap.php @ line 112
    107        include COREPATH.'classes/errorhandler.php';
    108        class_alias('\Fuel\Core\Errorhandler''Errorhandler');
    109        class_alias('\Fuel\Core\PhpErrorException''PhpErrorException');
    110    }
    111
    112    return \Errorhandler::error_handler($severity$message$filepath$line);
    113});
    114
    115function setup_autoloader()
    116{
    117    \Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. APPPATH/classes/view/images/authors.php @ line 11
     6    {
     7        $this->authors DB::select('author')->from('images')->distinct(true)->where('author','!=','')->order_by('author','asc')->execute()->as_array(null,'author');
     8
     9        $group_path_names = Array( 'Super Admins' => 'admin''Moderators' => 'moderator''Guests' => '' );
    10        $group_name Auth::group()->get_name();
    11        $user_path $group_path_names$group_name ];
    12
    13        $this->_view->set_safe('user_path',empty($user_path)?'':'/'.$user_path);
    14    }
    15}
    
  3. COREPATH/classes/presenter.php @ line 332
    327            $current_request = \Request::active();
    328            \Request::active($this->_active_request);
    329        }
    330
    331        $this->before();
    332        $this->{$this->_method}();
    333        $this->after();
    334
    335        $return $this->_view->render();
    336
    337        if (class_exists('Request'false))
    
  4. COREPATH/classes/presenter.php @ line 352
    347     */
    348    public function __toString()
    349    {
    350        try
    351        {
    352            return $this->render();
    353        }
    354        catch (\Exception $e)
    355        {
    356            \Errorhandler::exception_handler($e);
    357
    
  5. APPPATH/views/template.php @ line 38
    33                    </p>
    34                </div>
    35<?php endif; ?>
    36            </div>
    37            <div class="span16">
    38<?php echo $content?>
    39            </div>
    40        </div>
    41        <footer>
    42            <class="pull-right">Page rendered in {exec_time}s using {mem_usage}mb of memory.</p>
    43            <p>
    
  6. COREPATH/classes/view.php @ line 258
    253            ob_start();
    254
    255            try
    256            {
    257                // Load the view within the current scope
    258                include $__file_name;
    259            }
    260            catch (\Exception $e)
    261            {
    262                // Delete the output buffer
    263                ob_end_clean();
    
  7. COREPATH/classes/view.php @ line 274
    269            // Get the captured output and close the buffer
    270            return ob_get_clean();
    271        };
    272
    273        // import and process the view file
    274        $result $clean_room($file_override ?: $this->file_name$data $this->get_data());
    275
    276        // disable sanitization on objects that support it
    277        $this->unsanitize($data);
    278
    279        // return the result
    
  8. COREPATH/classes/view.php @ line 680
    675        {
    676            throw new \FuelException('You must set the file to use within your view before rendering');
    677        }
    678
    679        // combine local and global data and capture the output
    680        $return $this->process_file();
    681
    682        // restore the current language setting
    683        $this->active_language and \Config::set('language'$current_language);
    684
    685        // and the active request class
    
  9. COREPATH/classes/view.php @ line 227
    222     */
    223    public function __toString()
    224    {
    225        try
    226        {
    227            return $this->render();
    228        }
    229        catch (\Exception $e)
    230        {
    231            \Errorhandler::exception_handler($e);
    232
    
  10. COREPATH/classes/response.php @ line 382
    377     *
    378     * @return  string
    379     */
    380    public function __toString()
    381    {
    382        return (string) $this->body;
    383    }
    384}
    
  11. DOCROOT/index.php @ line 117
    112    $response $routerequest('_500_'$e);
    113}
    114
    115// This will add the execution time and memory usage to the output.
    116// Comment this out if you don't use it.
    117$response->body((string) $response);
    118if (strpos($response->body(), '{exec_time}') !== false or strpos($response->body(), '{mem_usage}') !== false)
    119{
    120    $bm Profiler::app_total();
    121    $response->body(
    122        str_replace(
    

Prior Contents (show)